generated from packages/package_template
[world] 'vivaldi-7.6.3797.63-1' add
All checks were successful
Publish / Build and publish (push) Successful in -1m35s
All checks were successful
Publish / Build and publish (push) Successful in -1m35s
This commit is contained in:
3
.artixlinux/Jenkinsfile
vendored
Normal file
3
.artixlinux/Jenkinsfile
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
@Library('artix-ci@orion') import org.artixlinux.RepoPackage
|
||||||
|
|
||||||
|
PackagePipeline(new RepoPackage(this))
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
---
|
---
|
||||||
team: world
|
team: world
|
||||||
actions:
|
actions:
|
||||||
addRepo: null
|
addRepo: world
|
||||||
removeRepo: null
|
removeRepo: null
|
||||||
triggersBuild: false
|
triggersBuild: true
|
||||||
triggersRebuild: false
|
triggersRebuild: false
|
||||||
triggersRepoAdd: false
|
triggersRepoAdd: true
|
||||||
triggersRepoRemove: false
|
triggersRepoRemove: false
|
||||||
triggersNoCheck: false
|
triggersNoCheck: false
|
||||||
repos:
|
repos:
|
||||||
@@ -30,8 +30,9 @@ repos:
|
|||||||
packages: []
|
packages: []
|
||||||
debug: []
|
debug: []
|
||||||
world:
|
world:
|
||||||
version: null
|
version: 7.6.3797.63-1
|
||||||
packages: []
|
packages:
|
||||||
|
- vivaldi-7.6.3797.63-1-x86_64.pkg.tar.zst
|
||||||
debug: []
|
debug: []
|
||||||
lib32-goblins:
|
lib32-goblins:
|
||||||
version: null
|
version: null
|
||||||
|
|||||||
48
.artixlinux/srcinfo.yaml
Normal file
48
.artixlinux/srcinfo.yaml
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
---
|
||||||
|
version: 7.6.3797.63-1
|
||||||
|
pkgbase:
|
||||||
|
name: vivaldi
|
||||||
|
pkgdesc: An advanced browser made with the power user in mind.
|
||||||
|
pkgver: 7.6.3797.63
|
||||||
|
pkgrel: 1
|
||||||
|
url: https://vivaldi.com
|
||||||
|
arch:
|
||||||
|
- x86_64
|
||||||
|
license:
|
||||||
|
- custom
|
||||||
|
makedepends:
|
||||||
|
- w3m
|
||||||
|
depends:
|
||||||
|
- alsa-lib
|
||||||
|
- at-spi2-core
|
||||||
|
- cairo
|
||||||
|
- libcups
|
||||||
|
- libxss
|
||||||
|
- nss
|
||||||
|
- pango
|
||||||
|
- ttf-font
|
||||||
|
- desktop-file-utils
|
||||||
|
- shared-mime-info
|
||||||
|
- hicolor-icon-theme
|
||||||
|
optdepends:
|
||||||
|
- 'vivaldi-ffmpeg-codecs: playback of proprietary video/audio'
|
||||||
|
- 'org.freedesktop.secrets: better secret storage in gnome-keyring or kwallet'
|
||||||
|
- 'libnotify: native notifications'
|
||||||
|
- 'pipewire: WebRTC desktop sharing under Wayland'
|
||||||
|
- 'gtk3: gtk3 integration'
|
||||||
|
- 'gtk4: for use with --gtk-version=4'
|
||||||
|
- 'qt5-base: qt5 integration'
|
||||||
|
- 'qt6-base: qt6 integration'
|
||||||
|
- 'upower: Battery Status API support'
|
||||||
|
options:
|
||||||
|
- '!strip'
|
||||||
|
- '!zipman'
|
||||||
|
source:
|
||||||
|
- https://downloads.vivaldi.com/stable/vivaldi-stable-7.6.3797.63-1.x86_64.rpm
|
||||||
|
- 0001-add-support-for-user-flags.patch
|
||||||
|
sha512sums:
|
||||||
|
- 679e42738c50fe48a14106bd4b4e44e5400715136f1f8f91277f7dd6b99c4b775f37013cd9af2b35d0b5a97d2a283ea47f876ec3f3c39595135b375cefd21a4b
|
||||||
|
- a9bdab0fb0f394af17d1b126bae2d0cdc55e63eaa6eaf36eb994735047d3d7bc5000d75ab930f74b76b283c5addefbd4e4e63c5e4f2908bd53c270e73641c19d
|
||||||
|
pkgname:
|
||||||
|
- name: vivaldi
|
||||||
|
# generated with artixpkg 0.37.4-1-any
|
||||||
37
0001-add-support-for-user-flags.patch
Normal file
37
0001-add-support-for-user-flags.patch
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
From 68c2dec905a7c88895c458dd40708ab9989385cf Mon Sep 17 00:00:00 2001
|
||||||
|
From: BlackEagle <ike.devolder@gmail.com>
|
||||||
|
Date: Wed, 19 Jan 2022 20:57:58 +0100
|
||||||
|
Subject: [PATCH] add support for user flags
|
||||||
|
|
||||||
|
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
|
||||||
|
---
|
||||||
|
vivaldi-stable | 9 ++++++++-
|
||||||
|
1 file changed, 8 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/vivaldi-stable b/vivaldi-stable
|
||||||
|
index 5b5f1bf..8e95859 100755
|
||||||
|
--- a/vivaldi-stable
|
||||||
|
+++ b/vivaldi-stable
|
||||||
|
@@ -53,6 +53,13 @@ export CHROME_VERSION_EXTRA="stable"
|
||||||
|
# We don't want bug-buddy intercepting our crashes. http://crbug.com/24120
|
||||||
|
export GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME
|
||||||
|
|
||||||
|
+# Allow users to override command-line options
|
||||||
|
+XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-$HOME/.config}
|
||||||
|
+VIVALDI_USER_FLAGS=""
|
||||||
|
+if [[ -f "$XDG_CONFIG_HOME/vivaldi-$CHROME_VERSION_EXTRA.conf" ]]; then
|
||||||
|
+ VIVALDI_USER_FLAGS="$(cat "$XDG_CONFIG_HOME/vivaldi-$CHROME_VERSION_EXTRA.conf" | sed -e '/^\s*#/d')"
|
||||||
|
+fi
|
||||||
|
+
|
||||||
|
# Sanitize std{in,out,err} because they'll be shared with untrusted child
|
||||||
|
# processes (http://crbug.com/376567).
|
||||||
|
exec < /dev/null
|
||||||
|
@@ -60,4 +67,4 @@ exec > >(exec cat)
|
||||||
|
exec 2> >(exec cat >&2)
|
||||||
|
|
||||||
|
# Note: exec -a below is a bashism.
|
||||||
|
-exec -a "$0" "$HERE/vivaldi-bin" "$@"
|
||||||
|
+exec -a "$0" "$HERE/vivaldi-bin" $VIVALDI_USER_FLAGS "$@"
|
||||||
|
--
|
||||||
|
2.34.1
|
||||||
|
|
||||||
12
LICENSE
Normal file
12
LICENSE
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
Copyright Arch Linux Contributors
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for
|
||||||
|
any purpose with or without fee is hereby granted.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL
|
||||||
|
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
|
||||||
|
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
|
||||||
|
FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
|
||||||
|
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
|
||||||
|
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
||||||
|
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
1
LICENSES/0BSD.txt
Symbolic link
1
LICENSES/0BSD.txt
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../LICENSE
|
||||||
85
PKGBUILD
Normal file
85
PKGBUILD
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
# Maintainer: Cory Sanin <corysanin@artixlinux.org>
|
||||||
|
# Contributor: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
|
||||||
|
# Contributor: TZ86
|
||||||
|
|
||||||
|
pkgname=vivaldi
|
||||||
|
_rpmversion=7.6.3797.63-1
|
||||||
|
pkgver=7.6.3797.63
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='An advanced browser made with the power user in mind.'
|
||||||
|
url="https://vivaldi.com"
|
||||||
|
options=(!strip !zipman)
|
||||||
|
license=('custom')
|
||||||
|
arch=('x86_64')
|
||||||
|
depends=(
|
||||||
|
'alsa-lib'
|
||||||
|
'at-spi2-core'
|
||||||
|
'cairo'
|
||||||
|
'libcups'
|
||||||
|
'libxss'
|
||||||
|
'nss'
|
||||||
|
'pango'
|
||||||
|
'ttf-font'
|
||||||
|
'desktop-file-utils'
|
||||||
|
'shared-mime-info'
|
||||||
|
'hicolor-icon-theme'
|
||||||
|
)
|
||||||
|
makedepends=('w3m')
|
||||||
|
optdepends=(
|
||||||
|
'vivaldi-ffmpeg-codecs: playback of proprietary video/audio'
|
||||||
|
'org.freedesktop.secrets: better secret storage in gnome-keyring or kwallet'
|
||||||
|
'libnotify: native notifications'
|
||||||
|
'pipewire: WebRTC desktop sharing under Wayland'
|
||||||
|
'gtk3: gtk3 integration'
|
||||||
|
'gtk4: for use with --gtk-version=4'
|
||||||
|
'qt5-base: qt5 integration'
|
||||||
|
'qt6-base: qt6 integration'
|
||||||
|
'upower: Battery Status API support'
|
||||||
|
)
|
||||||
|
source=("https://downloads.vivaldi.com/stable/vivaldi-stable-${_rpmversion}.x86_64.rpm"
|
||||||
|
'0001-add-support-for-user-flags.patch')
|
||||||
|
sha512sums=('679e42738c50fe48a14106bd4b4e44e5400715136f1f8f91277f7dd6b99c4b775f37013cd9af2b35d0b5a97d2a283ea47f876ec3f3c39595135b375cefd21a4b'
|
||||||
|
'a9bdab0fb0f394af17d1b126bae2d0cdc55e63eaa6eaf36eb994735047d3d7bc5000d75ab930f74b76b283c5addefbd4e4e63c5e4f2908bd53c270e73641c19d')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cp --parents -a {opt,usr/bin,usr/share} "$pkgdir"
|
||||||
|
|
||||||
|
# add support for ~/.config/vivaldi-stable.conf
|
||||||
|
patch -p1 -i "$srcdir/0001-add-support-for-user-flags.patch" \
|
||||||
|
"$pkgdir/opt/$pkgname/$pkgname"
|
||||||
|
# remove "orig" leftover if it is there
|
||||||
|
rm -f "$pkgdir/opt/$pkgname/$pkgname.orig"
|
||||||
|
|
||||||
|
# suid sandbox
|
||||||
|
chmod 4755 "$pkgdir/opt/$pkgname/vivaldi-sandbox"
|
||||||
|
|
||||||
|
install -dm755 "$pkgdir/usr/bin"
|
||||||
|
|
||||||
|
# make /usr/bin/vivaldi-stable available
|
||||||
|
binf="$pkgdir/usr/bin/vivaldi-stable"
|
||||||
|
if [[ ! -e "$binf" ]] && [[ ! -f "$binf" ]] && [[ ! -L "$binf" ]]; then
|
||||||
|
ln -s /opt/vivaldi/vivaldi "$binf"
|
||||||
|
fi
|
||||||
|
# make /usr/bin/vivaldi available
|
||||||
|
binf="$pkgdir/usr/bin/vivaldi"
|
||||||
|
if [[ ! -e "$binf" ]] && [[ ! -f "$binf" ]] && [[ ! -L "$binf" ]]; then
|
||||||
|
ln -s /opt/vivaldi/vivaldi "$binf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Vivaldi has different design for each size of icons. Avoid using them.
|
||||||
|
install -d "$pkgdir/usr/share/pixmaps"
|
||||||
|
# TEMP hack, should be properly provided icon
|
||||||
|
ln -sf /opt/${pkgname}/resources/${pkgname}/resources/welcomepage-vivaldi.svg "$pkgdir/usr/share/pixmaps/${pkgname}.svg"
|
||||||
|
ln -sf /opt/${pkgname}/product_logo_256.png "$pkgdir/usr/share/pixmaps/${pkgname}.png"
|
||||||
|
|
||||||
|
# license
|
||||||
|
install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
|
||||||
|
w3m -dump "$pkgdir/opt/$pkgname/LICENSE.html" \
|
||||||
|
| head -n 5 \
|
||||||
|
> "$pkgdir/usr/share/licenses/$pkgname/license.txt"
|
||||||
|
|
||||||
|
# https://archlinux.org/todo/legacy-path-for-metainfo-files/
|
||||||
|
install -Dm644 "usr/share/appdata/$pkgname.appdata.xml" -t \
|
||||||
|
"$pkgdir/usr/share/metainfo/"
|
||||||
|
rm -rv "$pkgdir/usr/share/appdata"
|
||||||
|
}
|
||||||
24
REUSE.toml
Normal file
24
REUSE.toml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
version = 1
|
||||||
|
|
||||||
|
[[annotations]]
|
||||||
|
path = [
|
||||||
|
"PKGBUILD",
|
||||||
|
"README.md",
|
||||||
|
"keys/**",
|
||||||
|
".SRCINFO",
|
||||||
|
".nvchecker.toml",
|
||||||
|
"*.install",
|
||||||
|
"*.sysusers",
|
||||||
|
"*.tmpfiles",
|
||||||
|
"*.logrotate",
|
||||||
|
"*.pam",
|
||||||
|
"*.service",
|
||||||
|
"*.socket",
|
||||||
|
"*.timer",
|
||||||
|
"*.desktop",
|
||||||
|
"*.hook",
|
||||||
|
"0001-add-support-for-user-flags.patch",
|
||||||
|
]
|
||||||
|
SPDX-FileCopyrightText = "Arch Linux contributors"
|
||||||
|
SPDX-License-Identifier = "0BSD"
|
||||||
|
|
||||||
Reference in New Issue
Block a user