wok view nitrogen/receipt @ rev 25776
Update thunderbird to 68.12.1 latest ESR work with old glibc, and block autoupdate
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Sep 16 17:28:27 2024 +0200 (2 months ago) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="nitrogen"
4 VERSION="1.6.1"
5 CATEGORY="x-window"
6 TAGS="wallpaper"
7 SHORT_DESC="A background browser and setter for X windows."
8 MAINTAINER="mallory@sweetpeople.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/l3ib/nitrogen"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL"
15 DEPENDS="gcc-lib-base gtkmm libpng"
16 BUILD_DEPENDS="cairomm-dev glib-dev gtk+-dev gtkmm gtkmm-dev libpng-dev
17 pkg-config xorg-libXinerama-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
30 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
32 sed -e '/png.h/d' < src/Thumbview.cc > src/Thumbview.cc.patched
33 # mv src/Thumbview.cc.patched src/Thumbview.cc
35 ./configure \
36 --prefix=/usr \
37 --infodir=/usr/share/info \
38 --mandir=/usr/share/man \
39 $CONFIGURE_ARGS &&
40 make &&
41 make DESTDIR=$DESTDIR install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/share/pixmaps
49 cp -a $install/usr/bin $fs/usr
50 cp -a $install/usr/share/icons/hicolor/32x32/apps/nitrogen.png \
51 $fs/usr/share/pixmaps/
52 }