wok-next diff mate-utils/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents
children b278b2018965
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mate-utils/receipt	Wed Feb 28 17:32:31 2018 +0200
     1.3 @@ -0,0 +1,49 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="mate-utils"
     1.7 +VERSION="1.18.3"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="MATE Utilities for the MATE Desktop"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://github.com/mate-desktop/mate-utils"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="https://github.com/mate-desktop/mate-utils/archive/v$VERSION.tar.gz"
    1.16 +
    1.17 +BUILD_DEPENDS="mate-common yelp-tools gtk-doc gtk+3-dev mate-panel-dev \
    1.18 +libgtop-dev libcanberra-dev itstool"
    1.19 +SPLIT="mate-utils-dev"
    1.20 +
    1.21 +compile_rules() {
    1.22 +	./autogen.sh \
    1.23 +		--sysconfdir=/etc \
    1.24 +		--localstatedir=/var \
    1.25 +		$CONFIGURE_ARGS &&
    1.26 +	make &&
    1.27 +	make install
    1.28 +}
    1.29 +
    1.30 +genpkg_rules() {
    1.31 +	case $PACKAGE in
    1.32 +		mate-utils)
    1.33 +			copy @std
    1.34 +			cook_copy_icons # only 16 and 48
    1.35 +			DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+3 \
    1.36 +			libcanberra libcanberra-gtk3 libffi libgtop libharfbuzz libltdl \
    1.37 +			liblzma libogg libpng16 libvorbis libxml2 mate-panel pango pcre \
    1.38 +			util-linux-blkid util-linux-mount util-linux-uuid xorg-libICE \
    1.39 +			xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \
    1.40 +			xorg-libXrender xorg-libxcb xorg-pixman zlib"
    1.41 +			;;
    1.42 +		*-dev)
    1.43 +			copy @dev
    1.44 +			DEPENDS="mate-utils atk-dev bzip2-dev cairo-dev fontconfig-dev \
    1.45 +			freetype-dev gdk-pixbuf-dev glib-dev gtk+3-dev harfbuzz-dev \
    1.46 +			libffi-dev libpng16-dev libxml2-dev pango-dev pcre-dev \
    1.47 +			util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
    1.48 +			xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
    1.49 +			xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
    1.50 +	esac
    1.51 +	TAGS="MATE"
    1.52 +}