wok-next view swfdec/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | f48456621a9d |
children | 82b613cfd1e0 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="swfdec"
4 VERSION="0.9.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Macromedia Flash decoding library"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://swfdec.freedesktop.org/wiki/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://swfdec.freedesktop.org/download/swfdec/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="glib-dev liboil-dev pango-dev gtk2-dev libsoup-dev \
15 cairo-dev alsa-lib-dev gstreamer0-dev gst0-plugins-base-dev sqlite3-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 ./configure \
20 --enable-gtk \
21 --with-audio="alsa" \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make DESTDIR=$install install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 swfdec)
31 copy @std
32 DEPENDS="glib liboil pango gtk2 libsoup cairo alsa-lib gstreamer0 \
33 gst0-plugins-base"
34 ;;
35 *-dev)
36 copy @dev
37 ;;
38 esac
39 }