Commit 11d14ef9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play vivaldi: add support for snapshot install

parent a32c8ab1
#!/bin/sh #!/bin/sh
PKGNAME=vivaldi-stable
DESCRIPTION="Vivaldi browser from the official site" DESCRIPTION="Vivaldi browser from the official site"
BRANCH=stable
if [ "$2" = "snapshot" ] || epm installed vivaldi-snapshot ; then
BRANCH=snapshot
fi
PKGNAME=vivaldi-$BRANCH
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
......
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=vivaldi
PRODUCTCUR=vivaldi-snapshot
PRODUCTDIR=/opt/vivaldi
. $(dirname $0)/common-chromium-browser.sh
subst '1iConflicts:vivaldi-stable' $SPEC
set_alt_alternatives 65
copy_icons_to_share
cleanup
add_bin_commands
use_system_xdg
install_deps
subst "1i%filter_from_requires /.opt.google.chrome.WidevineCdm/d" $SPEC
echo "You also can install chrome via epm play chrome to use WidevineCdm"
...@@ -7,9 +7,10 @@ PRODUCT=vivaldi ...@@ -7,9 +7,10 @@ PRODUCT=vivaldi
PRODUCTCUR=vivaldi-stable PRODUCTCUR=vivaldi-stable
PRODUCTDIR=/opt/vivaldi PRODUCTDIR=/opt/vivaldi
. $(dirname $0)/common-chromium-browser.sh . $(dirname $0)/common-chromium-browser.sh
subst '1iConflicts:vivaldi-snapshot' $SPEC
set_alt_alternatives 65 set_alt_alternatives 65
copy_icons_to_share copy_icons_to_share
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment