wok-next view vice/receipt @ rev 21116
Update libxfce4util, xfconf, libxfce4ui
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jan 14 00:11:29 2019 +0200 (2019-01-14) |
parents | d635206a5649 |
children |
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 libpng-dev giflib-dev \
16 libjpeg-turbo-dev portaudio-dev mpg123-dev libice-dev gtk2-dev \
17 vte-gtk2-dev gtkglext-dev mesa-dev libxxf86vm-dev libxrandr-dev \
18 bdftopcf mkfontdir" # pulseaudio-dev
19 DEPENDS="alsa-lib libcairo flac gdk-pixbuf giflib glib gtk2 gtkglext \
20 libjpeg-turbo libogg libpng libvorbis mesa mpg123 pango pciutils portaudio \
21 readline vte-gtk2 libx11 libxrandr libxxf86vm zlib"
23 compile_rules() {
24 rm -r src/lib/liblame src/lib/libx264 src/lib/libffmpeg
25 sed -i 's/lib64/lib/g' configure.ac
26 autoreconf -fi
27 sed \
28 -e 's|CODEC_CAP_VARIABLE_FRAME_SIZE|AV_&|g' \
29 -e 's|CODEC_FLAG_GLOBAL_HEADER|AV_&|g' \
30 -e 's|\& AVFMT_RAWPICTURE||' \
31 -i src/gfxoutputdrv/ffmpegdrv.c # Fix build with ffmpeg 4
33 ./configure \
34 --prefix=/usr \
35 --libdir=/usr/lib \
36 --enable-gnomeui \
37 --enable-external-ffmpeg \
38 $CONFIGURE_ARGS &&
39 make &&
40 make -j1 \
41 DESTDIR="$install" \
42 install
43 }