wok view parole/receipt @ rev 24590
syslinux: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 28 14:39:39 2022 +0000 (2022-02-28) |
parents | 50eb3433cb74 |
children | bd7510903310 |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://goodies.xfce.org/projects/applications/parole"
11 WGET_URL="http://archive.xfce.org/src/apps/parole/${VERSION:0:3}/$TARBALL"
13 DEPENDS="libxfcegui4 libxfce4util dbus-glib libgio gst-plugins-base taglib \
14 startup-notification libnotify gstreamer util-linux-uuid"
15 BUILD_DEPENDS="intltool libxfcegui4-dev libxfce4util-dev dbus-glib-dev \
16 libgio-dev gst-plugins-base-dev taglib-dev startup-notification-dev \
17 libnotify-dev gstreamer-dev util-linux-uuid-dev coreutils-operations \
18 gtk+-dev libxml2-dev orc-dev libxfconf-dev libxfce4ui-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
24 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
25 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 cd $src
32 ./configure \
33 --libexecdir=/usr/lib/$PACKAGE \
34 --disable-debug \
35 --disable-power-manager-plugin \
36 $CONFIGURE_ARGS &&
37 make && make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share/icons \
44 $fs/usr/share/pixmaps
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/lib $fs/usr
48 cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons
49 cp -a $install/usr/share/parole $fs/usr/share
51 cd $fs/usr/share/pixmaps
52 ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; 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 }