From 415dcb60568de644daf85eb97f5f3ba8ff09881f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 6 Jun 2014 14:26:52 +0200 Subject: [PATCH] gegl: cross build support; modernize. --- srcpkgs/gegl/template | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/srcpkgs/gegl/template b/srcpkgs/gegl/template index 0ccc576bb7..324a2b8bb4 100644 --- a/srcpkgs/gegl/template +++ b/srcpkgs/gegl/template @@ -1,25 +1,27 @@ # Template build file for 'gegl'. pkgname=gegl version=0.2.0 -revision=5 +revision=6 build_style=gnu-configure configure_args="--disable-docs --without-sdl --without-libopenraw --without-libavformat --without-graphviz --without-lua --without-libspiro --without-umfpack --with-exiv2 --without-libv4l --disable-introspection" -makedepends="pkg-config intltool libglib-devel libpng-devel>=1.6 - libjpeg-turbo-devel librsvg-devel gtk+-devel babl-devel jasper-devel exiv2-devel" +hostmakedepends="pkg-config intltool" +makedepends="libglib-devel libpng-devel>=1.6 babl-devel jasper-devel + libjpeg-turbo-devel librsvg-devel gtk+-devel exiv2-devel" short_desc="Graph based image processing framework" maintainer="Juan RP " license="GPL-3, LGPL-3" homepage="http://www.gimp.org" -distfiles="ftp://ftp.gimp.org/pub/gegl/0.2/gegl-$version.tar.bz2" +distfiles="http://pkgs.fedoraproject.org/repo/pkgs/gegl/gegl-${version}.tar.bz2/32b00002f1f1e316115c4ed922e1dec8/gegl-${version}.tar.bz2" checksum=df2e6a0d9499afcbc4f9029c18d9d1e0dd5e8710a75e17c9b1d9a6480dd8d426 gegl-devel_package() { - depends="libglib-devel gegl>=$version" + depends="libglib-devel gegl>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig + vmove usr/lib/*.so } }