Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
a8fe0722
Commit
a8fe0722
authored
Oct 24, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve vivaldi prescription
parent
ebe78d28
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
31 deletions
+10
-31
vivaldi.sh
prescription.d/vivaldi.sh
+6
-31
vivaldi-stable.sh
repack.d/vivaldi-stable.sh
+4
-0
No files found.
prescription.d/vivaldi.sh
View file @
a8fe0722
...
@@ -9,46 +9,21 @@ fatal()
...
@@ -9,46 +9,21 @@ fatal()
[
"
$1
"
!=
"--run"
]
&&
echo
"Install Vivaldi browser from the official site"
&&
exit
[
"
$1
"
!=
"--run"
]
&&
echo
"Install Vivaldi browser from the official site"
&&
exit
# TODO: use --debian-arch?
arch
=
"
$(
distro_info
--debian-arch
)
"
# convert to debian notation
case
"
$arch
"
in
case
"
$(
distro_info
-a
)
"
in
amd64|i386|armhf
)
x86_64
)
arch
=
amd64
;;
x86
)
arch
=
i386
;;
armhf
)
arch
=
armhf
;;
;;
*
)
*
)
fatal
"
$(
distro_info
-a
)
arch is not supported"
fatal
"
Debian
$arch
arch is not supported"
;;
;;
esac
esac
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=vivaldi
#
See also
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=vivaldi
# TODO:
# TODO:
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=vivaldi-ffmpeg-codecs
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=vivaldi-ffmpeg-codecs
# return delimiter sign in depend of package type
get_pkg_name_delimiter
()
{
local
pkgtype
=
"
$1
"
[
-n
"
$pkgtype
"
]
&&
pkgtype
=
"
$(
$DISTRVENDOR
-p
)
"
[
"
$pkgtype
"
=
"deb"
]
&&
echo
"_"
&&
return
echo
"-"
}
# https://repo.vivaldi.com/archive/rpm/x86_64/
# https://repo.vivaldi.com/archive/rpm/x86_64/
# https://repo.vivaldi.com/archive/rpm/x86_64/vivaldi-stable-3.4.2066.86-1.x86_64.rpm
# https://repo.vivaldi.com/archive/rpm/i386/vivaldi-stable-3.4.2066.86-1.i386.rpm
# https://repo.vivaldi.com/archive/deb/pool/main/
#ds=$(get_pkg_name_delimiter)
#epm install "https://downloads.vivaldi.com/stable/vivaldi-stable$ds${_rpmversion}${ds/-/./}$arch.$(distro_info -p)"
# epm uses eget to download * names
# epm uses eget to download * names
epm
install
"https://repo.vivaldi.com/archive/deb/pool/main/vivaldi-stable_*_
$arch
.deb
"
epm
--noscripts
install
"https://repo.vivaldi.com/archive/deb/pool/main/
$(
epm print constructname vivaldi-stable
"*"
$arch
deb
)
"
repack.d/vivaldi-stable.sh
View file @
a8fe0722
...
@@ -14,3 +14,7 @@ done
...
@@ -14,3 +14,7 @@ done
rm
-f
$BUILDROOT
/etc/cron.daily/
$PRODUCT
rm
-f
$BUILDROOT
/etc/cron.daily/
$PRODUCT
subst
"s|.*/etc/cron.daily/
$PRODUCT
.*||"
$SPEC
subst
"s|.*/etc/cron.daily/
$PRODUCT
.*||"
$SPEC
subst
"1i%filter_from_requires /.opt.google.chrome.WidevineCdm/d"
$SPEC
echo
"You also can install chrome via epm play chrome to use WidevineCdm"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment