wok-current view nitrogen/receipt @ rev 23520
updated python-openid (2.2.4 -> 2.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 13:49:22 2020 +0100 (2020-04-06) |
parents | eeba7ab1dffe |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nitrogen"
4 VERSION="1.6.1"
5 CATEGORY="x-window"
6 TAGS="wallpaper"
7 SHORT_DESC="A background browser and setter for X windows."
8 MAINTAINER="mallory@sweetpeople.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/l3ib/nitrogen"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL"
15 DEPENDS="gcc-lib-base gtkmm libpng"
16 BUILD_DEPENDS="cairomm-dev glib-dev gtk+-dev gtkmm gtkmm-dev libpng-dev
17 pkg-config xorg-libXinerama-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
23 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
25 sed -e '/png.h/d' < src/Thumbview.cc > src/Thumbview.cc.patched
26 # mv src/Thumbview.cc.patched src/Thumbview.cc
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share/pixmaps
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/share/icons/hicolor/32x32/apps/nitrogen.png \
44 $fs/usr/share/pixmaps/
45 }