wok view xfce4-mixer/receipt @ rev 25723

added recipe for xfce4-mixer-lang
author Hans-G?nter Theisgen
date Sat Aug 17 16:43:37 2024 +0100 (5 months ago)
parents bd7510903310
children 17c84d0f3fa1
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-mixer"
4 VERSION="4.10.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Audio Mixer"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.xfce.org"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
14 SUGGESTED="xfce4-mixer-lang"
15 DEPENDS="gst-plugins-base gtk+ libunique libxfce4util startup-notification
16 util-linux-uuid xfce4-panel xfconf"
17 BUILD_DEPENDS="gst-plugins-base-dev gstreamer-dev gtk+-dev intltool libunique-dev
18 libxfce4ui-dev libxfce4util-dev libxml2-dev startup-notification-dev
19 util-linux-uuid-dev xcb-util-dev xfce4-panel-dev xfconf-dev"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
25 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
26 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure \
33 --prefix=/usr \
34 --libexecdir=/usr/lib/$PACKAGE \
35 --enable-nls \
36 $CONFIGURE_ARGS && \
37 make &&
38 make install DESTDIR=$DESTDIR
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share
46 cook_copy_folders bin
47 cook_copy_folders lib
48 cp -a $install/usr/share/xfce4 $fs/usr/share
49 cp -a $install/usr/share/pixmaps $fs/usr/share
50 cp -a $install/usr/share/xfce4-mixer $fs/usr/share
52 rm -rf $fs/usr/share/xfce4-mixer/icons/hicolor/scalable
54 # Strip everything
55 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
56 }