wok view xfwm4/receipt @ rev 25799

recooked xfce4
author Hans-G?nter Theisgen
date Wed Oct 23 17:54:37 2024 +0100 (4 weeks ago)
parents bd7510903310
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xfwm4"
4 VERSION="4.12.0"
5 CATEGORY="x-window"
6 TAGS="window-manager"
7 SHORT_DESC="Xfce Window Manager."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://docs.xfce.org/xfce/xfwm4/start"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
15 DEPENDS="dbus-glib libglade libwnck libxfce4ui libxfce4util xfconf"
16 BUILD_DEPENDS="dbus-glib-dev intltool libwnck-dev libxfce4ui-dev libxfce4util-dev
17 libxml2-dev util-linux-uuid-dev xcb-util-dev xfconf-dev xorg-compositeproto"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null |
23 sed '/released/!d;s| released.*||;s|.*xfwm4 ||'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --mandir=/usr/share/man \
32 --disable-debug \
33 --enable-randr \
34 --enable-render \
35 --enable-startup-notification \
36 --disable-static \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cook_copy_folders bin
46 cook_copy_folders icons
47 cook_copy_folders themes
48 cook_copy_folders xfwm4
50 # Remove SVG icons
51 test -d $fs/usr/share/icons/hicolor/scalable &&
52 rm -rf $fs/usr/share/icons/hicolor/scalable
53 }