wok-next view vice/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="vice"
4 VERSION="3.2"
5 CATEGORY="games"
6 SHORT_DESC="The Versatile Commodore 8-bit Emulator"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://vice-emu.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/vice-emu/$TARBALL"
14 BUILD_DEPENDS="automake xa gettext-dev ffmpeg-dev alsa-lib-dev lame-dev \
15 libvorbis-dev flac-dev pciutils-dev readline-dev libpng16-dev giflib-dev \
16 libjpeg-turbo-dev portaudio-dev mpg123-dev xorg-libICE-dev gtk2-dev \
17 vte-gtk2-dev gtkglext-dev mesa-dev xorg-libXxf86vm-dev xorg-libXrandr-dev \
18 xorg-bdftopcf xorg-mkfontdir" # pulseaudio-dev
20 compile_rules() {
21 rm -r src/lib/liblame src/lib/libx264 src/lib/libffmpeg
22 sed -i 's/lib64/lib/g' configure.ac
23 autoreconf -fi
24 sed \
25 -e 's|CODEC_CAP_VARIABLE_FRAME_SIZE|AV_&|g' \
26 -e 's|CODEC_FLAG_GLOBAL_HEADER|AV_&|g' \
27 -e 's|\& AVFMT_RAWPICTURE||' \
28 -i src/gfxoutputdrv/ffmpegdrv.c # Fix build with ffmpeg 4
30 ./configure \
31 --prefix=/usr \
32 --libdir=/usr/lib \
33 --enable-gnomeui \
34 --enable-external-ffmpeg \
35 $CONFIGURE_ARGS &&
36 make &&
37 make -j1 \
38 DESTDIR="$install" \
39 install
40 }
42 genpkg_rules() {
43 copy @std
44 DEPENDS="alsa-lib cairo flac gdk-pixbuf giflib glib gtk2 gtkglext \
45 libjpeg-turbo libogg libpng16 libvorbis mesa mpg123 pango pciutils \
46 portaudio readline vte-gtk2 xorg-libX11 xorg-libXrandr xorg-libXxf86vm zlib"
47 }