wok-current annotate nitrogen/receipt @ rev 25035
Up libqcow (20210419)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 20 18:11:13 2022 +0000 (2022-05-20) |
parents | 2a67d7fa40f8 |
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@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
mallory@3116 | 25 # Rules to configure and make the package. |
mallory@3116 | 26 compile_rules() |
mallory@3116 | 27 { |
pascal@12654 | 28 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@17670 | 29 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pascal@12654 | 30 |
Hans-G?nter@23239 | 31 sed -e '/png.h/d' < src/Thumbview.cc > src/Thumbview.cc.patched |
Hans-G?nter@23239 | 32 # mv src/Thumbview.cc.patched src/Thumbview.cc |
Hans-G?nter@23239 | 33 |
Hans-G?nter@23239 | 34 ./configure \ |
Hans-G?nter@23239 | 35 --prefix=/usr \ |
Hans-G?nter@23239 | 36 --infodir=/usr/share/info \ |
Hans-G?nter@23239 | 37 --mandir=/usr/share/man \ |
mallory@3116 | 38 $CONFIGURE_ARGS && |
Hans-G?nter@23239 | 39 make && |
Hans-G?nter@23239 | 40 make DESTDIR=$DESTDIR install |
mallory@3116 | 41 } |
mallory@3116 | 42 |
mallory@3116 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@3116 | 44 genpkg_rules() |
mallory@3116 | 45 { |
samuel_trassare@12062 | 46 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@23239 | 47 |
Hans-G?nter@23239 | 48 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 49 cp -a $install/usr/share/icons/hicolor/32x32/apps/nitrogen.png \ |
Hans-G?nter@23239 | 50 $fs/usr/share/pixmaps/ |
mallory@3116 | 51 } |
mallory@3116 | 52 |