wok-next annotate xombrero/receipt @ rev 21231
updated clamtk (4.36 -> 5.27)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 03 17:21:10 2019 +0100 (2019-12-03) |
parents | 5669e8b3be70 |
children |
rev | line source |
---|---|
al@19915 | 1 # SliTaz package receipt v2. |
claudinei@14896 | 2 |
al@19915 | 3 # From official github repo: |
al@19915 | 4 # xombrero has been retired and is no longer under development and supported. |
claudinei@14896 | 5 PACKAGE="xombrero" |
al@20944 | 6 VERSION="1.6.4.postgit20160506" |
al@19915 | 7 COMMIT="28d1406" |
al@17501 | 8 CATEGORY="network" |
al@19915 | 9 SHORT_DESC="A minimalist web browser with sophisticated security features" |
claudinei@14896 | 10 MAINTAINER="claudinei@slitaz.org" |
pascal@14899 | 11 LICENSE="ISC" |
al@19915 | 12 WEB_SITE="https://github.com/conformal/xombrero" |
claudinei@14896 | 13 |
al@19915 | 14 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19915 | 15 WGET_URL="https://github.com/conformal/xombrero/archive/$COMMIT.tar.gz" |
al@19915 | 16 |
al@21017 | 17 BUILD_DEPENDS="glib-dev gtk2-dev webkitgtk-dev libsoup-dev gnutls-dev \ |
al@21020 | 18 libbsd-dev perl mandoc" # groff absent yet, so we use mandoc and patch |
claudinei@14896 | 19 |
al@20944 | 20 compile_rules() { |
pascal@17983 | 21 find -type f -print0 | xargs -0 sed -i 's|/usr/local|/usr|' |
al@18176 | 22 cp -f $stuff/xombrero.desktop . |
al@19915 | 23 sed -i 's|https://www.cyphertite.com|http://www.slitaz.org/|' \ |
al@19915 | 24 xombrero.c xombrero.conf xombrero.h |
al@19915 | 25 sed -i 's|/etc/ssl/cert.pem|/etc/ssl/ca-bundle.crt|' xombrero.conf |
al@19915 | 26 sed -i 's|gtk+-2.0|& javascriptcoregtk-1.0|; s|gnutls|& libbsd|' linux/Makefile |
al@19915 | 27 |
al@19915 | 28 make -j1 PREFIX="/usr" -C linux GTK_VERSION="gtk2" install || return 1 |
al@19915 | 29 |
al@19918 | 30 mkdir -p $install/etc |
al@19915 | 31 cp $stuff/xombrero.conf $install/etc |
al@19915 | 32 |
al@19915 | 33 # Link icons |
al@19915 | 34 for size in 16 32 48 64 128 256; do |
al@19915 | 35 mkdir -p $install/usr/share/icons/hicolor/${size}x$size/apps |
al@19915 | 36 ln -s ../../../../xombrero/xombreroicon$size.png \ |
al@19915 | 37 $install/usr/share/icons/hicolor/${size}x$size/apps/xombrero.png |
al@19915 | 38 done |
claudinei@14896 | 39 } |
claudinei@14896 | 40 |
al@20944 | 41 genpkg_rules() { |
al@19915 | 42 copy @std |
al@19915 | 43 CONFIG_FILES="/etc/xombrero.conf" |
al@21105 | 44 DEPENDS="atk libcairo fontconfig freetype gdk-pixbuf glib gtk2 libbsd \ |
al@21078 | 45 libgnutls libsoup pango webkitgtk libx11" |
al@19915 | 46 TAGS="web-browser" |
claudinei@14896 | 47 } |