Commit 50713e03 authored by aleksana's avatar aleksana
Browse files

gmtk: remove

parent 27fc9477
Loading
Loading
Loading
Loading
+0 −32
Original line number Diff line number Diff line
{lib, stdenv, substituteAll, fetchFromGitHub, libtool, pkg-config, intltool, glib, gtk3
, libpulseaudio, mplayer, gnome_mplayer }:

stdenv.mkDerivation rec {
  pname = "gmtk";
  version = "1.0.9";

  src = fetchFromGitHub {
    owner = "kdekorte";
    repo = "gmtk";
    rev = "v${version}";
    sha256 = "1zb5m1y1gckal3140gvx31572a6xpccwfmdwa1w5lx2wdq1pwk1i";
  };

  nativeBuildInputs = [ libtool pkg-config intltool ];
  buildInputs = [ glib gtk3 libpulseaudio ];

  patches = [
    (substituteAll {
      src = ./fix-paths.patch;
      mplayer = "${mplayer}/bin/mplayer";
    })
  ];

  meta = with lib; {
    description = "Common functions for gnome-mplayer and gecko-mediaplayer";
    homepage = "https://sites.google.com/site/kdekorte2/gnomemplayer";
    license = licenses.gpl2;
    maintainers = gnome_mplayer.meta.maintainers;
    platforms = platforms.linux;
  };
}
+0 −20
Original line number Diff line number Diff line
--- a/src/gmtk_media_player.c
+++ b/src/gmtk_media_player.c
@@ -2449,7 +2449,7 @@
         player->minimum_mplayer = detect_mplayer_features(player);
 
         if (player->mplayer_binary == NULL || !g_file_test(player->mplayer_binary, G_FILE_TEST_EXISTS)) {
-            argv[argn++] = g_strdup_printf("mplayer");
+            argv[argn++] = g_strdup_printf("@mplayer@");
         } else {
             argv[argn++] = g_strdup_printf("%s", player->mplayer_binary);
         }
@@ -4135,7 +4135,7 @@
         return ret;
 
     if (player->mplayer_binary == NULL || !g_file_test(player->mplayer_binary, G_FILE_TEST_EXISTS)) {
-        av[ac++] = g_strdup_printf("mplayer");
+        av[ac++] = g_strdup_printf("@mplayer@");
     } else {
         av[ac++] = g_strdup_printf("%s", player->mplayer_binary);
     }
+1 −0
Original line number Diff line number Diff line
@@ -520,6 +520,7 @@ mapAliases ({
  gfortran48 = throw "'gfortran48' has been removed from nixpkgs"; # Added 2024-09-10
  gfortran49 = throw "'gfortran49' has been removed from nixpkgs"; # Added 2024-09-11
  ghostwriter = libsForQt5.kdeGear.ghostwriter; # Added 2023-03-18
  gmtk = throw "'gmtk' has been removed due to lack of maintenance upstream"; # Added 2024-09-14
  gmtp = throw "'gmtp' has been removed due to lack of maintenance upstream. Consider using 'gnome-music' instead"; # Added 2024-09-14
  go-dependency-manager = throw "'go-dependency-manager' is unmaintained and the go community now uses 'go.mod' mostly instead"; # Added 2023-10-04
  gotktrix = throw "'gotktrix' has been removed, as it was broken and unmaintained"; # Added 2023-12-06
+0 −2
Original line number Diff line number Diff line
@@ -30312,8 +30312,6 @@ with pkgs;
  glowing-bear = callPackage ../applications/networking/irc/glowing-bear { };
  gmtk = callPackage ../development/libraries/gmtk { };
  gmu = callPackage ../applications/audio/gmu { };
  gnaural = callPackage ../applications/audio/gnaural { };