wok-next view xombrero/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | 5669e8b3be70 |
children |
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 libcairo fontconfig freetype gdk-pixbuf glib gtk2 libbsd \
45 libgnutls libsoup pango webkitgtk libx11"
46 TAGS="web-browser"
47 }