[arch-commits] Commit in freeimage/repos (4 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Dec 5 15:34:32 UTC 2015


    Date: Saturday, December 5, 2015 @ 16:34:31
  Author: bpiotrowski
Revision: 148490

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  freeimage/repos/community-staging-i686/
  freeimage/repos/community-staging-i686/PKGBUILD
    (from rev 148489, freeimage/trunk/PKGBUILD)
  freeimage/repos/community-staging-x86_64/
  freeimage/repos/community-staging-x86_64/PKGBUILD
    (from rev 148489, freeimage/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   43 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   43 ++++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

Copied: freeimage/repos/community-staging-i686/PKGBUILD (from rev 148489, freeimage/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-05 15:34:31 UTC (rev 148490)
@@ -0,0 +1,43 @@
+# 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=2
+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' 'clang') # Remove clang when this compiles with gcc 5.1
+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"
+
+  export CC="clang"
+  export CXX="clang++"
+
+  cd FreeImage
+  make
+
+  cd ${srcdir}/FreeImagefip
+  CXX=clang++ 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-staging-x86_64/PKGBUILD (from rev 148489, freeimage/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-05 15:34:31 UTC (rev 148490)
@@ -0,0 +1,43 @@
+# 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=2
+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' 'clang') # Remove clang when this compiles with gcc 5.1
+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"
+
+  export CC="clang"
+  export CXX="clang++"
+
+  cd FreeImage
+  make
+
+  cd ${srcdir}/FreeImagefip
+  CXX=clang++ 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