wok-current diff nitrogen/receipt @ rev 24052
Up slitaz-boot-scripts (469)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 26 19:58:37 2021 +0000 (2021-05-26) |
parents | eeba7ab1dffe |
children | 5ea0ce1cecc0 |
line diff
1.1 --- a/nitrogen/receipt Thu Jan 24 18:16:34 2019 +0100 1.2 +++ b/nitrogen/receipt Wed May 26 19:58:37 2021 +0000 1.3 @@ -1,18 +1,20 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="nitrogen" 1.7 -VERSION="1.5.2" 1.8 +VERSION="1.6.1" 1.9 CATEGORY="x-window" 1.10 -SHORT_DESC="Nitrogen is a background browser and setter for X windows." 1.11 +TAGS="wallpaper" 1.12 +SHORT_DESC="A background browser and setter for X windows." 1.13 MAINTAINER="mallory@sweetpeople.org" 1.14 LICENSE="GPL2" 1.15 +WEB_SITE="https://github.com/l3ib/nitrogen" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="https://github.com/l3ib/nitrogen" 1.19 -WGET_URL="$WEB_SITE/files/$TARBALL" 1.20 -TAGS="wallpaper" 1.21 +WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL" 1.22 1.23 -DEPENDS="gtkmm libpng gcc-lib-base" 1.24 -BUILD_DEPENDS="gtkmm gtkmm-dev libpng-dev pkg-config glib-dev gtk+-dev cairomm-dev xorg-libXinerama-dev" 1.25 +DEPENDS="gcc-lib-base gtkmm libpng" 1.26 +BUILD_DEPENDS="cairomm-dev glib-dev gtk+-dev gtkmm gtkmm-dev libpng-dev 1.27 + pkg-config xorg-libXinerama-dev" 1.28 1.29 # Rules to configure and make the package. 1.30 compile_rules() 1.31 @@ -20,23 +22,25 @@ 1.32 # Binutils 2.22 break many packages build without LDFLAGS set correctly. 1.33 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" 1.34 1.35 - cd $src 1.36 - sed -e '/png.h/d' < src/Thumbview.cc > src/Thumbview.cc.patched 1.37 - mv src/Thumbview.cc.patched src/Thumbview.cc 1.38 - ./configure \ 1.39 - --prefix=/usr \ 1.40 - --infodir=/usr/share/info \ 1.41 - --mandir=/usr/share/man \ 1.42 + sed -e '/png.h/d' < src/Thumbview.cc > src/Thumbview.cc.patched 1.43 +# mv src/Thumbview.cc.patched src/Thumbview.cc 1.44 + 1.45 + ./configure \ 1.46 + --prefix=/usr \ 1.47 + --infodir=/usr/share/info \ 1.48 + --mandir=/usr/share/man \ 1.49 $CONFIGURE_ARGS && 1.50 - make && make DESTDIR=$DESTDIR install 1.51 + make && 1.52 + make DESTDIR=$DESTDIR install 1.53 } 1.54 1.55 # Rules to gen a SliTaz package suitable for Tazpkg. 1.56 genpkg_rules() 1.57 { 1.58 mkdir -p $fs/usr/share/pixmaps 1.59 - cp -a $install/usr/bin $fs/usr 1.60 + 1.61 + cp -a $install/usr/bin $fs/usr 1.62 cp -a $install/usr/share/icons/hicolor/32x32/apps/nitrogen.png \ 1.63 - $fs/usr/share/pixmaps/ 1.64 + $fs/usr/share/pixmaps/ 1.65 } 1.66