wok-next view xombrero/receipt @ rev 21080

Update tiff (4.0.10): libs -> into libtiff, apps -> into tiff
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 24 02:07:02 2018 +0200 (2018-12-24)
parents d5aab818505e
children 82b613cfd1e0
line source
1 # SliTaz package receipt v2.
3 # From official github repo:
4 # xombrero has been retired and is no longer under development and supported.
5 PACKAGE="xombrero"
6 VERSION="1.6.4.postgit20160506"
7 COMMIT="28d1406"
8 CATEGORY="network"
9 SHORT_DESC="A minimalist web browser with sophisticated security features"
10 MAINTAINER="claudinei@slitaz.org"
11 LICENSE="ISC"
12 WEB_SITE="https://github.com/conformal/xombrero"
14 TARBALL="$PACKAGE-$VERSION.tar.gz"
15 WGET_URL="https://github.com/conformal/xombrero/archive/$COMMIT.tar.gz"
17 BUILD_DEPENDS="glib-dev gtk2-dev webkitgtk-dev libsoup-dev gnutls-dev \
18 libbsd-dev perl mandoc" # groff absent yet, so we use mandoc and patch
20 compile_rules() {
21 find -type f -print0 | xargs -0 sed -i 's|/usr/local|/usr|'
22 cp -f $stuff/xombrero.desktop .
23 sed -i 's|https://www.cyphertite.com|http://www.slitaz.org/|' \
24 xombrero.c xombrero.conf xombrero.h
25 sed -i 's|/etc/ssl/cert.pem|/etc/ssl/ca-bundle.crt|' xombrero.conf
26 sed -i 's|gtk+-2.0|& javascriptcoregtk-1.0|; s|gnutls|& libbsd|' linux/Makefile
28 make -j1 PREFIX="/usr" -C linux GTK_VERSION="gtk2" install || return 1
30 mkdir -p $install/etc
31 cp $stuff/xombrero.conf $install/etc
33 # Link icons
34 for size in 16 32 48 64 128 256; do
35 mkdir -p $install/usr/share/icons/hicolor/${size}x$size/apps
36 ln -s ../../../../xombrero/xombreroicon$size.png \
37 $install/usr/share/icons/hicolor/${size}x$size/apps/xombrero.png
38 done
39 }
41 genpkg_rules() {
42 copy @std
43 CONFIG_FILES="/etc/xombrero.conf"
44 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk2 libbsd \
45 libgnutls libsoup pango webkitgtk libx11"
46 TAGS="web-browser"
47 }