From 526fa8a028daffd6dcf97b237d1587e60e0e5953 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" <83735213+CosmicFusion@users.noreply.github.com> Date: Sun, 24 Mar 2024 21:18:37 +0300 Subject: [PATCH] Add neon src --- setup.sh | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index dc37616..a10978a 100644 --- a/setup.sh +++ b/setup.sh @@ -38,7 +38,7 @@ EOF tee /etc/apt/sources.list.d/dmo.sources <<'EOF' X-Repolib-Name: Multimedia Sources Enabled: yes -Types: deb +Types: deb deb-src URIs: https://www.deb-multimedia.org Suites: sid Components: main non-free @@ -46,6 +46,18 @@ X-Repolib-Default-Mirror: https://www.deb-multimedia.org/ Signed-By: /etc/apt/keyrings/deb-multimedia-keyring.gpg EOF +# Add Neon Src +tee /etc/apt/sources.list.d/neon.sources <<'EOF' +X-Repolib-Name: KDE Neon Sources +Enabled: yes +Types: deb-src +URIs: http://archive.neon.kde.org/user/ +Suites: jammy +Components: main +X-Repolib-Default-Mirror: http://archive.neon.kde.org/user/ +Signed-By: /etc/apt/keyrings/kde-neon-keyring.gpg +EOF + # # Workarounds Repo # echo "deb [trusted=yes] https://raw.githubusercontent.com/cosmicfusion/debian-workaround-packages-repo/main sid main" > /etc/apt/sources.list.d/cosmo-workarounds.list @@ -53,6 +65,7 @@ EOF mkdir -p /etc/apt/keyrings/ wget https://github.com/PikaOS-Linux/pika-base-debian-container/raw/main/pika-keyring.gpg.key -O /etc/apt/keyrings/pika-keyring.gpg.key wget https://github.com/PikaOS-Linux/pika-base-debian-container/raw/main/deb-multimedia-keyring.gpg -O /etc/apt/keyrings/deb-multimedia-keyring.gpg +wget https://github.com/PikaOS-Linux/pika-base-debian-container/raw/main/kde-neon-keyring.gpg -O /etc/apt/keyrings/kde-neon-keyring.gpg # Setup apt configration mkdir -p /etc/apt/preferences.d/ @@ -75,6 +88,11 @@ Package: * Pin: release o=Unofficial Multimedia Packages Pin-Priority: 400 +# Neon blacklist +Package: neon-desktop base-files +Pin: origin archive.neon.kde.org +Pin-Priority: -1 + # Give pika lowest priority because we don't want it sources overwriting Package: * Pin: release a=pikauwu,c=main