wok-next view vivaldi/receipt @ rev 20502
Swap: current mesa (which is developing and change it's version) is just mesa, while old mesa is mesa12 now (will be removed if no one old package require it).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 16 00:27:34 2018 +0200 (2018-03-16) |
parents | d0084fe666c8 |
children | cc34674845c1 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="vivaldi"
4 VERSION="1.12.955.48"
5 CATEGORY="network"
6 SHORT_DESC="An advanced browser made with the power user in mind"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="custom"
9 WEB_SITE="https://vivaldi.com/"
11 TARBALL="vivaldi-stable-$VERSION-1.i386.rpm"
12 WGET_URL="https://downloads.vivaldi.com/stable/$TARBALL"
14 compile_rules() {
15 mkdir -p $install
16 cp -a ./opt/ ./usr/ $install
18 # link icons
19 for size in 16 48; do
20 mkdir -p $install/usr/share/icons/hicolor/${size}x$size/apps
21 ln -s ../../../../../../opt/vivaldi/product_logo_$size.png \
22 $install/usr/share/icons/hicolor/${size}x$size/apps/vivaldi.png
23 done
25 # remome useless comments (after sdft)
26 sed -i '/^#/d' $install/usr/share/applications/vivaldi-stable.desktop
28 # suid sandbox
29 chmod 4755 $install/opt/vivaldi/vivaldi-sandbox
31 # extract license
32 mkdir -p $install/usr/share/licenses/$PACKAGE
33 sed '/<!DOCTYPE/,/<\/html>/!d' $src/opt/vivaldi/locales/en-US.pak \
34 | sed 's|.*<!DOCTYPE|<!DOCTYPE|' \
35 > $install/usr/share/licenses/$PACKAGE/EULA.html
36 }
38 genpkg_rules() {
39 copy opt/ usr/
40 DEPENDS="GConf alsa-lib atk cairo dbus expat fontconfig gdk-pixbuf glib \
41 gtk+3 libcups nspr nss pango xorg-libX11 xorg-libXScrnSaver \
42 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXext \
43 xorg-libXfixes xorg-libXi xorg-libXrandr xorg-libXrender xorg-libXtst \
44 xorg-libxcb bash mesa"
45 TAGS="web-browser"
46 }