wok-next diff rawstudio/receipt @ rev 21432

updated rawstudio (1.2 -> 2.0)
author Hans-G?nter Theisgen
date Tue May 05 09:38:29 2020 +0100 (2020-05-05)
parents 29128929e4f9
children
line diff
     1.1 --- a/rawstudio/receipt	Fri Jan 25 15:37:19 2019 +0200
     1.2 +++ b/rawstudio/receipt	Tue May 05 09:38:29 2020 +0100
     1.3 @@ -1,38 +1,41 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="rawstudio"
     1.7 -VERSION="1.2"
     1.8 +VERSION="2.0"
     1.9  CATEGORY="graphics"
    1.10  SHORT_DESC="An open source raw-image converter written in GTK+"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="https://rawstudio.org/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="http://rawstudio.org/files/release/$TARBALL"
    1.18  
    1.19 -DEPENDS="desktop-file-utils dbus exiv2 gconf gtk2 liblcms jpeg libjpeg libtiff libxml2"
    1.20 -BUILD_DEPENDS="exiv2-dev gconf-dev gtk2-dev dbus-dev lcms-dev jpeg-dev tiff-dev libxml2-dev"
    1.21 +DEPENDS="dbus desktop-file-utils exiv2 gconf gtk2 jpeg libjpeg liblcms libtiff libxml2"
    1.22 +BUILD_DEPENDS="dbus-dev exiv2-dev gconf-dev gtk2-dev jpeg-dev lcms-dev libxml2-dev tiff-dev"
    1.23  
    1.24 -compile_rules() {
    1.25 +compile_rules()
    1.26 +{
    1.27  	export CXXFLAGS="-Wno-narrowing"
    1.28  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
    1.29  	export PKG_CONFIG_PATH="/usr/lib/pkgconfig"
    1.30  
    1.31 -	./configure \
    1.32 -		--prefix=/usr \
    1.33 -		--infodir=/usr/share/info \
    1.34 -		--mandir=/usr/share/man \
    1.35 +	./configure				\
    1.36 +		--prefix=/usr			\
    1.37 +		--infodir=/usr/share/info	\
    1.38 +		--mandir=/usr/share/man		\
    1.39  		$CONFIGURE_ARGS &&
    1.40  	make &&
    1.41  	make DESTDIR=$install install
    1.42  }
    1.43  
    1.44 -genpkg_rules() {
    1.45 +genpkg_rules()
    1.46 +{
    1.47  	mkdir -p $fs/usr/share
    1.48 -	cp -a $install/usr/bin $fs/usr
    1.49 -	cp -a $install/usr/share/applications $fs/usr/share
    1.50 -	cp -a $install/usr/share/icons $fs/usr/share
    1.51 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.52 -	cp -a $install/usr/share/rawstudio $fs/usr/share
    1.53 +
    1.54 +	cp -a $install/usr/bin			$fs/usr
    1.55 +	cp -a $install/usr/share/applications	$fs/usr/share
    1.56 +	cp -a $install/usr/share/icons		$fs/usr/share
    1.57 +	cp -a $install/usr/share/pixmaps	$fs/usr/share
    1.58 +	cp -a $install/usr/share/rawstudio	$fs/usr/share
    1.59  }