wok view libxfcegui4/receipt @ rev 25795

created recipe for libxfcegui4-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:34:18 2024 +0100 (4 weeks ago)
parents ea7c7014b421
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libxfcegui4"
4 VERSION="4.10.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Gtk Widget library."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.xfce.org"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://archive.xfce.org/src/archive/$PACKAGE/${VERSION%.*}/$TARBALL"
14 SUGGESTED="libxfcegui4-lang"
15 DEPENDS="dbus-glib gtk+ libglade libxfce4util startup-notification xfconf"
16 BUILD_DEPENDS="gtk+-dev intltool libglade-dev libxfce4util-dev
17 startup-notification-dev util-linux-uuid-dev xcb-util-dev xfconf-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://git.xfce.org/archive/libxfcegui4/ 2>/dev/null | \
23 sed '/tag.?h=/!d;s|.*libxfcegui4-||;s|.tar.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # xfce_setenv is removed in libxfce4util 4.11.0
30 sed -i 's/xfce_setenv/g_setenv/' libxfcegui4/xfce-exec.c
32 ./configure \
33 --prefix=/usr \
34 --infodir=/usr/share/info \
35 --mandir=/usr/share/man \
36 --disable-debug \
37 --disable-static \
38 $CONFIGURE_ARGS &&
39 make &&
40 make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 cook_copy_files *.so*
47 cook_copy_folders icons
49 # Remove SVG icons
50 rm -rf $fs/usr/share/icons/hicolor/scalable
51 }