wok-current view swfdec/receipt @ rev 25483

created recipe for py3k-six
author Hans-G?nter Theisgen
date Mon Oct 17 07:54:33 2022 +0100 (2022-10-17)
parents 34e801e0eb52
children
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/mltframework/swfdec"
11 WGET_URL="https://gitlab.freedesktop.org/archived-projects/swfdec/swfdec/-/archive/$VERSION/$TARBALL"
13 DEPENDS="glib liboil pango gtk+ libsoup cairo alsa-lib gstreamer gst-plugins-base"
14 BUILD_DEPENDS="glib-dev liboil-dev pango-dev gtk+-dev libsoup-dev \
15 cairo-dev alsa-lib-dev gstreamer-dev gst-plugins-base-dev sqlite-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://raw.githubusercontent.com/mltframework/swfdec/master/NEWS 2>/dev/null | \
21 sed '/[0-9]/!d;s|^ *||;s| .*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure --prefix=/usr --infodir=/usr/share/info \
28 --mandir=/usr/share/man $CONFIGURE_ARGS \
29 --enable-gtk --with-audio="alsa" &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }