libbluray: enable building bdjava
This commit is contained in:
parent
73aca8daf9
commit
fb178ae38f
1 changed files with 11 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'libbluray'
|
# Template file for 'libbluray'
|
||||||
pkgname=libbluray
|
pkgname=libbluray
|
||||||
version=1.2.0
|
version=1.2.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --disable-optimizations --disable-bdjava-jar"
|
configure_args="--disable-static --disable-optimizations"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config apache-ant openjdk8"
|
||||||
makedepends="libxml2-devel fontconfig-devel"
|
makedepends="libxml2-devel fontconfig-devel"
|
||||||
short_desc="Library to access Blu-Ray disks for video playback"
|
short_desc="Library to access Blu-Ray disks for video playback"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
@ -13,6 +13,14 @@ homepage="https://www.videolan.org/developers/libbluray.html"
|
||||||
distfiles="https://download.videolan.org/pub/videolan/libbluray/${version}/libbluray-${version}.tar.bz2"
|
distfiles="https://download.videolan.org/pub/videolan/libbluray/${version}/libbluray-${version}.tar.bz2"
|
||||||
checksum=cd41ea06fd2512a77ebf63872873641908ef81ce2fe4e4c842f6035a47696c11
|
checksum=cd41ea06fd2512a77ebf63872873641908ef81ce2fe4e4c842f6035a47696c11
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
export JAVA_HOME="/usr/lib/jvm/java-1.8-openjdk"
|
||||||
|
}
|
||||||
|
|
||||||
|
pre_install() {
|
||||||
|
export JAVA_HOME="/usr/lib/jvm/java-1.8-openjdk"
|
||||||
|
}
|
||||||
|
|
||||||
libbluray-devel_package() {
|
libbluray-devel_package() {
|
||||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Reference in a new issue