wok-next annotate gpicview/receipt @ rev 19814
Up gpicview, libunique, lxappearance-obconf, lxde-icon-theme, lxinput, lxrandr, lxsession, lxtask, openbox, pcre, pcre2, tazpkg, tcc, vte. Add lsb-release, lxde-common. Remove libunique-gtk3 (break build, no one depends on it, and deprecated by gnome itself), lguest (part of "linux" receipt), libmysqlclient (part of "mysql" receipt).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 21 14:44:00 2017 +0300 (2017-07-21) |
parents | e70c0b9c5adf |
children | 60bd4df08f57 |
rev | line source |
---|---|
al@19814 | 1 # SliTaz package receipt v2. |
pankso@257 | 2 |
pankso@257 | 3 PACKAGE="gpicview" |
al@19814 | 4 VERSION="0.2.5" |
pankso@257 | 5 CATEGORY="graphics" |
al@17992 | 6 SHORT_DESC="Lightweight image viewer" |
pankso@257 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@15000 | 9 WEB_SITE="http://lxde.sourceforge.net/gpicview/" |
pankso@16261 | 10 HOST_ARCH="i486 arm" |
pascal@15000 | 11 |
al@19814 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19814 | 13 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
al@19814 | 14 |
al@19814 | 15 BUILD_DEPENDS="intltool gtk+-dev" |
pankso@257 | 16 |
pankso@257 | 17 # Rules to configure and make the package. |
pankso@257 | 18 compile_rules() |
pankso@257 | 19 { |
al@19814 | 20 # http://www.linuxfromscratch.org/blfs/view/stable/lxde/gpicview.html |
al@19814 | 21 sed -i 's|Utility;||' gpicview.desktop.in |
al@19814 | 22 |
pankso@257 | 23 ./configure \ |
pascal@2516 | 24 $CONFIGURE_ARGS && |
pankso@16261 | 25 make && make install |
pankso@257 | 26 } |
pankso@257 | 27 |
pankso@257 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@257 | 29 genpkg_rules() |
pankso@257 | 30 { |
al@19814 | 31 # skip pixmaps and icons (found in the icon theme) |
al@19814 | 32 copy bin/ *.desktop *.ui |
al@19814 | 33 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ libjpeg-turbo \ |
al@19814 | 34 pango xorg-libX11" |
al@19814 | 35 TAGS="LXDE" |
pankso@257 | 36 } |