wok-next view vice/receipt @ rev 21650
updated ffmpegthumbnailer (2.2.0 -> 2.2.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 20:48:13 2020 +0100 (2020-06-26) |
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 }