kmplayer: drop

This commit is contained in:
K900
2025-08-30 12:15:26 +03:00
parent 50021ed95d
commit fd434e8dfc
5 changed files with 1 additions and 106 deletions
@@ -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
];
};
}
@@ -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();
@@ -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")
+1
View File
@@ -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;
-2
View File
@@ -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 { };