wok annotate xfce4-settings/receipt @ rev 21759

mosh: use gcc83
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 26 19:12:58 2019 +0200 (2019-06-26)
parents 9d46bb55b8eb
children c37ae188e486
rev   line source
erjo@4143 1 # SliTaz package receipt.
erjo@4143 2
erjo@4143 3 PACKAGE="xfce4-settings"
devl547@16304 4 VERSION="4.11.2"
erjo@4143 5 CATEGORY="x-window"
erjo@4143 6 SHORT_DESC="Xfce Settings Manager"
erjo@4143 7 MAINTAINER="erjo@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
erjo@9877 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20669 10 WEB_SITE="https://www.xfce.org/"
erjo@9877 11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@9877 12
erjo@8024 13 DEPENDS="libxfce4util libxfce4ui libexo xfconf libglade dbus-glib xorg-libXi \
pascal@5008 14 xorg-libXrandr libnotify libwnck"
erjo@8024 15 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev xfconf-dev libglade-dev
gokhlayeh@8039 16 dbus-glib-dev xorg-libXi-dev xorg-libXrandr-dev xorg-inputproto libnotify-dev \
pascal@19751 17 intltool exo startup-notification-dev util-linux-uuid-dev garcon-dev xcb-util-dev"
erjo@4143 18
erjo@4143 19 # Rules to configure and make the package.
erjo@4143 20 compile_rules()
erjo@4143 21 {
erjo@4143 22 cd $src
erjo@4143 23 ./configure --prefix=/usr \
erjo@4143 24 --sysconfdir=/etc \
erjo@4143 25 --enable-xcursor \
erjo@4143 26 --enable-libnotify \
erjo@4143 27 --enable-xrandr \
erjo@8024 28 --enable-libxklavier \
erjo@8024 29 --enable-sound-settings \
slaxemulator@8032 30 --disable-debug \
slaxemulator@8032 31 --disable-static \
erjo@4143 32 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@9877 33 make && make DESTDIR=$DESTDIR install
erjo@4143 34 }
erjo@4143 35
erjo@4143 36 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4143 37 genpkg_rules()
erjo@4143 38 {
erjo@4143 39 mkdir -p $fs/usr \
erjo@4143 40 $fs/usr/share/locale
erjo@4143 41
pascal@15000 42 cp -a $install/etc $fs/
pascal@15000 43 cp -a $install/usr/bin $fs/usr
pascal@15000 44 cp -a $install/usr/share/applications $fs/usr/share
erjo@5850 45
erjo@5850 46 if [ -f $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml ]; then
erjo@5850 47 sed -i 's/Xfce/Clearlooks/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
erjo@5850 48 sed -i 's/Rodent/Tango/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
erjo@5850 49 fi
erjo@5850 50
erjo@4143 51 }
erjo@4143 52