pkgname=mingw-w64-gdk-pixbuf2 pkgver=2.30.0 pkgrel=1 pkgdesc="An image loading library (mingw-w64)" arch=(any) url="http://www.gtk.org" license=("GPL2") makedepends=(mingw-w64-gcc mingw-w64-pkg-config) depends=(mingw-w64-crt 'mingw-w64-glib2>=2.37.2' mingw-w64-jasper mingw-w64-libpng mingw-w64-libjpeg-turbo mingw-w64-libtiff) options=(!libtool !strip !buildflags) source=("http://download.gnome.org/sources/gdk-pixbuf/${pkgver%.*}/gdk-pixbuf-$pkgver.tar.xz") md5sums=('d1e32c91597f8f2fa6ead4201216dd05') _architectures="i686-w64-mingw32 x86_64-w64-mingw32" build() { for _arch in ${_architectures}; do unset LDFLAGS export CFLAGS="-O2 -pipe -mms-bitfields" export CXXFLAGS="${CFLAGS}" export CXX=$_arch-g++ mkdir -p "${srcdir}/${pkgname}-${pkgver}-build-${_arch}" cd "${srcdir}/${pkgname}-${pkgver}-build-${_arch}" ${srcdir}/gdk-pixbuf-${pkgver}/configure \ --prefix=/usr/${_arch} \ --build=$CHOST \ --host=${_arch} \ --with-included-loaders=wbmp,png,pnm,ras,ani,xpm,xbm,tga,icns,pcx,qtif,gdip-ico,gdip-wmf,gdip-emf,gdip-bmp,gdip-gif,gdip-jpeg,gdip-tiff make || true # Suppress the building of some test program because it use some # POSIX functions which are not available on MinGW touch "${srcdir}/${pkgname}-${pkgver}-build-${_arch}/tests/pixbuf-randomly-modified.o" touch "${srcdir}/${pkgname}-${pkgver}-build-${_arch}/tests/pixbuf-randomly-modified.exe" make done } package() { for _arch in ${_architectures}; do cd "${srcdir}/${pkgname}-${pkgver}-build-${_arch}" make DESTDIR="$pkgdir" install find "$pkgdir/usr/${_arch}" -name '*.exe' -o -name '*.bat' -o -name '*.def' -o -name '*.exp' | xargs -rtl1 rm find "$pkgdir/usr/${_arch}" -name '*.dll' | xargs -rtl1 ${_arch}-strip -x find "$pkgdir/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs -rtl1 ${_arch}-strip -g rm -r "$pkgdir/usr/${_arch}/share" done } ion> FreeBSD Ports (https://github.com/freebsd/freebsd-ports)
aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/rubygem-gtk2
Commit message (Expand)AuthorAgeFilesLines
* Update to 3.2.1Sunpoet Po-Chuan Hsieh2017-11-222-4/+4
* Update to 3.2.0Sunpoet Po-Chuan Hsieh2017-11-102-4/+4
* Update to 3.1.9Sunpoet Po-Chuan Hsieh2017-10-202-4/+4
* Update to 3.1.8Sunpoet Po-Chuan Hsieh2017-07-163-5/+5
* Update to 3.1.7Sunpoet Po-Chuan Hsieh2017-07-152-4/+4
* Update to 3.1.6Sunpoet Po-Chuan Hsieh2017-07-092-4/+4
* Update to 3.1.4Sunpoet Po-Chuan Hsieh2017-05-312-4/+4
* Update to 3.1.3Sunpoet Po-Chuan Hsieh2017-04-293-8/+8
* x11/rubygem-gnome2: update to 3.1.1Steve Wills2017-03-112-4/+4
* x11/rubygem-gnome2: update to 3.1.0Steve Wills2017-01-022-3/+4
* Convert USES=gem:autoplist to USES=gem since autoplist is defaultSteve Wills2016-04-281-1/+1
* create USES=gem and update rubygem- ports to use itSteve Wills2016-04-281-2/+1
* - Update to 3.0.8Sunpoet Po-Chuan Hsieh2016-04-122-4/+3
* Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.Mathieu Arnold2016-04-011-3/+3
* Remove source and intermediate build output from intalled rubygem- portsSteve Wills2016-02-022-0/+12
* - Update to 3.0.7Sunpoet Po-Chuan Hsieh2016-01-172-5/+4
* - Update to 2.2.5Sunpoet Po-Chuan Hsieh2015-05-042-3/+6
* x11/rubygem-gnome2: update to 2.2.3Steve Wills2014-11-12