wok-next diff engrampa/receipt @ rev 20450

xcb-util* are obsolete -> xorg-xcb-util*
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 14:24:29 2018 +0200 (2018-02-28)
parents 6fab3264ba87
children 93930f418ffb
line diff
     1.1 --- a/engrampa/receipt	Fri Dec 25 15:23:46 2015 +0200
     1.2 +++ b/engrampa/receipt	Wed Feb 28 14:24:29 2018 +0200
     1.3 @@ -1,45 +1,51 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="engrampa"
     1.8 -VERSION="1.9.0"
     1.9 +VERSION="1.18.2"
    1.10  CATEGORY="utilities"
    1.11 -LICENSE="GPL3"
    1.12 -SHORT_DESC="MATE archive manipulator."
    1.13 +SHORT_DESC="A file archiver for MATE"
    1.14  MAINTAINER="yuripourre@gmail.com"
    1.15 +LICENSE="GPL2"
    1.16 +WEB_SITE="https://github.com/mate-desktop/engrampa"
    1.17 +
    1.18  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.19 -WEB_SITE="http://www.mate-desktop.org/"
    1.20 -WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
    1.21 +WGET_URL="https://github.com/mate-desktop/engrampa/archive/v$VERSION.tar.gz"
    1.22  
    1.23 -DEPENDS="bzip2 caja desktop-file-utils gtk+ gzip libarchive tar"
    1.24 -BUILD_DEPENDS="wget dbus-dev dconf-dev cacerts autoconf automake libtool itstool \
    1.25 -gtk+-dev gtk-doc mate-common-dev mate-desktop-dev yelp-tools"
    1.26 -SUGGESTED="unrar unace p7zip yelp-tools zip"
    1.27 +BUILD_DEPENDS="mate-common yelp-tools gtk+3-dev caja-dev json-glib-dev itstool"
    1.28 +SPLIT="engrampa-dev"
    1.29  
    1.30 -# Rules to configure and make the package.
    1.31 -compile_rules()
    1.32 -{
    1.33 -	./autogen.sh                       \
    1.34 -		--prefix=/usr                  \
    1.35 -		--libexecdir=/usr/lib/$PACKAGE \
    1.36 -		--with-gtk=2.0                 \
    1.37 -		--disable-static               \
    1.38 -		--disable-packagekit           \
    1.39 +compile_rules() {
    1.40 +	./autogen.sh \
    1.41 +		--sysconfdir=/etc \
    1.42 +		--localstatedir=/var \
    1.43 +		\
    1.44 +		--disable-packagekit \
    1.45  		$CONFIGURE_ARGS &&
    1.46  	make &&
    1.47 -	make DESTDIR=$DESTDIR install
    1.48 +	make install
    1.49  }
    1.50  
    1.51 -genpkg_rules()
    1.52 -{
    1.53 -	mkdir -p $fs/usr/share/$PACKAGE
    1.54 -	cp -a $install/usr/bin $fs/usr
    1.55 -	cp -a $install/usr/lib $fs/usr
    1.56 -	cp -a $install/usr/share/$PACKAGE/* $fs/usr/share/$PACKAGE
    1.57 -
    1.58 -	mkdir -p $fs/usr/share/applications
    1.59 -	cp -a $install/usr/share/applications/* $fs/usr/share/applications
    1.60 -
    1.61 -	mkdir -p $fs/usr/share/pixmaps
    1.62 -	cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \
    1.63 -		$fs/usr/share/pixmaps
    1.64 +genpkg_rules() {
    1.65 +	case $PACKAGE in
    1.66 +		engrampa)
    1.67 +			copy @std
    1.68 +			DEPENDS="atk bzlib cairo caja fontconfig freetype gdk-pixbuf glib \
    1.69 +			gtk+3 json-glib libffi libharfbuzz liblzma libpng16 libxml2 pango \
    1.70 +			pcre util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
    1.71 +			xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
    1.72 +			xorg-pixman zlib"
    1.73 +			SUGGESTED="unrar unace p7zip zip"
    1.74 +			;;
    1.75 +		*-dev)
    1.76 +			copy @dev
    1.77 +			DEPENDS="engrampa atk-dev bzip2-dev cairo-dev caja-dev \
    1.78 +			fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+3-dev \
    1.79 +			harfbuzz-dev libffi-dev libpng16-dev libxml2-dev pango-dev \
    1.80 +			pcre-dev util-linux-blkid-dev util-linux-mount-dev \
    1.81 +			util-linux-uuid-dev xorg-libX11-dev xorg-libXau-dev \
    1.82 +			xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \
    1.83 +			xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
    1.84 +			;;
    1.85 +	esac
    1.86 +	TAGS="MATE"
    1.87  }