wok view parole/receipt @ rev 25796
parole: removed obsolete configure option
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:42:25 2024 +0100 (4 weeks ago) |
parents | fd9bbbef8991 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="parole"
4 VERSION="0.5.4"
5 CATEGORY="multimedia"
6 SHORT_DESC="Media Player for Xfce."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://docs.xfce.org/apps/parole/start"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://archive.xfce.org/src/apps/parole/${VERSION%.*}/$TARBALL"
14 SUGGESTED="parole-lang"
15 DEPENDS="dbus-glib gst-plugins-base gstreamer libgio libnotify libxfce4util
16 libxfcegui4 startup-notification taglib util-linux-uuid"
17 BUILD_DEPENDS="coreutils-operations dbus-glib-dev gst-plugins-base-dev
18 gstreamer-dev gtk+-dev intltool libgio-dev libnotify-dev
19 libxfce4util-dev libxfcegui4-dev libxfce4ui-dev libxml2-dev orc-dev
20 startup-notification-dev taglib-dev util-linux-uuid-dev xfconf-dev"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - $WEB_SITE 2>/dev/null |
26 sed '/released/!d;s| released.*||;s|.*parole ||'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 # 2024-10-23 unrecognised
33 # --disable-power-manager-plugin
34 ./configure \
35 --disable-debug \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cook_copy_folders bin
45 cook_copy_files *.so*
46 cook_copy_folders gtk-2.0
47 cook_copy_folders icons
48 cook_copy_folders parole-plugins-0
50 mkdir $fs/usr/share/pixmaps
51 cd $fs/usr/share/pixmaps
52 ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png
53 cd -
55 # Clean-up & strip
56 rm -rf $fs/usr/share/icons/hicolor/scalable
57 find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
58 }