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