wok-next annotate fuse-emulator/receipt @ rev 21423
updated puzzles again ( -> 20200413)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 27 17:56:50 2020 +0100 (2020-04-27) |
parents | 0f2575775b2d |
children |
rev | line source |
---|---|
al@19957 | 1 # SliTaz package receipt v2. |
slaxemulator@9457 | 2 |
slaxemulator@9457 | 3 PACKAGE="fuse-emulator" |
al@19957 | 4 VERSION="1.4.0" |
slaxemulator@9457 | 5 CATEGORY="games" |
slaxemulator@9457 | 6 SHORT_DESC="ZX Spectrum emulator" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
al@19957 | 9 WEB_SITE="http://fuse-emulator.sourceforge.net/fuse.php" |
al@19957 | 10 |
slaxemulator@9457 | 11 TARBALL="fuse-$VERSION.tar.gz" |
al@19957 | 12 WGET_URL="$SF_MIRROR/fuse-emulator/$TARBALL" |
slaxemulator@9457 | 13 |
al@21078 | 14 BUILD_DEPENDS="perl libspectrum-dev libx11-dev libice-dev gtk2-dev \ |
al@21087 | 15 gtk3-dev alsa-lib-dev sdl-dev libgcrypt-dev" |
al@21020 | 16 SPLIT="$PACKAGE-gtk3:gtk3" |
pankso@9953 | 17 |
al@19957 | 18 compile_rules() { |
al@20339 | 19 SET_ARGS=''; [ -z "$SET" ] && SET_ARGS='--disable-gtk3' |
al@20339 | 20 |
al@19957 | 21 ./configure \ |
al@19957 | 22 --enable-desktop-integration \ |
al@20339 | 23 $SET_ARGS \ |
al@19957 | 24 $CONFIGURE_ARGS && |
al@20569 | 25 fix libtool && |
al@20569 | 26 make && |
al@20569 | 27 make install |
slaxemulator@9457 | 28 } |
slaxemulator@9457 | 29 |
al@19957 | 30 genpkg_rules() { |
al@20339 | 31 case $PACKAGE in |
al@20339 | 32 fuse-emulator) |
al@20339 | 33 copy @std @ico # only 16 and 48 |
al@21087 | 34 DEPENDS="alsa-lib gdk-pixbuf glib gtk2 libpng sdl libspectrum \ |
al@21078 | 35 libxml2 pango libx11 zlib" |
al@20339 | 36 ;; |
al@20339 | 37 fuse-emulator-gtk3) |
al@20339 | 38 copy @std @ico # only 16 and 48 |
al@20339 | 39 CAT="games|with GTK+3 interface" |
al@21105 | 40 DEPENDS="alsa-lib libcairo gdk-pixbuf glib gtk3 libpng sdl \ |
al@21078 | 41 libspectrum libxml2 pango libx11 zlib" |
al@20339 | 42 ;; |
al@20339 | 43 esac |
al@19957 | 44 TAGS="emulator spectrum" |
slaxemulator@9457 | 45 } |