wok-6.x annotate nitrogen/receipt @ rev 23632
updated sbackup (0.11.4 -> 0.11.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 18 14:33:42 2020 +0100 (2020-04-18) |
parents | eeba7ab1dffe |
children | 5ea0ce1cecc0 |
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 |
mallory@3116 | 19 # Rules to configure and make the package. |
mallory@3116 | 20 compile_rules() |
mallory@3116 | 21 { |
pascal@12654 | 22 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@17670 | 23 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pascal@12654 | 24 |
Hans-G?nter@23239 | 25 sed -e '/png.h/d' < src/Thumbview.cc > src/Thumbview.cc.patched |
Hans-G?nter@23239 | 26 # mv src/Thumbview.cc.patched src/Thumbview.cc |
Hans-G?nter@23239 | 27 |
Hans-G?nter@23239 | 28 ./configure \ |
Hans-G?nter@23239 | 29 --prefix=/usr \ |
Hans-G?nter@23239 | 30 --infodir=/usr/share/info \ |
Hans-G?nter@23239 | 31 --mandir=/usr/share/man \ |
mallory@3116 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@23239 | 33 make && |
Hans-G?nter@23239 | 34 make DESTDIR=$DESTDIR install |
mallory@3116 | 35 } |
mallory@3116 | 36 |
mallory@3116 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@3116 | 38 genpkg_rules() |
mallory@3116 | 39 { |
samuel_trassare@12062 | 40 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@23239 | 41 |
Hans-G?nter@23239 | 42 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 43 cp -a $install/usr/share/icons/hicolor/32x32/apps/nitrogen.png \ |
Hans-G?nter@23239 | 44 $fs/usr/share/pixmaps/ |
mallory@3116 | 45 } |
mallory@3116 | 46 |