wok-next diff fuse-emulator/receipt @ rev 20561

Up rrdtool (1.7.0)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Apr 10 00:40:27 2018 +0300 (2018-04-10)
parents 0a667524ce79
children 835b3b8ce6ac
line diff
     1.1 --- a/fuse-emulator/receipt	Mon Oct 16 22:34:14 2017 +0300
     1.2 +++ b/fuse-emulator/receipt	Tue Apr 10 00:40:27 2018 +0300
     1.3 @@ -12,22 +12,40 @@
     1.4  WGET_URL="$SF_MIRROR/fuse-emulator/$TARBALL"
     1.5  
     1.6  BUILD_DEPENDS="perl libspectrum-dev xorg-libX11-dev xorg-libICE-dev gtk+-dev \
     1.7 -alsa-lib-dev libsdl-dev"
     1.8 +gtk+3-dev alsa-lib-dev libsdl-dev"
     1.9 +SPLIT="fuse-emulator-gtk3:gtk3"
    1.10  
    1.11  compile_rules() {
    1.12 +	SET_ARGS=''; [ -z "$SET" ] && SET_ARGS='--disable-gtk3'
    1.13 +
    1.14  	./configure \
    1.15  		--enable-desktop-integration \
    1.16 +		$SET_ARGS \
    1.17  		$CONFIGURE_ARGS &&
    1.18  	make && make install
    1.19  }
    1.20  
    1.21  genpkg_rules() {
    1.22 -	copy @std
    1.23 -	rm -r $fs/usr/share/icons; cook_copy_icons # only 16 and 48
    1.24 -	DEPENDS="alsa-lib atk audiofile bzlib cairo fontconfig freetype gdk-pixbuf \
    1.25 -	glib gtk+ libffi libgcrypt libgpg-error libharfbuzz liblzma libpng16 \
    1.26 -	libsdl libspectrum libxml2 pango pcre tslib util-linux-blkid \
    1.27 -	util-linux-mount util-linux-uuid xorg-libX11 xorg-libXau xorg-libXdmcp \
    1.28 -	xorg-libXext xorg-libXrender xorg-libxcb xorg-pixman zlib"
    1.29 +	case $PACKAGE in
    1.30 +		fuse-emulator)
    1.31 +			copy @std @ico # only 16 and 48
    1.32 +			DEPENDS="alsa-lib atk audiofile bzlib cairo fontconfig freetype \
    1.33 +			gdk-pixbuf glib gtk+ libffi libgcrypt libgpg-error libharfbuzz \
    1.34 +			liblzma libpng16 libsdl libspectrum libxml2 pango pcre tslib \
    1.35 +			util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
    1.36 +			xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
    1.37 +			xorg-pixman zlib"
    1.38 +			;;
    1.39 +		fuse-emulator-gtk3)
    1.40 +			copy @std @ico # only 16 and 48
    1.41 +			CAT="games|with GTK+3 interface"
    1.42 +			DEPENDS="alsa-lib atk audiofile bzlib cairo fontconfig freetype \
    1.43 +			gdk-pixbuf glib gtk+3 libffi libgcrypt libgpg-error libharfbuzz \
    1.44 +			liblzma libpng16 libsdl libspectrum libxml2 pango pcre tslib \
    1.45 +			util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
    1.46 +			xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
    1.47 +			xorg-pixman zlib"
    1.48 +			;;
    1.49 +	esac
    1.50  	TAGS="emulator spectrum"
    1.51  }