diff --git a/srcpkgs/ufraw-gimp b/srcpkgs/ufraw-gimp new file mode 120000 index 0000000000..967dc902dd --- /dev/null +++ b/srcpkgs/ufraw-gimp @@ -0,0 +1 @@ +ufraw \ No newline at end of file diff --git a/srcpkgs/ufraw/patches/001-no-gimp-remote.patch b/srcpkgs/ufraw/patches/001-no-gimp-remote.patch new file mode 100644 index 0000000000..41036e6240 --- /dev/null +++ b/srcpkgs/ufraw/patches/001-no-gimp-remote.patch @@ -0,0 +1,12 @@ +Don't use gimp-remote since gimp 2.4 already includes gimp-remote functionality +--- ufraw_conf.c ++++ ufraw_conf.c +@@ -137,7 +137,7 @@ + #elif HAVE_GIMP_2_4 + "gimp", /* remoteGimpCommand */ + #else +- "gimp-remote", /* remoteGimpCommand */ ++ "gimp", /* remoteGimpCommand */ + #endif + + /* EXIF data */ diff --git a/srcpkgs/ufraw/template b/srcpkgs/ufraw/template new file mode 100644 index 0000000000..b6ef2247fc --- /dev/null +++ b/srcpkgs/ufraw/template @@ -0,0 +1,27 @@ +# Template file for 'ufraw' +pkgname=ufraw +version=0.22 +revision=1 +build_style=gnu-configure +configure_args="--enable-contrast --enable-mime --enable-openmp --with-gimp + $(vopt_enable extras)" +hostmakedepends="pkg-config dcraw" +makedepends="exiv2-devel gimp-devel glib-devel gtkimageview-devel lcms2-devel lensfun-devel + jasper-devel" +depends="desktop-file-utils" +maintainer="John " +short_desc="Utility to read and manipulate raw images from digital cameras" +homepage="http://ufraw.sourceforge.net/" +license="GPL-2" +distfiles="${SOURCEFORGE_SITE}/ufraw/ufraw/ufraw-${version}/ufraw-${version}.tar.gz" +checksum=f7abd28ce587db2a74b4c54149bd8a2523a7ddc09bedf4f923246ff0ae09a25e + +build_options="extras" + +ufraw-gimp_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - gimp plugin" + pkg_install() { + vmove usr/lib/gimp + } +}