wok annotate ufraw/receipt @ rev 22888

updated gstreamer-1.0 and gstreamer-1.0-dev (1.10.1 -> 1.16.2)
author Hans-G?nter Theisgen
date Sat Feb 22 17:40:37 2020 +0100 (2020-02-22)
parents ada6eb908283
children 4bae0fb81a17
rev   line source
gokhlayeh@5872 1 # SliTaz package receipt.
gokhlayeh@5872 2
gokhlayeh@5872 3 PACKAGE="ufraw"
pascal@21160 4 VERSION="0.22"
gokhlayeh@5872 5 CATEGORY="graphics"
gokhlayeh@5872 6 SHORT_DESC="Utility to read and manipulate raw images from digital cameras."
pankso@12741 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
gokhlayeh@5872 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@12741 10 WEB_SITE="http://ufraw.sourceforge.net/"
pankso@12741 11 WGET_URL="$SF_MIRROR/project/ufraw/ufraw/ufraw-$VERSION/$TARBALL"
pankso@12741 12 SUGGESTED="ufraw-locales gimp-plugin-ufraw"
pankso@12741 13
pascal@21167 14 DEPENDS="gtk+ exiv2 lcms tiff libgtkimageview libgomp bzip2 lcms2"
pankso@12741 15 BUILD_DEPENDS="gimp gimp-dev lcms-dev tiff-dev exiv2-dev gtk+-dev \
pascal@21167 16 libgtkimageview-dev bzip2-dev lcms2-dev"
gokhlayeh@5872 17
gokhlayeh@5872 18 # Rules to configure and make the package.
gokhlayeh@5872 19 compile_rules()
gokhlayeh@5872 20 {
pascal@21160 21 sed -i 's|.*Exiv2::Error(1.*|//#if EXIV2_TEST_VERSION(0,27,0)\
pascal@21160 22 throw Exiv2::Error(Exiv2::kerErrorMessage, error);\
pascal@21160 23 //#else\n//&\n//#endif|' ufraw_exiv2.cc
pascal@21160 24 sed -i -e 's|return TRUE|return boolean(TRUE)|' \
pascal@21160 25 -e 's|\(jpeg_.*\)TRUE|\1boolean(TRUE)|' dcraw.cc
gokhlayeh@5872 26 ./configure \
gokhlayeh@5872 27 $CONFIGURE_ARGS &&
pankso@12741 28 make && make install
gokhlayeh@5872 29 }
gokhlayeh@5872 30
gokhlayeh@5872 31 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@5872 32 genpkg_rules()
gokhlayeh@5872 33 {
gokhlayeh@5872 34 mkdir -p $fs/usr/share/applications
pankso@12741 35 cp -a $install/usr/bin $fs/usr
gokhlayeh@5872 36 cp -a $src/ufraw.desktop $fs/usr/share/applications
gokhlayeh@5872 37 }