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