wok annotate nitrogen/receipt @ rev 25693

dropbear (2024.84) fixes terrapin-attack, again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 21 13:35:21 2024 +0000 (9 months ago)
parents 5ea0ce1cecc0
children
rev   line source
mallory@3116 1 # SliTaz package receipt.
mallory@3116 2
mallory@3116 3 PACKAGE="nitrogen"
Hans-G?nter@23239 4 VERSION="1.6.1"
mallory@3116 5 CATEGORY="x-window"
Hans-G?nter@23239 6 TAGS="wallpaper"
Hans-G?nter@23239 7 SHORT_DESC="A background browser and setter for X windows."
mallory@3116 8 MAINTAINER="mallory@sweetpeople.org"
pascal@15000 9 LICENSE="GPL2"
Hans-G?nter@23239 10 WEB_SITE="https://github.com/l3ib/nitrogen"
Hans-G?nter@23239 11
mallory@3116 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@23239 13 WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL"
mallory@3116 14
Hans-G?nter@23239 15 DEPENDS="gcc-lib-base gtkmm libpng"
Hans-G?nter@23239 16 BUILD_DEPENDS="cairomm-dev glib-dev gtk+-dev gtkmm gtkmm-dev libpng-dev
Hans-G?nter@23239 17 pkg-config xorg-libXinerama-dev"
pascal@15000 18
pascal@25600 19 # What is the latest version available today?
pascal@24055 20 current_version()
pascal@24055 21 {
pascal@24055 22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@25600 23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 24 }
pascal@24055 25
mallory@3116 26 # Rules to configure and make the package.
mallory@3116 27 compile_rules()
mallory@3116 28 {
pascal@12654 29 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@17670 30 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
pascal@12654 31
Hans-G?nter@23239 32 sed -e '/png.h/d' < src/Thumbview.cc > src/Thumbview.cc.patched
Hans-G?nter@23239 33 # mv src/Thumbview.cc.patched src/Thumbview.cc
Hans-G?nter@23239 34
Hans-G?nter@23239 35 ./configure \
Hans-G?nter@23239 36 --prefix=/usr \
Hans-G?nter@23239 37 --infodir=/usr/share/info \
Hans-G?nter@23239 38 --mandir=/usr/share/man \
mallory@3116 39 $CONFIGURE_ARGS &&
Hans-G?nter@23239 40 make &&
Hans-G?nter@23239 41 make DESTDIR=$DESTDIR install
mallory@3116 42 }
mallory@3116 43
mallory@3116 44 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@3116 45 genpkg_rules()
mallory@3116 46 {
samuel_trassare@12062 47 mkdir -p $fs/usr/share/pixmaps
Hans-G?nter@23239 48
Hans-G?nter@23239 49 cp -a $install/usr/bin $fs/usr
pascal@15000 50 cp -a $install/usr/share/icons/hicolor/32x32/apps/nitrogen.png \
Hans-G?nter@23239 51 $fs/usr/share/pixmaps/
mallory@3116 52 }
mallory@3116 53