wok-next annotate vivaldi/receipt @ rev 20790
1. update also pinentry-gtk to new version 2. add to both fltk-dev so fltk-config is found 3. I want to force also a build to see if it really builds OKish here (see wok-build)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 11:23:42 2018 +0000 (2018-06-09) |
parents | c0521c689857 |
children | d2950281f122 |
rev | line source |
---|---|
al@20126 | 1 # SliTaz package receipt v2. |
al@20126 | 2 |
al@20126 | 3 PACKAGE="vivaldi" |
al@20126 | 4 VERSION="1.12.955.48" |
al@20126 | 5 CATEGORY="network" |
al@20126 | 6 SHORT_DESC="An advanced browser made with the power user in mind" |
al@20126 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20126 | 8 LICENSE="custom" |
al@20126 | 9 WEB_SITE="https://vivaldi.com/" |
al@20504 | 10 HOST_ARCH="i486 x86_64" |
al@20126 | 11 |
al@20504 | 12 TARBALL="vivaldi-stable-$VERSION-1.${ARCH/i486/i386}.rpm" |
al@20126 | 13 WGET_URL="https://downloads.vivaldi.com/stable/$TARBALL" |
al@20126 | 14 |
al@20126 | 15 compile_rules() { |
al@20126 | 16 mkdir -p $install |
al@20126 | 17 cp -a ./opt/ ./usr/ $install |
al@20126 | 18 |
al@20126 | 19 # link icons |
al@20126 | 20 for size in 16 48; do |
al@20126 | 21 mkdir -p $install/usr/share/icons/hicolor/${size}x$size/apps |
al@20126 | 22 ln -s ../../../../../../opt/vivaldi/product_logo_$size.png \ |
al@20126 | 23 $install/usr/share/icons/hicolor/${size}x$size/apps/vivaldi.png |
al@20126 | 24 done |
al@20126 | 25 |
al@20126 | 26 # remome useless comments (after sdft) |
al@20126 | 27 sed -i '/^#/d' $install/usr/share/applications/vivaldi-stable.desktop |
al@20126 | 28 |
al@20126 | 29 # suid sandbox |
al@20126 | 30 chmod 4755 $install/opt/vivaldi/vivaldi-sandbox |
al@20126 | 31 |
al@20126 | 32 # extract license |
al@20126 | 33 mkdir -p $install/usr/share/licenses/$PACKAGE |
al@20126 | 34 sed '/<!DOCTYPE/,/<\/html>/!d' $src/opt/vivaldi/locales/en-US.pak \ |
al@20126 | 35 | sed 's|.*<!DOCTYPE|<!DOCTYPE|' \ |
al@20126 | 36 > $install/usr/share/licenses/$PACKAGE/EULA.html |
al@20126 | 37 } |
al@20126 | 38 |
al@20126 | 39 genpkg_rules() { |
al@20126 | 40 copy opt/ usr/ |
al@20126 | 41 DEPENDS="GConf alsa-lib atk cairo dbus expat fontconfig gdk-pixbuf glib \ |
al@20126 | 42 gtk+3 libcups nspr nss pango xorg-libX11 xorg-libXScrnSaver \ |
al@20126 | 43 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXext \ |
al@20126 | 44 xorg-libXfixes xorg-libXi xorg-libXrandr xorg-libXrender xorg-libXtst \ |
al@20502 | 45 xorg-libxcb bash mesa" |
al@20126 | 46 TAGS="web-browser" |
al@20126 | 47 } |