SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libdbusmenu-gtk2"

# SliTaz package receipt.

PACKAGE="libdbusmenu-gtk2"
SOURCE="libdbusmenu"
VERSION="16.04.0"
CATEGORY="system-tools"
SHORT_DESC="Library for passing menus over DBus."
MAINTAINER="shann@slitaz.org"
LICENSE="GPL3 LGPL2.1 LGPL3"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="https://launchpad.net/libdbusmenu"
WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL"

DEPENDS="atk gdk-pixbuf gtk+ pango"
BUILD_DEPENDS="intltool gtk+-dev gobject-introspection-dev json-glib-dev vala"

HOST_ARCH="x86_64"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||"
}

# Rules to configure and make the package.
compile_rules()
{
    # Require due of Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" [-Werror]
    CFLAGS="$CFLAGS -Wno-error -Wno-error=deprecated-declarations"
    CXXFLAGS="$CXXFLAGS -Wno-error -Wno-error=deprecated-declarations"

    ./configure         \
        --with-gtk=2    \
        $CONFIGURE_ARGS
    make &&
    make DESTDIR=$install install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/lib/*.so* $fs/usr/lib
}
6107 packages and 261132 files in current database (Mon Jul 7 00:01:25 2025)