[arch-commits] Commit in freeimage/repos (4 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Wed Apr 1 08:21:45 UTC 2015
Date: Wednesday, April 1, 2015 @ 10:21:44
Author: svenstaro
Revision: 130466
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
freeimage/repos/community-testing-i686/
freeimage/repos/community-testing-i686/PKGBUILD
(from rev 130465, freeimage/trunk/PKGBUILD)
freeimage/repos/community-testing-x86_64/
freeimage/repos/community-testing-x86_64/PKGBUILD
(from rev 130465, freeimage/trunk/PKGBUILD)
-----------------------------------+
community-testing-i686/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++
2 files changed, 80 insertions(+)
Copied: freeimage/repos/community-testing-i686/PKGBUILD (from rev 130465, freeimage/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-04-01 08:21:44 UTC (rev 130466)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Mihai Militaru <mihai.militaru at gmx.com>
+# Contributor: scippio <scippio at berounet.cz>
+
+pkgname=freeimage
+pkgver=3.17.0
+pkgrel=1
+pkgdesc="Library project for developers who would like to support popular graphics image formats"
+arch=('i686' 'x86_64')
+license=('GPL' 'custom:FIPL')
+url="http://freeimage.sourceforge.net/"
+depends=('gcc-libs')
+makedepends=('dos2unix')
+source=("http://downloads.sourceforge.net/project/freeimage/Source%20Distribution/${pkgver}/FreeImage${pkgver//./}.zip")
+md5sums=('459e15f0ec75d6efa3c7bd63277ead86')
+
+build() {
+ cp -r FreeImage FreeImagefip
+
+ export CFLAGS+=" -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS"
+ export CXXFLAGS+=" -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy"
+
+ cd FreeImage
+ make
+
+ cd ${srcdir}/FreeImagefip
+ make -f Makefile.fip
+}
+
+package() {
+ cd FreeImage
+ make DESTDIR=${pkgdir} install
+
+ cd ${srcdir}/FreeImagefip
+ make -f Makefile.fip DESTDIR=${pkgdir} install
+
+ install -D -m644 ${srcdir}/FreeImage/license-fi.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
Copied: freeimage/repos/community-testing-x86_64/PKGBUILD (from rev 130465, freeimage/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2015-04-01 08:21:44 UTC (rev 130466)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Mihai Militaru <mihai.militaru at gmx.com>
+# Contributor: scippio <scippio at berounet.cz>
+
+pkgname=freeimage
+pkgver=3.17.0
+pkgrel=1
+pkgdesc="Library project for developers who would like to support popular graphics image formats"
+arch=('i686' 'x86_64')
+license=('GPL' 'custom:FIPL')
+url="http://freeimage.sourceforge.net/"
+depends=('gcc-libs')
+makedepends=('dos2unix')
+source=("http://downloads.sourceforge.net/project/freeimage/Source%20Distribution/${pkgver}/FreeImage${pkgver//./}.zip")
+md5sums=('459e15f0ec75d6efa3c7bd63277ead86')
+
+build() {
+ cp -r FreeImage FreeImagefip
+
+ export CFLAGS+=" -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS"
+ export CXXFLAGS+=" -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy"
+
+ cd FreeImage
+ make
+
+ cd ${srcdir}/FreeImagefip
+ make -f Makefile.fip
+}
+
+package() {
+ cd FreeImage
+ make DESTDIR=${pkgdir} install
+
+ cd ${srcdir}/FreeImagefip
+ make -f Makefile.fip DESTDIR=${pkgdir} install
+
+ install -D -m644 ${srcdir}/FreeImage/license-fi.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list