wok-next view vice/receipt @ rev 21080

Update tiff (4.0.10): libs -> into libtiff, apps -> into tiff
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 24 02:07:02 2018 +0200 (2018-12-24)
parents d5aab818505e
children d635206a5649
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
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 libpng libvorbis mesa mpg123 pango pciutils \
46 portaudio readline vte-gtk2 libx11 libxrandr libxxf86vm zlib"
47 }