wok-current annotate swfdec/receipt @ rev 25030

giblib: inserted configure parameters
author Hans-G?nter Theisgen
date Fri May 20 10:23:32 2022 +0100 (2022-05-20)
parents 34e801e0eb52
children
rev   line source
pascal@11215 1 # SliTaz package receipt.
pascal@11215 2
pascal@11215 3 PACKAGE="swfdec"
pascal@11215 4 VERSION="0.9.2"
pascal@11215 5 CATEGORY="multimedia"
pascal@11215 6 SHORT_DESC="Macromedia Flash decoding library"
pascal@11215 7 MAINTAINER="devl547@gmail.com"
pascal@14996 8 LICENSE="LGPL2.1"
pascal@11215 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@21576 10 WEB_SITE="https://github.com/mltframework/swfdec"
pascal@24976 11 WGET_URL="https://gitlab.freedesktop.org/archived-projects/swfdec/swfdec/-/archive/$VERSION/$TARBALL"
pascal@14996 12
pascal@17621 13 DEPENDS="glib liboil pango gtk+ libsoup cairo alsa-lib gstreamer gst-plugins-base"
pascal@11215 14 BUILD_DEPENDS="glib-dev liboil-dev pango-dev gtk+-dev libsoup-dev \
pascal@17621 15 cairo-dev alsa-lib-dev gstreamer-dev gst-plugins-base-dev sqlite-dev"
pascal@11215 16
pascal@24497 17 # What is the latest version available today?
pascal@24497 18 current_version()
pascal@24497 19 {
pascal@24497 20 wget -O - https://raw.githubusercontent.com/mltframework/swfdec/master/NEWS 2>/dev/null | \
pascal@24497 21 sed '/[0-9]/!d;s|^ *||;s| .*||;q'
pascal@24497 22 }
pascal@24497 23
pascal@11215 24 # Rules to configure and make the package.
pascal@11215 25 compile_rules()
pascal@11215 26 {
pascal@11215 27 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@11215 28 --mandir=/usr/share/man $CONFIGURE_ARGS \
pascal@11215 29 --enable-gtk --with-audio="alsa" &&
pascal@11215 30 make &&
pascal@14996 31 make DESTDIR=$DESTDIR install
pascal@11215 32 }
pascal@11215 33
pascal@11215 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11215 35 genpkg_rules()
pascal@11215 36 {
pascal@11215 37 mkdir -p $fs/usr/lib
pascal@14996 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@11215 39 }