wok-current view libdbusmenu-gtk3/receipt @ rev 25791

Up expat (2.7.3), patch (2.8), openssl (3.0.18)
author Stanislas Leduc <shann@slitaz.org>
date Fri Oct 03 17:05:15 2025 +0000 (3 weeks ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libdbusmenu-gtk3"
4 SOURCE="libdbusmenu"
5 VERSION="16.04.0"
6 CATEGORY="system-tools"
7 SHORT_DESC="Library for passing menus over DBus GTK3."
8 MAINTAINER="shann@slitaz.org"
9 LICENSE="GPL3 LGPL2.1 LGPL3"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://launchpad.net/libdbusmenu"
12 WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL"
14 DEPENDS="atk gdk-pixbuf gtk+3 pango"
15 BUILD_DEPENDS="intltool gtk+-dev gtk+3-dev gobject-introspection-dev json-glib-dev vala"
17 HOST_ARCH="x86_64"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||"
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # Require due of Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" [-Werror]
30 CFLAGS="$CFLAGS -Wno-error -Wno-error=deprecated-declarations"
31 CXXFLAGS="$CXXFLAGS -Wno-error -Wno-error=deprecated-declarations"
33 ./configure \
34 --with-gtk=3 \
35 $CONFIGURE_ARGS
36 make &&
37 make DESTDIR=$install install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }