wok view parole/receipt @ rev 25775

luajit, wayland, weston: fix current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 15 16:55:07 2024 +0000 (2 months ago)
parents 7e291e856d7e
children d953db83781d
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 ./configure \
33 --disable-debug \
34 --disable-power-manager-plugin \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cook_copy_folders bin
44 cook_copy_files *.so*
45 cook_copy_folders gtk-2.0
46 cook_copy_folders icons
47 cook_copy_folders parole-plugins-0
49 mkdir $fs/usr/share/pixmaps
50 cd $fs/usr/share/pixmaps
51 ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png
52 cd -
54 # Clean-up & strip
55 rm -rf $fs/usr/share/icons/hicolor/scalable
56 find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
57 }