summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJohannes Dewender2016-05-08 18:10:20 +0200
committerJohannes Dewender2016-05-08 18:10:20 +0200
commite10f35d19370702b9b032250424439403b2baa8b (patch)
tree8722d8190c4b7a24fcf95b4d7a4b65d6f65f4a0d /PKGBUILD
parent9e214d9e5ce1681962d72b41a9174d77a6b6970a (diff)
downloadaur-e10f35d19370702b9b032250424439403b2baa8b.tar.gz
add patch for better jdk detection
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9a2eb7e6a99c..e755c040414f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,8 +14,16 @@ depends=("$_pkgbase" 'lib32-fontconfig' 'lib32-glibc' 'lib32-freetype2' 'lib32-l
makedepends=('gcc-multilib' 'apache-ant' 'java-environment')
optdepends=('java-environment: BD-J library')
provides=('libbluray.so')
-source=("ftp://ftp.videolan.org/pub/videolan/$_pkgbase/$pkgver/$_pkgbase-$pkgver.tar.bz2")
-sha512sums=('f7fda2ef4c0ec70eb9a38aed0e76d21d8784410cb13713e7ee66ecd23a1cc58325977b046d40c526554a4a4e4cf96706a233e15451bf34892aff201b47e25aef')
+source=("ftp://ftp.videolan.org/pub/videolan/$_pkgbase/$pkgver/$_pkgbase-$pkgver.tar.bz2"
+'libbluray-jdk8.patch')
+sha512sums=('f7fda2ef4c0ec70eb9a38aed0e76d21d8784410cb13713e7ee66ecd23a1cc58325977b046d40c526554a4a4e4cf96706a233e15451bf34892aff201b47e25aef'
+ 'a984861ad5073bfdafd9980bd5b37146de4896dad6672dfc8f1c5b49bc0a73a5a1f86fbe5fc40aa29848678cafe71e13d2834956e03b92af5dcde33b36b787e7')
+
+prepare() {
+ cd $_pkgbase-$pkgver
+
+ patch -Np1 -i ../libbluray-jdk8.patch
+}
build() {
export CC='gcc -m32'