wok-next rev 3116
Add: Nitrogen - Background browser and setter
author | Mallory MOLLO <mallory@skyrock.com> |
---|---|
date | Mon May 18 22:58:29 2009 +0200 (2009-05-18) |
parents | 8add1c162d49 |
children | f2968cc8e5fe |
files | nitrogen/receipt nitrogen/stuff/nitrogen.desktop |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/nitrogen/receipt Mon May 18 22:58:29 2009 +0200 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="nitrogen" 1.7 +VERSION="1.4" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Nitrogen is a background browser and setter for X windows." 1.10 +MAINTAINER="mallory@sweetpeople.org" 1.11 +DEPENDS="gtkmm libpng" 1.12 +BUILD_DEPENDS="gtkmm-dev libpng-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://projects.l3ib.org/nitrogen" 1.15 +WGET_URL="$WEB_SITE/files/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + sed -e '/png.h/d' < src/Thumbview.cc > src/Thumbview.cc.patched 1.22 + mv src/Thumbview.cc.patched src/Thumbview.cc 1.23 + ./configure \ 1.24 + --prefix=/usr \ 1.25 + --infodir=/usr/share/info \ 1.26 + --mandir=/usr/share/man \ 1.27 + $CONFIGURE_ARGS && 1.28 + make && make DESTDIR=$PWD/_pkg install 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications 1.35 + cp -a $_pkg/usr/bin $fs/usr 1.36 + cp -a $_pkg/usr/share/icons/hicolor/32x32/apps/nitrogen.png $fs/usr/share/pixmaps/ 1.37 + cp -a stuff/nitrogen.desktop $fs/usr/share/applications/ 1.38 +} 1.39 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/nitrogen/stuff/nitrogen.desktop Mon May 18 22:58:29 2009 +0200 2.3 @@ -0,0 +1,8 @@ 2.4 +[Desktop Entry] 2.5 +Encoding=UTF-8 2.6 +Name=Nitrogen 2.7 +Comment=Background browser and setter 2.8 +Exec=nitrogen 2.9 +Icon=nitrogen.png 2.10 +Type=Application 2.11 +Categories=Settings;DesktopSettings