summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-31 01:18:53 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-31 01:18:53 -0500
commit118ca90c3d1a1d3cd5d873ef1aec3a7675c4a09c (patch)
treea60b4f181428ba0bc522c16a687ad4186c237957 /legacy
parent6f60664e8dd64ead7238452a515b1fa914e80793 (diff)
downloadpackages-118ca90c3d1a1d3cd5d873ef1aec3a7675c4a09c.tar.gz
packages-118ca90c3d1a1d3cd5d873ef1aec3a7675c4a09c.tar.bz2
packages-118ca90c3d1a1d3cd5d873ef1aec3a7675c4a09c.tar.xz
packages-118ca90c3d1a1d3cd5d873ef1aec3a7675c4a09c.zip
Move OpenEXR and IlmBase to legacy/
Diffstat (limited to 'legacy')
-rw-r--r--legacy/ilmbase/APKBUILD36
-rw-r--r--legacy/openexr/APKBUILD48
2 files changed, 84 insertions, 0 deletions
diff --git a/legacy/ilmbase/APKBUILD b/legacy/ilmbase/APKBUILD
new file mode 100644
index 000000000..d09071080
--- /dev/null
+++ b/legacy/ilmbase/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer:
+pkgname=ilmbase
+pkgver=2.2.1
+pkgrel=0
+pkgdesc="Base libraries from ILM for OpenEXR"
+url="http://www.openexr.com"
+arch="all"
+license="BSD-3-Clause"
+makedepends="bash linux-headers"
+subpackages="$pkgname-dev"
+source="https://download.savannah.nongnu.org/releases/openexr/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ [ "$CARCH" != x86 ] || return 0
+ cd "$builddir"
+ make check
+}
+package() {
+ make DESTDIR="$pkgdir" \
+ -C "$builddir" install
+}
+
+sha512sums="a08ddd9069b34a93612445a445a2ddf80c0e22349bcf221a3cc6e9f5575180b08a8b597009dacabf072360e7162e15964988bc79e8ec82cf3da6507148a75320 ilmbase-2.2.1.tar.gz"
diff --git a/legacy/openexr/APKBUILD b/legacy/openexr/APKBUILD
new file mode 100644
index 000000000..9ed94b688
--- /dev/null
+++ b/legacy/openexr/APKBUILD
@@ -0,0 +1,48 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer:
+pkgname=openexr
+pkgver=2.2.1
+pkgrel=1
+pkgdesc="High-dynamic-range image file format and library"
+url="http://www.openexr.com/"
+arch="all"
+options="!check" # fails during TestSharedFrameBuffer:
+# channels RGBA, compression 8, writing reading comparing
+# Assertion failed: relError < .1 (compareDwa.cpp: compareDwa: 122)
+license="BSD-3-Clause"
+depends=""
+makedepends="ilmbase-dev zlib-dev"
+subpackages="$pkgname-doc $pkgname-dev $pkgname-tools"
+source="https://download.savannah.nongnu.org/releases/openexr/${pkgname}-${pkgver}.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-static
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+tools() {
+ pkgdesc="Tools for OpenEXR, a high-dynamic-range image file format"
+ cd "$builddir"
+ mkdir -p "$subpkgdir"/usr/
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+}
+
+sha512sums="192100c6ac47534f3a93c55327d2ab90b07a8265156855086b326184328c257dcde12991b3f3f1831e2df4226fe884adcfe481c2f02a157c715aee665e89a480 openexr-2.2.1.tar.gz"