summaryrefslogtreecommitdiff
path: root/user/openjpeg/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-06 00:44:14 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-06 00:54:39 +0000
commit871ad3508b122dea18c12864f4218f7d3f711b53 (patch)
tree613170f36898016a7c1827add85a6d55e66c72f0 /user/openjpeg/APKBUILD
parent6f5b1ce73cb5bea8b35e1926851f7e298ead6320 (diff)
downloadpackages-871ad3508b122dea18c12864f4218f7d3f711b53.tar.gz
packages-871ad3508b122dea18c12864f4218f7d3f711b53.tar.bz2
packages-871ad3508b122dea18c12864f4218f7d3f711b53.tar.xz
packages-871ad3508b122dea18c12864f4218f7d3f711b53.zip
user/openjpeg: fix building against OpenJPEG
- CMake files require -tools now - CMake relative path was broken because we put it in /usr/lib/cmake/ instead of /usr/lib/
Diffstat (limited to 'user/openjpeg/APKBUILD')
-rw-r--r--user/openjpeg/APKBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/user/openjpeg/APKBUILD b/user/openjpeg/APKBUILD
index e73ac3911..3b4c6dc49 100644
--- a/user/openjpeg/APKBUILD
+++ b/user/openjpeg/APKBUILD
@@ -2,15 +2,18 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=openjpeg
pkgver=2.3.0
-pkgrel=0
+pkgrel=1
pkgdesc="Open-source implementation of JPEG 2000 image codec"
url="http://www.openjpeg.org/"
arch="all"
options="!check" # No test suite.
license="BSD-2-Clause-NetBSD"
+depends_dev="$pkgname-tools"
makedepends="libpng-dev tiff-dev lcms2-dev doxygen cmake"
subpackages="$pkgname-dev $pkgname-tools"
-source="$pkgname-$pkgver.tar.gz::https://github.com/uclouvain/openjpeg/archive/v$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/uclouvain/openjpeg/archive/v$pkgver.tar.gz
+ fix-include-path.patch
+ "
build() {
cd "$builddir"
@@ -48,4 +51,5 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
-sha512sums="0a9d427be4a820b1d759fca4b50e293721b45fe4885aa61ca1ae09e099f75ed93520448090c780d62f51076d575cc03618cd6d5181bdb6b34e4fc07b4cfdd568 openjpeg-2.3.0.tar.gz"
+sha512sums="0a9d427be4a820b1d759fca4b50e293721b45fe4885aa61ca1ae09e099f75ed93520448090c780d62f51076d575cc03618cd6d5181bdb6b34e4fc07b4cfdd568 openjpeg-2.3.0.tar.gz
+354fb181a25eeabe231d28216bcb8e401648cf8e71ba476cabd25e297f46bbc1ea5b091b4d2d4450501422b8b20649bf109ff5b3f3b49f1492650dbb46ed6e22 fix-include-path.patch"