mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
73 lines
2.1 KiB
Bash
73 lines
2.1 KiB
Bash
|
# Contributor: graysky <graysky AT archlinux DOT us>
|
||
|
# Contributor: Maxime Gauduin <alucryd@archlinux.org>
|
||
|
# Contributor: Ionut Biru <ibiru@archlinux.org>
|
||
|
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
||
|
# Contributor: Andrew Cook <ariscop@gmail.com>
|
||
|
|
||
|
buildarch=20
|
||
|
|
||
|
pkgname=libbluray-kodi-rbp
|
||
|
pkgver=1.0.2
|
||
|
pkgrel=1
|
||
|
pkgdesc='Library to access Blu-Ray disks for video playback patched for kodi-rbp enhancements'
|
||
|
arch=('armv7h' 'armv6h')
|
||
|
url='http://www.videolan.org/developers/libbluray.html'
|
||
|
license=('LGPL2.1')
|
||
|
depends=('fontconfig' 'libxml2' 'libfreetype.so')
|
||
|
makedepends=('apache-ant' 'java-environment=8')
|
||
|
optdepends=('java-runtime=8: BD-J library')
|
||
|
provides=('libbluray.so' 'libbluray')
|
||
|
conflicts=('libbluray')
|
||
|
_path="raw.githubusercontent.com/LibreELEC/LibreELEC.tv/master/packages/multimedia/libbluray/patches"
|
||
|
source=("https://download.videolan.org/pub/videolan/libbluray/${pkgver}/libbluray-${pkgver}.tar.bz2"
|
||
|
https://$_path/libbluray-01-bump_to_Nevcairiel_vL20170904.patch
|
||
|
https://$_path/libbluray-02-install-extra-MVC-headers.patch
|
||
|
)
|
||
|
sha256sums=('6d9e7c4e416f664c330d9fa5a05ad79a3fb39b95adfc3fd6910cbed503b7aeff'
|
||
|
'af1a9e416655929db6835d1d5342cf7f61b6f9966e7fe13f0cabfdb586160e62'
|
||
|
'8d98f2387b3ffa3bca9addcf35b0fe268e9731f8eac5480d397e741263cca61b')
|
||
|
|
||
|
prepare() {
|
||
|
cd libbluray-${pkgver}
|
||
|
patch -Np1 -i ../libbluray-01-bump_to_Nevcairiel_vL20170904.patch
|
||
|
patch -Np1 -i ../libbluray-02-install-extra-MVC-headers.patch
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd libbluray-${pkgver}
|
||
|
|
||
|
autoreconf -fiv
|
||
|
|
||
|
./configure \
|
||
|
--prefix=/usr \
|
||
|
--disable-werror \
|
||
|
--disable-extra-warnings \
|
||
|
--disable-optimizations \
|
||
|
--disable-examples \
|
||
|
--disable-bdjava-jar \
|
||
|
--disable-doxygen-doc \
|
||
|
--disable-doxygen-dot \
|
||
|
--disable-doxygen-man \
|
||
|
--disable-doxygen-rtf \
|
||
|
--disable-doxygen-xml \
|
||
|
--disable-doxygen-chm \
|
||
|
--disable-doxygen-chi \
|
||
|
--disable-doxygen-html \
|
||
|
--disable-doxygen-ps \
|
||
|
--disable-doxygen-pdf \
|
||
|
--with-freetype \
|
||
|
--with-fontconfig \
|
||
|
--with-libxml2 \
|
||
|
--with-gnu-ld
|
||
|
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd libbluray-${pkgver}
|
||
|
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
}
|
||
|
|
||
|
# vim: ts=2 sw=2 et:
|