SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libxfcegui4"

# SliTaz package receipt.

PACKAGE="libxfcegui4"
VERSION="4.10.0"
CATEGORY="x-window"
SHORT_DESC="Xfce Gtk Widget library"
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://www.xfce.org"
WGET_URL="https://archive.xfce.org/src/archive/$PACKAGE/${VERSION%.*}/$TARBALL"

DEPENDS="gtk+ libxfce4util xfconf startup-notification dbus-glib libglade"
BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev 
 libglade-dev xcb-util-dev intltool util-linux-uuid-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://git.xfce.org/archive/libxfcegui4/ 2>/dev/null | \
    sed '/tag.?h=/!d;s|.*libxfcegui4-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    # xfce_setenv is removed in libxfce4util 4.11.0
    sed -i 's/xfce_setenv/g_setenv/' libxfcegui4/xfce-exec.c
    ./configure --prefix=/usr \
        --infodir=/usr/share/info \
        --mandir=/usr/share/man \
        --disable-static \
        --disable-debug \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
     
    mkdir -p $fs/usr/lib \
        $fs/usr/share/locale
        
    cp -a $install/usr/lib/*.so* $fs/usr/lib
    cp -a $install/usr/lib/libglade $fs/usr/lib
    cp -a $install/usr/share/locale/fr $fs/usr/share/locale
    cp -a $install/usr/share/icons $fs/usr/share
    
    # Remove SVG icons
    rm -rf $fs/usr/share/icons/hicolor/scalable
    
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)