wok-next annotate vice/receipt @ rev 21078

Update png and Xorg in dependencies.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 22 04:52:35 2018 +0200 (2018-12-22)
parents d5aab818505e
children d635206a5649
rev   line source
al@20854 1 # SliTaz package receipt v2.
devl547@13769 2
devl547@13769 3 PACKAGE="vice"
al@20854 4 VERSION="3.2"
devl547@13769 5 CATEGORY="games"
al@20854 6 SHORT_DESC="The Versatile Commodore 8-bit Emulator"
devl547@13769 7 MAINTAINER="devl547@gmail.com"
pascal@15216 8 LICENSE="GPL2"
al@20854 9 WEB_SITE="http://vice-emu.sourceforge.net/"
al@20854 10
devl547@13769 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20854 12 WGET_URL="$SF_MIRROR/vice-emu/$TARBALL"
devl547@13769 13
al@21020 14 BUILD_DEPENDS="automake xa gettext-dev ffmpeg-dev alsa-lib-dev lame-dev \
al@21078 15 libvorbis-dev flac-dev pciutils-dev readline-dev libpng-dev giflib-dev \
al@21078 16 libjpeg-turbo-dev portaudio-dev mpg123-dev libice-dev gtk2-dev \
al@21078 17 vte-gtk2-dev gtkglext-dev mesa-dev libxxf86vm-dev libxrandr-dev \
al@21078 18 bdftopcf mkfontdir" # pulseaudio-dev
pascal@15216 19
al@20854 20 compile_rules() {
al@20854 21 rm -r src/lib/liblame src/lib/libx264 src/lib/libffmpeg
al@20854 22 sed -i 's/lib64/lib/g' configure.ac
al@20854 23 autoreconf -fi
al@20854 24 sed \
al@20854 25 -e 's|CODEC_CAP_VARIABLE_FRAME_SIZE|AV_&|g' \
al@20854 26 -e 's|CODEC_FLAG_GLOBAL_HEADER|AV_&|g' \
al@20854 27 -e 's|\& AVFMT_RAWPICTURE||' \
al@20854 28 -i src/gfxoutputdrv/ffmpegdrv.c # Fix build with ffmpeg 4
al@20854 29
devl547@13769 30 ./configure \
devl547@13769 31 --prefix=/usr \
al@20854 32 --libdir=/usr/lib \
devl547@13769 33 --enable-gnomeui \
al@20854 34 --enable-external-ffmpeg \
devl547@13769 35 $CONFIGURE_ARGS &&
al@20854 36 make &&
al@20854 37 make -j1 \
al@20854 38 DESTDIR="$install" \
al@20854 39 install
devl547@13769 40 }
devl547@13769 41
al@20854 42 genpkg_rules() {
al@20854 43 copy @std
al@21017 44 DEPENDS="alsa-lib cairo flac gdk-pixbuf giflib glib gtk2 gtkglext \
al@21078 45 libjpeg-turbo libogg libpng libvorbis mesa mpg123 pango pciutils \
al@21078 46 portaudio readline vte-gtk2 libx11 libxrandr libxxf86vm zlib"
devl547@13769 47 }