imlib2: update to 1.4.6.

This commit is contained in:
Juan RP 2014-01-29 11:30:19 +01:00
parent 88eb6cf845
commit c0e26d2ce9

View file

@ -1,37 +1,31 @@
# Template build file for 'imlib2'.
pkgname=imlib2
version=1.4.5
revision=6
version=1.4.6
revision=1
build_style=gnu-configure
configure_args="--disable-static --sysconfdir=/etc/imlib2
--enable-visibility-hiding"
hostmakedepends="pkg-config"
configure_args="--disable-static --sysconfdir=/etc/imlib2 --enable-visibility-hiding"
hostmakedepends="libtool pkg-config"
makedepends="freetype-devel libjpeg-turbo-devel libpng-devel>=1.6
tiff-devel libid3tag-devel giflib-devel>=5.0.1 libXext-devel"
tiff-devel libid3tag-devel giflib-devel>=5.0.1 libXext-devel libSM-devel"
short_desc="Image manipulation library"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${SOURCEFORGE_SITE}/enlightenment/imlib2-$version.tar.gz"
homepage="http://sourceforge.net/projects/enlightenment/"
license="BSD"
checksum=6e809413a571f82b9e67aeaf5577a1245a034c866ae5fa83c191a227f60cc7a0
checksum=17cc128c0e61974d59c423b59d0fb5cb85c97169adf5b05184cc58f7c87b4f4e
if [ "$CROSS_BUILD" ]; then
# XXX needs freetype-config
hostmakedepends+=" automake libtool freetype-devel"
pre_configure() {
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
sed -e 's,AM_PROG_CC_STDC,AC_PROG_CC,g' -i configure.ac
autoreconf -fi
}
fi
pre_configure() {
libtoolize -f
}
imlib2-devel_package() {
depends="imlib2-${version}_${revision}"
depends="imlib2>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}