diff --git a/pkgs/applications/video/kmplayer/default.nix b/pkgs/applications/video/kmplayer/default.nix deleted file mode 100644 index 0c3d3d74e8df..000000000000 --- a/pkgs/applications/video/kmplayer/default.nix +++ /dev/null @@ -1,81 +0,0 @@ -{ - mkDerivation, - lib, - fetchurl, - extra-cmake-modules, - makeWrapper, - libpthreadstubs, - libXdmcp, - qtsvg, - qtx11extras, - ki18n, - kdelibs4support, - kio, - kmediaplayer, - kwidgetsaddons, - phonon, - cairo, - mplayer, -}: - -mkDerivation rec { - majorMinorVersion = "0.12"; - patchVersion = "0b"; - version = "${majorMinorVersion}.${patchVersion}"; - pname = "kmplayer"; - - src = fetchurl { - url = "mirror://kde/stable/kmplayer/${majorMinorVersion}/kmplayer-${version}.tar.bz2"; - sha256 = "0wzdxym4fc83wvqyhcwid65yv59a2wvp1lq303cn124mpnlwx62y"; - }; - - patches = [ - ./kmplayer_part-plugin_metadata.patch # Qt 5.9 doesn't like an empty string for the optional "FILE" argument of "Q_PLUGIN_METADATA" - ./no-docs.patch # Don't build docs due to errors (kdelibs4support propagates kdoctools) - ]; - - postPatch = '' - sed -i src/kmplayer.desktop \ - -e "s,^Exec.*,Exec=$out/bin/kmplayer -qwindowtitle %c %i %U," - ''; - - # required for kf5auth to work correctly - cmakeFlags = [ "-DCMAKE_POLICY_DEFAULT_CMP0012=NEW" ]; - - nativeBuildInputs = [ - extra-cmake-modules - makeWrapper - ]; - - buildInputs = [ - libpthreadstubs - libXdmcp - qtsvg - qtx11extras - ki18n - kdelibs4support - kio - kmediaplayer - kwidgetsaddons - phonon - cairo - ]; - - postInstall = '' - wrapProgram $out/bin/kmplayer --suffix PATH : ${mplayer}/bin - ''; - - meta = with lib; { - description = "MPlayer front-end for KDE"; - license = with licenses; [ - gpl2Plus - lgpl2Plus - fdl12Plus - ]; - homepage = "https://kmplayer.kde.org/"; - maintainers = with maintainers; [ - sander - zraexy - ]; - }; -} diff --git a/pkgs/applications/video/kmplayer/kmplayer_part-plugin_metadata.patch b/pkgs/applications/video/kmplayer/kmplayer_part-plugin_metadata.patch deleted file mode 100644 index 9b6652b0be58..000000000000 --- a/pkgs/applications/video/kmplayer/kmplayer_part-plugin_metadata.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/kmplayer_part.h -+++ b/src/kmplayer_part.h -@@ -36,7 +36,7 @@ - - class KMPlayerFactory : public KPluginFactory { - Q_OBJECT -- Q_PLUGIN_METADATA(IID "org.kde.KPluginFactory" FILE "") -+ Q_PLUGIN_METADATA(IID "org.kde.KPluginFactory") - Q_INTERFACES(KPluginFactory) - public: - KMPlayerFactory(); diff --git a/pkgs/applications/video/kmplayer/no-docs.patch b/pkgs/applications/video/kmplayer/no-docs.patch deleted file mode 100644 index c93453f908c9..000000000000 --- a/pkgs/applications/video/kmplayer/no-docs.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -79,9 +79,6 @@ - - add_subdirectory(src) - add_subdirectory(icons) --if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/doc" AND KF5DocTools_VERSION) -- add_subdirectory(doc) --endif(KF5DocTools_VERSION) - add_subdirectory(data) - - if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po") diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index c5c80f817179..97672f03762d 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1240,6 +1240,7 @@ mapAliases { kibana = kibana7; kio-admin = makePlasma5Throw "kio-admin"; # Added 2023-03-18 kiwitalk = throw "KiwiTalk has been removed because the upstream has been deprecated at the request of Kakao and it's now obsolete."; # Added 2024-10-10 + kmplayer = throw "'kmplayer' has been removed, as it is unmaintained upstream"; # Added 2025-08-30 kodiGBM = kodi-gbm; kodiPlain = kodi; kodiPlainWayland = kodi-wayland; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dc54e40067f5..6ef438ef7f4a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12169,8 +12169,6 @@ with pkgs; llvmPackages = llvmPackages_13; }; - kmplayer = libsForQt5.callPackage ../applications/video/kmplayer { }; - alkimia = kdePackages.callPackage ../development/libraries/alkimia { }; kmymoney = kdePackages.callPackage ../applications/office/kmymoney { };