added rpmfusion + split flatpak into flatpak and flathub...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-12-26 00:46:29 +03:00
parent a2c2e8016c
commit 5c41b319ac

View File

@ -64,6 +64,9 @@ FEATURES=(
dir dir
dnf-config dnf-config
rpmfusion
flathub
dnf dnf
flatpak flatpak
npm npm
@ -160,6 +163,12 @@ PKG_DNF=(
# apps... # apps...
krita krita
# XXX needed for OBS' virtual camera + requires rpmfusion
# $ sudo dnf install \
# https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
# $ sudo dnf install \
# https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
# v4l2loopback
) )
PKG_NPM=( PKG_NPM=(
@ -311,9 +320,23 @@ function feature-npm(){
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
function feature-flatpak(){ function feature-rpmfusion(){
@ sudo dnf install \
https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
@ sudo dnf install \
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
function feature-flathub(){
@ sudo flatpak remote-add --if-not-exists flathub \ @ sudo flatpak remote-add --if-not-exists flathub \
https://flathub.org/repo/flathub.flatpakrepo https://flathub.org/repo/flathub.flatpakrepo
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
function feature-flatpak(){
@setupList sudo flatpak install - ${PKG_FLATPAK[@]} @setupList sudo flatpak install - ${PKG_FLATPAK[@]}
} }