summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter H. Hoeg <peter@hoeg.com>2025-07-14 09:54:14 +0800
committerPeter Hoeg <peter@hoeg.com>2025-08-11 10:42:31 +0200
commitad06f16748a178f3fa7182a9efa921895e768587 (patch)
tree5e65505e0a99b0b8f1a9ece399d53003e32e4652
parentpuddletag: 2.3.0 -> 2.5.0 (diff)
downloadnixpkgs-ad06f16748a178f3fa7182a9efa921895e768587.tar.gz
amarok: 3.2.2 -> 3.3.0
-rw-r--r--pkgs/by-name/am/amarok/package.nix (renamed from pkgs/applications/audio/amarok/default.nix)112
-rw-r--r--pkgs/top-level/all-packages.nix3
2 files changed, 54 insertions, 61 deletions
diff --git a/pkgs/applications/audio/amarok/default.nix b/pkgs/by-name/am/amarok/package.nix
index 75f2d9e807de..0e51fcfc8fc8 100644
--- a/pkgs/applications/audio/amarok/default.nix
+++ b/pkgs/by-name/am/amarok/package.nix
@@ -2,36 +2,19 @@
stdenv,
fetchurl,
lib,
+ cmake,
extra-cmake-modules,
- kdoctools,
- qca-qt5,
- qjson,
- qtquickcontrols2,
- qtscript,
- qtwebengine,
- karchive,
- kcmutils,
- kconfig,
- kdnssd,
- kguiaddons,
- kinit,
- kirigami2,
- knewstuff,
- knotifyconfig,
- ktexteditor,
- kwindowsystem,
+ pkg-config,
+ kdePackages,
fftw,
- phonon,
- plasma-framework,
- threadweaver,
- breeze-icons,
- wrapQtAppsHook,
curl,
ffmpeg,
gdk-pixbuf,
+ gst_all_1,
libaio,
- liblastfm,
libmtp,
+ libsysprof-capture,
+ libunwind,
loudmouth,
lzo,
lz4,
@@ -43,11 +26,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "amarok";
- version = "3.2.2";
+ version = "3.3.0";
src = fetchurl {
url = "mirror://kde/stable/amarok/${finalAttrs.version}/amarok-${finalAttrs.version}.tar.xz";
- sha256 = "sha256-/N48N9H4FezIiTD+bR6k1LCx7Tsz/NMt9VQq+HTdKrA=";
+ hash = "sha256-Lc5YezwUv5IOpNiQdpZOuXT8Q0VwFHKA/NHkPPFP8aw=";
};
outputs = [
@@ -55,39 +38,15 @@ stdenv.mkDerivation (finalAttrs: {
"doc"
];
- nativeBuildInputs = [
- extra-cmake-modules
- kdoctools
- wrapQtAppsHook
- ];
-
- propagatedBuildInputs = [
- qca-qt5
- qjson
- qtquickcontrols2
- qtscript
- qtwebengine
- karchive
- kcmutils
- kconfig
- kdnssd
- kguiaddons
- kinit
- kirigami2
- knewstuff
- knotifyconfig
- ktexteditor
- kwindowsystem
- phonon
- plasma-framework
- threadweaver
+ buildInputs = [
curl
fftw
ffmpeg
gdk-pixbuf
libaio
- liblastfm
libmtp
+ libsysprof-capture
+ libunwind
loudmouth
lz4
lzo
@@ -95,15 +54,52 @@ stdenv.mkDerivation (finalAttrs: {
snappy
taglib
taglib_extras
- breeze-icons
- ];
+ ]
+ ++ (with kdePackages; [
+ qca
+ qt5compat
+ qtbase
+ qtdeclarative
+ qtwebengine
+ kcmutils
+ kcoreaddons
+ kdnssd
+ kio
+ kpackage
+ kstatusnotifieritem
+ ktexteditor
+ threadweaver
+ ])
+ ++ (with gst_all_1; [
+ gstreamer
+ gst-plugins-base
+ gst-plugins-good
+ ]);
+
+ nativeBuildInputs = [
+ cmake
+ pkg-config
+ ]
+ ++ (with kdePackages; [
+ extra-cmake-modules
+ kdoctools
+ qttools
+ wrapQtAppsHook
+ ]);
+
+ env.LANG = "C.UTF-8";
- enableParallelBuilding = true;
+ postInstall = ''
+ qtWrapperArgs+=(
+ --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
+ )
+ '';
- meta = with lib; {
+ meta = {
homepage = "https://amarok.kde.org";
description = "Powerful music player with an intuitive interface";
- license = licenses.gpl2Plus;
- maintainers = with maintainers; [ peterhoeg ];
+ license = lib.licenses.gpl2Plus;
+ maintainers = with lib.maintainers; [ ];
+ mainProgram = "amarok";
};
})
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 91d9ea61329f..e6f43468a353 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -11579,9 +11579,6 @@ with pkgs;
airwave = libsForQt5.callPackage ../applications/audio/airwave { };
- amarok = libsForQt5.callPackage ../applications/audio/amarok { };
- amarok-kf5 = amarok; # for compatibility
-
androidStudioPackages = recurseIntoAttrs (callPackage ../applications/editors/android-studio { });
android-studio = androidStudioPackages.stable;
android-studio-full = android-studio.full;