wok rev 25727

added recipe for xfce4-settings-lang
author Hans-G?nter Theisgen
date Sat Aug 17 17:52:10 2024 +0100 (3 months ago)
parents b949efa3f8ac
children 20ff04fcec29
files xfce4-settings-lang/receipt xfce4-settings/description.txt xfce4-settings/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xfce4-settings-lang/receipt	Sat Aug 17 17:52:10 2024 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xfce4-settings-lang"
     1.7 +VERSION="4.12.0"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="Xfce Settings Manager - localised messages."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://www.xfce.org/"
    1.13 +
    1.14 +WANTED="xfce4-settings"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	cook_copy_folders	locale
    1.20 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/xfce4-settings/description.txt	Sat Aug 17 17:52:10 2024 +0100
     2.3 @@ -0,0 +1,2 @@
     2.4 +The xfce4-settings component provides a daemon, manager, and editor
     2.5 +to centralise the configuration management of the Xfce system.
     3.1 --- a/xfce4-settings/receipt	Sat Aug 17 17:30:48 2024 +0100
     3.2 +++ b/xfce4-settings/receipt	Sat Aug 17 17:52:10 2024 +0100
     3.3 @@ -6,15 +6,18 @@
     3.4  SHORT_DESC="Xfce Settings Manager"
     3.5  MAINTAINER="erjo@slitaz.org"
     3.6  LICENSE="GPL2"
     3.7 +WEB_SITE="https://www.xfce.org/"
     3.8 +
     3.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.10 -WEB_SITE="https://www.xfce.org/"
    3.11  WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
    3.12  
    3.13 -DEPENDS="libxfce4util libxfce4ui libexo xfconf libglade dbus-glib xorg-libXi \
    3.14 -xorg-libXrandr libnotify libwnck"
    3.15 -BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev xfconf-dev libglade-dev 
    3.16 - dbus-glib-dev xorg-libXi-dev xorg-libXrandr-dev xorg-inputproto libnotify-dev \
    3.17 -intltool exo startup-notification-dev util-linux-uuid-dev garcon-dev xcb-util-dev"
    3.18 +SUGGESTED="xfce4-settings-lang"
    3.19 +DEPENDS="dbus-glib libexo libglade libnotify libwnck libxfce4ui libxfce4util
    3.20 +	xfconf xorg-libXi xorg-libXrandr"
    3.21 +BUILD_DEPENDS="dbus-glib-dev exo garcon-dev intltool libexo-dev libglade-dev
    3.22 +	libnotify-dev libxfce4ui-dev libxfce4util-dev startup-notification-dev
    3.23 +	util-linux-uuid-dev xcb-util-dev xfconf-dev xorg-inputproto
    3.24 +	xorg-libXi-dev xorg-libXrandr-dev"
    3.25  
    3.26  # What is the latest version available today?
    3.27  current_version()
    3.28 @@ -27,34 +30,32 @@
    3.29  # Rules to configure and make the package.
    3.30  compile_rules()
    3.31  {
    3.32 -	cd $src
    3.33 -	./configure --prefix=/usr \
    3.34 -		--sysconfdir=/etc \
    3.35 -		--enable-xcursor \
    3.36 -		--enable-libnotify \
    3.37 -		--enable-xrandr \
    3.38 -		--enable-libxklavier \
    3.39 -		--enable-sound-settings \
    3.40 -		--disable-debug \
    3.41 -		--disable-static \
    3.42 -		--mandir=/usr/share/man $CONFIGURE_ARGS && \
    3.43 -	make && make DESTDIR=$DESTDIR install
    3.44 +	./configure			\
    3.45 +		--prefix=/usr		\
    3.46 +		--sysconfdir=/etc	\
    3.47 +		--enable-xcursor	\
    3.48 +		--enable-libnotify	\
    3.49 +		--enable-nls		\
    3.50 +		--enable-xrandr		\
    3.51 +		--enable-libxklavier	\
    3.52 +		--enable-sound-settings	\
    3.53 +		--disable-debug		\
    3.54 +		--disable-static	\
    3.55 +		--mandir=/usr/share/man	\
    3.56 +		$CONFIGURE_ARGS && \
    3.57 +	make &&
    3.58 +	make install DESTDIR=$DESTDIR
    3.59  }
    3.60  
    3.61  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.62  genpkg_rules()
    3.63  {
    3.64 -	mkdir -p $fs/usr \
    3.65 -		$fs/usr/share/locale
    3.66 -
    3.67 -	cp -a $install/etc $fs/	
    3.68 -	cp -a $install/usr/bin $fs/usr
    3.69 -	cp -a $install/usr/share/applications $fs/usr/share
    3.70 +	cook_copy_folders	bin
    3.71 +	cook_copy_folders	etc
    3.72  	
    3.73 -	if [ -f $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml ]; then
    3.74 -		sed -i 's/Xfce/Clearlooks/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
    3.75 -		sed -i 's/Rodent/Tango/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
    3.76 +	if [ -f $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml ]
    3.77 +	  then
    3.78 +		sed -i 's/Xfce/Clearlooks/'	$fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
    3.79 +		sed -i 's/Rodent/Tango/'	$fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
    3.80  	fi
    3.81 -		
    3.82  }
    3.83 -