wok-current annotate parole/receipt @ rev 24539

updated fbgrab (1.3 -> 1.5)
author Hans-G?nter Theisgen
date Wed Feb 23 15:32:13 2022 +0100 (2022-02-23)
parents 50eb3433cb74
children bd7510903310
rev   line source
erjo@4868 1 # SliTaz package receipt.
erjo@4868 2
erjo@4868 3 PACKAGE="parole"
mojo@23866 4 VERSION="0.5.4"
erjo@4868 5 CATEGORY="multimedia"
erjo@4868 6 SHORT_DESC="Media Player for Xfce."
erjo@4868 7 MAINTAINER="erjo@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
erjo@4868 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20671 10 WEB_SITE="https://goodies.xfce.org/projects/applications/parole"
pascal@15322 11 WGET_URL="http://archive.xfce.org/src/apps/parole/${VERSION:0:3}/$TARBALL"
erjo@4868 12
pankso@10599 13 DEPENDS="libxfcegui4 libxfce4util dbus-glib libgio gst-plugins-base taglib \
pankso@12481 14 startup-notification libnotify gstreamer util-linux-uuid"
pankso@10599 15 BUILD_DEPENDS="intltool libxfcegui4-dev libxfce4util-dev dbus-glib-dev \
pankso@10599 16 libgio-dev gst-plugins-base-dev taglib-dev startup-notification-dev \
pascal@12572 17 libnotify-dev gstreamer-dev util-linux-uuid-dev coreutils-operations \
pascal@15322 18 gtk+-dev libxml2-dev orc-dev libxfconf-dev libxfce4ui-dev"
pankso@10599 19
pascal@24415 20 # What is the latest version available today?
pascal@24415 21 current_version()
pascal@24415 22 {
pascal@24415 23 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
pascal@24415 24 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
pascal@24415 25 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 26 }
pascal@24415 27
erjo@4868 28 # Rules to configure and make the package.
erjo@4868 29 compile_rules()
erjo@4868 30 {
erjo@4868 31 cd $src
erjo@4868 32 ./configure \
erjo@4868 33 --libexecdir=/usr/lib/$PACKAGE \
erjo@4868 34 --disable-debug \
erjo@4868 35 --disable-power-manager-plugin \
erjo@4868 36 $CONFIGURE_ARGS &&
pascal@10708 37 make && make DESTDIR=$DESTDIR install
erjo@4868 38 }
erjo@4868 39
erjo@4868 40 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4868 41 genpkg_rules()
erjo@4868 42 {
erjo@4868 43 mkdir -p $fs/usr/share/icons \
erjo@4868 44 $fs/usr/share/pixmaps
erjo@4868 45
pascal@14043 46 cp -a $install/usr/bin $fs/usr
pascal@14043 47 cp -a $install/usr/lib $fs/usr
pascal@14043 48 cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons
pascal@14043 49 cp -a $install/usr/share/parole $fs/usr/share
erjo@4868 50
pankso@10599 51 cd $fs/usr/share/pixmaps
pankso@10599 52 ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; cd -
erjo@4868 53
erjo@4868 54 # Clean-up & strip
erjo@4868 55 rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@4868 56 find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
erjo@4868 57 }
erjo@4868 58