summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/openexr-libre/PKGBUILD55
1 files changed, 31 insertions, 24 deletions
diff --git a/libre/openexr-libre/PKGBUILD b/libre/openexr-libre/PKGBUILD
index dfc8a8a19..5423862e3 100644
--- a/libre/openexr-libre/PKGBUILD
+++ b/libre/openexr-libre/PKGBUILD
@@ -1,46 +1,53 @@
-# $Id: PKGBUILD 198354 2013-10-30 14:21:29Z allan $
+# $Id: PKGBUILD 212797 2014-05-15 10:44:29Z tpowa $
# Maintainer (Arch): Tobias Powalowski <tpowa@archlinux.org>
# Maintainer: André Silva <emulatorman@parabola.nu>
_pkgname=openexr
pkgname=openexr-libre
-pkgver=2.0.1
-pkgrel=2
+pkgver=2.1.0
+pkgrel=1
pkgdesc="An high dynamic-range image file format library, without embedded nonfree fonts in the documentation"
url="http://www.openexr.com/"
arch=('i686' 'x86_64' 'mips64el')
license=('BSD')
depends=('zlib' 'ilmbase')
-makedepends=('libcups' 'libxinerama')
-[ "$CARCH" != "mips64el" ] && makedepends+=('libreoffice-writer' 'jre7-openjdk-headless')
+[ "$CARCH" != "mips64el" ] && makedepends=('jre7-openjdk-headless' 'libcups' 'libreoffice-writer' 'libxinerama')
replaces=($_pkgname)
conflicts=($_pkgname)
provides=($_pkgname=$pkgver)
mksource=("http://download.savannah.nongnu.org/releases/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
- "https://repo.parabolagnulinux.org/other/${pkgname}/MultiViewOpenEXR.odt"
- "https://repo.parabolagnulinux.org/other/${pkgname}/OpenEXRFileLayout.odt"
- "https://repo.parabolagnulinux.org/other/${pkgname}/ReadingAndWritingImageFiles.odt"
- "https://repo.parabolagnulinux.org/other/${pkgname}/TechnicalIntroduction.odt")
+ "https://github.com/${_pkgname}/${_pkgname}/raw/master/OpenEXR/doc/InterpretingDeepPixels.docx"
+ "https://github.com/${_pkgname}/${_pkgname}/raw/master/OpenEXR/doc/MultiViewOpenEXR.odt"
+ "https://github.com/${_pkgname}/${_pkgname}/raw/master/OpenEXR/doc/OpenEXRFileLayout.odt"
+ "https://github.com/${_pkgname}/${_pkgname}/raw/master/OpenEXR/doc/ReadingAndWritingImageFiles.odt"
+ "https://github.com/${_pkgname}/${_pkgname}/raw/master/OpenEXR/doc/TechnicalIntroduction.odt")
source=("https://repo.parabolagnulinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-noextract=(MultiViewOpenEXR.odt OpenEXRFileLayout.odt ReadingAndWritingImageFiles.odt TechnicalIntroduction.odt)
+noextract=(InterpretingDeepPixels.docx MultiViewOpenEXR.odt OpenEXRFileLayout.odt ReadingAndWritingImageFiles.odt TechnicalIntroduction.odt)
mksource() {
cd "${srcdir}/${_pkgname}-${pkgver}"
# remove documentation with embedded nonfree fonts
- rm -rv "doc/"{MultiViewOpenEXR,OpenEXRFileLayout,ReadingAndWritingImageFiles,TechnicalIntroduction}.pdf
+ rm -rv "doc/"{InterpretingDeepPixels,MultiViewOpenEXR,OpenEXRFileLayout,ReadingAndWritingImageFiles,TechnicalIntroduction,TheoryDeepPixels}.pdf
- # add source documentation with free fonts
- install -m644 -v "${srcdir}/"{MultiViewOpenEXR,OpenEXRFileLayout,ReadingAndWritingImageFiles,TechnicalIntroduction}.odt doc
+ # add source documentation
+ install -m644 -v "${srcdir}/"{InterpretingDeepPixels.docx,{MultiViewOpenEXR,OpenEXRFileLayout,ReadingAndWritingImageFiles,TechnicalIntroduction}.odt} doc
- # convert documentation from odt to pdf format and clean source code
+ # convert source documentation to pdf format and clean source code
if [ "$CARCH" != "mips64el" ]; then
cd doc
- libreoffice --headless --invisible --convert-to pdf {MultiViewOpenEXR,OpenEXRFileLayout,ReadingAndWritingImageFiles,TechnicalIntroduction}.odt
- rm -rv "${srcdir}/"{Configurations2,META-INF,ObjBFFFDCA{1,3,4,5,7},Object\ 1,ObjectReplacements,Pictures,Thumbnails}
+ libreoffice --headless --invisible --convert-to pdf {InterpretingDeepPixels.docx,{MultiViewOpenEXR,OpenEXRFileLayout,ReadingAndWritingImageFiles,TechnicalIntroduction}.odt}
+ rm -rv "${srcdir}/"{_rels,Configurations2,customXml,docProps,META-INF,ObjBFFFDCA{1,3,4,5,7},Object\ 1,ObjectReplacements,Pictures,Thumbnails,word}
fi
}
+prepare() {
+ # remove TheoryDeepPixels.pdf reference
+ sed -i '\|TheoryDeepPixels[.]pdf|d
+ \|InterpretingDeepPixels[.]pdf| s| [\]||
+ ' "${srcdir}/${_pkgname}-${pkgver}/doc/Makefile."{am,in}
+}
+
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
./configure --prefix=/usr
@@ -51,12 +58,12 @@ package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
-
- install -m644 "doc/"{MultiViewOpenEXR,OpenEXRFileLayout,ReadingAndWritingImageFiles,TechnicalIntroduction}.odt "${pkgdir}/usr/share/doc/OpenEXR-${pkgver}"
+ install -m644 "doc/"{InterpretingDeepPixels.docx,{MultiViewOpenEXR,OpenEXRFileLayout,ReadingAndWritingImageFiles,TechnicalIntroduction}.odt} "${pkgdir}/usr/share/doc/OpenEXR-${pkgver}"
}
-mkmd5sums=('4387e6050d2faa65dd5215618ff2ddce'
- '69f117d3c91827e5de47f1e00137a4cc'
- '4d5ffa31f9af63bd5c621c6cbac6c673'
- 'de099240193d8a51086dfae914fff3cf'
- 'ece8bf90d438b89c6bd9fe4a89cc318a')
-md5sums=('13e8ec945aa651a7a7f6aad133941866')
+mkmd5sums=('33735d37d2ee01c6d8fbd0df94fb8b43'
+ 'a59a8516d9dbb76755cb258d18cf4e72'
+ '0b0b41269d6a3ee1a7090067cc89895f'
+ '6889a150ab9f2f35fbc9835373dd3c34'
+ 'ef6912faf2ab7516678bd0fa56b832f8'
+ '232a6be90fd36ce49e213492a60d335d')
+md5sums=('97613563c17dc3a1aa3359e05b7b37da')