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