wok rev 25757
xfce4-mixer: modified CFLAGS
author | Hans-G?nter Theisgen |
---|---|
date | Sun Sep 01 14:44:29 2024 +0100 (2 months ago) |
parents | 09b64f91445e |
children | ef17aac83196 |
files | xfce4-mixer/receipt |
line diff
1.1 --- a/xfce4-mixer/receipt Sun Sep 01 14:35:00 2024 +0100 1.2 +++ b/xfce4-mixer/receipt Sun Sep 01 14:44:29 2024 +0100 1.3 @@ -3,10 +3,10 @@ 1.4 PACKAGE="xfce4-mixer" 1.5 VERSION="4.10.0" 1.6 CATEGORY="x-window" 1.7 -SHORT_DESC="Xfce Audio Mixer" 1.8 +SHORT_DESC="Xfce Audio Mixer." 1.9 MAINTAINER="erjo@slitaz.org" 1.10 LICENSE="GPL2" 1.11 -WEB_SITE="https://www.xfce.org" 1.12 +WEB_SITE="https://docs.xfce.org/apps/xfce4-mixer/start" 1.13 1.14 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL" 1.16 @@ -14,40 +14,39 @@ 1.17 SUGGESTED="xfce4-mixer-lang" 1.18 DEPENDS="gst-plugins-base gtk+ libunique libxfce4util startup-notification 1.19 util-linux-uuid xfce4-panel xfconf" 1.20 -BUILD_DEPENDS="gst-plugins-base-dev gstreamer-dev gtk+-dev intltool libunique-dev 1.21 - libxfce4ui-dev libxfce4util-dev libxml2-dev startup-notification-dev 1.22 - util-linux-uuid-dev xcb-util-dev xfce4-panel-dev xfconf-dev" 1.23 - 1.24 +BUILD_DEPENDS="dbus-glib-dev gst-plugins-base-dev gstreamer-dev 1.25 + gtk+-dev intltool libunique-dev libxfce4ui-dev libxfce4util-dev 1.26 + libxml2-dev startup-notification-dev util-linux-uuid-dev 1.27 + xcb-util-dev xfce4-panel-dev xfconf-dev" 1.28 + 1.29 # What is the latest version available today? 1.30 current_version() 1.31 { 1.32 - wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ 1.33 - sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ 1.34 - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q 1.35 + wget -O - $WEB_SITE 2>/dev/null | 1.36 + sed '/released/!d;s| released.*||;s|.*mixer ||' 1.37 } 1.38 1.39 # Rules to configure and make the package. 1.40 compile_rules() 1.41 { 1.42 + export CFLAGS="$CFLAGS -I/usr/include/dbus-1.0" 1.43 + 1.44 ./configure \ 1.45 --prefix=/usr \ 1.46 --libexecdir=/usr/lib/$PACKAGE \ 1.47 --enable-nls \ 1.48 $CONFIGURE_ARGS && \ 1.49 make && 1.50 - make install DESTDIR=$DESTDIR 1.51 + make install 1.52 } 1.53 1.54 # Rules to gen a SliTaz package suitable for Tazpkg. 1.55 genpkg_rules() 1.56 { 1.57 - mkdir -p $fs/usr/share 1.58 - 1.59 cook_copy_folders bin 1.60 - cook_copy_folders lib 1.61 - cp -a $install/usr/share/xfce4 $fs/usr/share 1.62 - cp -a $install/usr/share/pixmaps $fs/usr/share 1.63 - cp -a $install/usr/share/xfce4-mixer $fs/usr/share 1.64 + cook_copy_files *.so* 1.65 + cook_copy_folders pixmaps 1.66 + cook_copy_folders xfce4-mixer 1.67 1.68 rm -rf $fs/usr/share/xfce4-mixer/icons/hicolor/scalable 1.69