Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libsForQt5.plasmaMobileGear: 21.08 -> 22.04 #153329

Merged
merged 6 commits into from
May 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions pkgs/applications/plasma-mobile/angelfish.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
, cmake
, corrosion
, extra-cmake-modules
, gcc11
, kconfig
, kcoreaddons
, kdbusaddons
Expand All @@ -19,8 +20,8 @@
, srcs

# These must be updated in tandem with package updates.
, cargoShaForVersion ? "21.08"
, cargoSha256 ? "1pbvw9hdzn3i97mahdy9y6jnjsmwmjs3lxfz7q6r9r10i8swbkak"
, cargoShaForVersion ? "22.04"
, cargoSha256 ? "RtdZMBKixC3mdHeFXY9u0pHyDv93Z8p4EVY+lz1aISM="
}:

# Guard against incomplete updates.
Expand All @@ -45,6 +46,7 @@ mkDerivation rec {
cmake
corrosion
extra-cmake-modules
gcc11 # doesn't build with GCC 9 from stdenv on aarch64
] ++ (with rustPlatform; [
cargoSetupHook
rust.cargo
Expand Down
21 changes: 6 additions & 15 deletions pkgs/applications/plasma-mobile/audiotube.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ lib
, mkDerivation
, fetchpatch

, extra-cmake-modules
, gcc11

, kcoreaddons
, kcrash
Expand All @@ -16,16 +16,9 @@
mkDerivation rec {
pname = "audiotube";

patches = [
# Fix compatibility with ytmusicapi 0.19.1
(fetchpatch {
dotlambda marked this conversation as resolved.
Show resolved Hide resolved
url = "https://invent.kde.org/plasma-mobile/audiotube/-/commit/734caa02805988200f923b88d1590b3f7dac8ac2.patch";
sha256 = "0zq4f0w84dv0630bpvmqkfmhxbvibr2fxhzy6d2mnf098028gzyd";
})
];

nativeBuildInputs = [
extra-cmake-modules
gcc11 # doesn't build with GCC 9 from stdenv on aarch64
python3Packages.wrapPython
python3Packages.pybind11
];
Expand All @@ -37,13 +30,11 @@ mkDerivation rec {
kirigami2
qtmultimedia
qtquickcontrols2
python3Packages.youtube-dl
python3Packages.ytmusicapi
];
] ++ pythonPath;

pythonPath = [
python3Packages.youtube-dl
python3Packages.ytmusicapi
pythonPath = with python3Packages; [
yt-dlp
ytmusicapi
];

preFixup = ''
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/plasma-mobile/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ let
krecorder = callPackage ./krecorder.nix {};
ktrip = callPackage ./ktrip.nix {};
kweather = callPackage ./kweather.nix {};
neochat = callPackage ./neochat.nix {};
plasma-dialer = callPackage ./plasma-dialer.nix {};
plasma-phonebook = callPackage ./plasma-phonebook.nix {};
plasma-settings = callPackage ./plasma-settings.nix {};
plasmatube = callPackage ./plasmatube.nix {};
spacebar = callPackage ./spacebar.nix {};
};

Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/plasma-mobile/fetch.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
WGET_ARGS=( https://download.kde.org/stable/plasma-mobile/21.08/ -A '*.tar.xz' )
WGET_ARGS=( https://download.kde.org/stable/plasma-mobile/22.04/ -A '*.tar.xz' )
8 changes: 7 additions & 1 deletion pkgs/applications/plasma-mobile/kasts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@
, kcoreaddons
, ki18n
, kirigami2
, networkmanager-qt
, qtkeychain
, qtmultimedia
, qtquickcontrols2
, syndication
, taglib
}:

let
Expand All @@ -37,9 +40,12 @@ mkDerivation rec {
kcoreaddons
ki18n
kirigami2
qtquickcontrols2
networkmanager-qt
qtkeychain
qtmultimedia
qtquickcontrols2
syndication
taglib
];

preFixup = ''
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/plasma-mobile/krecorder.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
, extra-cmake-modules

, kconfig
, kcoreaddons
, ki18n
, kirigami2
, qtmultimedia
Expand All @@ -21,6 +22,7 @@ mkDerivation rec {

buildInputs = [
kconfig
kcoreaddons
ki18n
kirigami2
qtmultimedia
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ mkDerivation
, lib
, fetchFromGitLab
, pkg-config
, cmake
, cmark
Expand Down Expand Up @@ -28,15 +27,6 @@

mkDerivation rec {
pname = "neochat";
version = "22.02";

src = fetchFromGitLab {
dotlambda marked this conversation as resolved.
Show resolved Hide resolved
domain = "invent.kde.org";
owner = "network";
repo = pname;
rev = "v${version}";
sha256 = "sha256-7EBnHuwpyJ/bGrCldZHWOwcnJWDIDaNWZXHkCYkOTjs=";
};

nativeBuildInputs = [ cmake extra-cmake-modules pkg-config ];

Expand Down Expand Up @@ -64,7 +54,7 @@ mkDerivation rec {
];

meta = with lib; {
description = "A client for matrix, the decentralized communication protocol.";
description = "A client for matrix, the decentralized communication protocol";
homepage = "https://apps.kde.org/en/neochat";
license = licenses.gpl3Only;
maintainers = with maintainers; [ peterhoeg ];
Expand Down
16 changes: 8 additions & 8 deletions pkgs/applications/plasma-mobile/plasma-dialer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
, cmake
, extra-cmake-modules

, callaudiod
, kcontacts
, kcoreaddons
, kdbusaddons
Expand All @@ -12,12 +13,11 @@
, knotifications
, kpeople
, libphonenumber
, libpulseaudio
, libqofono
, modemmanager-qt
, protobuf
, pulseaudio-qt
, qtfeedback
, qtmpris
, qtquickcontrols2
, telepathy
}:

mkDerivation rec {
Expand All @@ -29,6 +29,7 @@ mkDerivation rec {
];

buildInputs = [
callaudiod
kcontacts
kcoreaddons
kdbusaddons
Expand All @@ -37,12 +38,11 @@ mkDerivation rec {
knotifications
kpeople
libphonenumber
libpulseaudio
libqofono
modemmanager-qt
protobuf # Needed by libphonenumber
pulseaudio-qt
qtfeedback
qtmpris
qtquickcontrols2
telepathy
];

meta = with lib; {
Expand Down
4 changes: 4 additions & 0 deletions pkgs/applications/plasma-mobile/plasma-settings.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
, kdbusaddons
, ki18n
, kitemmodels
, modemmanager-qt
, networkmanager-qt
, plasma-framework
}:

Expand All @@ -29,6 +31,8 @@ mkDerivation rec {
kdbusaddons
ki18n
kitemmodels
modemmanager-qt
networkmanager-qt
plasma-framework
];

Expand Down
41 changes: 41 additions & 0 deletions pkgs/applications/plasma-mobile/plasmatube.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{ lib
, mkDerivation
, cmake
, extra-cmake-modules
, gst_all_1
, kcoreaddons
, kdeclarative
, ki18n
, kirigami2
, qtmultimedia
, qtquickcontrols2
}:

mkDerivation {
pname = "plasmatube";

nativeBuildInputs = [
extra-cmake-modules
];

buildInputs = [
kcoreaddons
kdeclarative
ki18n
kirigami2
qtmultimedia
qtquickcontrols2
] ++ (with gst_all_1; [
gst-plugins-bad
gst-plugins-base
gst-plugins-good
gstreamer
]);

meta = {
description = "Youtube player powered by an invidious server";
homepage = "https://invent.kde.org/plasma-mobile/plasmatube";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
9 changes: 6 additions & 3 deletions pkgs/applications/plasma-mobile/spacebar.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
, kpeople
, libphonenumber
, libqofono
, modemmanager-qt
, protobuf
, telepathy
, qcoro
, qtquickcontrols2
}:

mkDerivation rec {
Expand All @@ -30,9 +32,10 @@ mkDerivation rec {
knotifications
kpeople
libphonenumber
libqofono
modemmanager-qt
protobuf # Needed by libphonenumber
telepathy
qcoro
qtquickcontrols2
];

meta = with lib; {
Expand Down
Loading