wok-next view visualboyadvance/receipt @ rev 21253

updated duplicity (0.6.20 -> 0.8.07)
author Hans-G?nter Theisgen
date Fri Dec 06 09:07:53 2019 +0100 (2019-12-06)
parents 0f2575775b2d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="visualboyadvance"
4 VERSION="1.7.2"
5 CATEGORY="games"
6 SHORT_DESC="An emulator for Gameboy and GameboyAdvance systems"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/vba/"
11 TARBALL="VisualBoyAdvance-src-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/vba/$TARBALL"
14 BUILD_DEPENDS="libglademm-dev libglademm sdl-dev patch nasm gtk2-dev gtkmm-dev \
15 cairomm-dev libglade-dev libxml2-dev zlib-dev bison flex"
16 SPLIT="$PACKAGE-gtk $PACKAGE"
18 compile_rules() {
19 sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' src/Util.cpp
20 sed -i 's/int i = 0; i < 16; i++/int ii = 0; ii < 16; ii++/' \
21 src/sdl/debugger.cpp
22 sed -i 's/void \*,void \*/gzFile, void */' src/Util.cpp
24 ./configure \
25 --disable-profiling \
26 --enable-gtk=2.4 \
27 --disable-dev \
28 $CONFIGURE_ARGS &&
29 make $MAKEFLAGS &&
30 make DESTDIR=$install install || return 1
32 install -Dm644 $stuff/visualboyadvance-gtk.desktop \
33 $install/usr/share/applications/visualboyadvance-gtk.desktop
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 visualboyadvance-gtk)
39 copy gvba visualboyadvance-gtk.desktop vba-64.png vba.glade *.mo
40 DEPENDS="libglademm visualboyadvance"
41 CAT="games|GTK frontend"
42 TAGS="emulator gameboy"
43 ;;
44 visualboyadvance)
45 copy @std @rm
46 CONFIG_FILES="/etc/VisualBoyAdvance.cfg"
47 TAGS="emulator gameboy"
48 DEPENDS="sdl"
49 ;;
50 esac
51 }