diff --git a/pkgs/applications/audio/viper4linux-gui/default.nix b/pkgs/applications/audio/viper4linux-gui/default.nix deleted file mode 100644 index 769a0e445f790a..00000000000000 --- a/pkgs/applications/audio/viper4linux-gui/default.nix +++ /dev/null @@ -1,99 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - copyDesktopItems, - pkg-config, - qtbase, - qtsvg, - qtmultimedia, - qmake, - gst_all_1, - libpulseaudio, - makeDesktopItem, - viper4linux, - wrapQtAppsHook, -}: -let - gstPluginPath = lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" ( - with gst_all_1; - [ - gstreamer - gst-plugins-viperfx - gst-plugins-base - gst-plugins-good - ] - ); -in -stdenv.mkDerivation rec { - pname = "viper4linux-gui"; - version = "unstable-2022-04-23"; - - src = fetchFromGitHub { - owner = "Audio4Linux"; - repo = "Viper4Linux-GUI"; - rev = "2d0c84d7dda76c59e31c850e38120002eb779b7a"; - sha256 = "sha256-5YlLCF598i/sldczPEgCB+1KJDA7jqM964QDSNjgTKM="; - }; - - desktopItems = [ - (makeDesktopItem { - name = pname; - exec = "viper-gui"; - icon = "viper"; - desktopName = "viper4linux"; - genericName = "Equalizer"; - comment = meta.description; - categories = [ - "AudioVideo" - "Audio" - ]; - startupNotify = false; - }) - ]; - - nativeBuildInputs = [ - qmake - pkg-config - wrapQtAppsHook - copyDesktopItems - ]; - - buildInputs = [ - qtbase - qtmultimedia - qtsvg - gst_all_1.gstreamer - gst_all_1.gst-plugins-bad - gst_all_1.gst-plugins-viperfx - libpulseaudio - viper4linux - ]; - - qmakeFlags = [ "V4L_Frontend.pro" ]; - - qtWrapperArgs = [ - "--prefix PATH : ${ - lib.makeBinPath [ - viper4linux - gst_all_1.gstreamer - ] - }" - "--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : ${gstPluginPath}" - ]; - - installPhase = '' - runHook preInstall - install -D V4L_Frontend $out/bin/viper-gui - install -D icons/viper.png $out/share/icons/viper.png - runHook postInstall - ''; - - meta = with lib; { - description = "Official UI for Viper4Linux2"; - homepage = "https://github.com/Audio4Linux/Viper4Linux-GUI"; - license = licenses.gpl3Plus; - platforms = [ "x86_64-linux" ]; - maintainers = with maintainers; [ rewine ]; - }; -} diff --git a/pkgs/by-name/li/libviperfx/package.nix b/pkgs/by-name/li/libviperfx/package.nix deleted file mode 100644 index a6d3b877054ec8..00000000000000 --- a/pkgs/by-name/li/libviperfx/package.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, -}: - -stdenv.mkDerivation rec { - pname = "libviperfx"; - version = "unstable-2018-01-15"; - - src = fetchFromGitHub { - owner = "vipersaudio"; - repo = "viperfx_core_binary"; - rev = "6f7d0da725affe854f083baf5d90c70e172e4488"; - sha256 = "sha256-hfX46Kk91eQgiO3uhew91I6eEHxazhdGwSkhfNZ+HvQ="; - }; - - dontBuild = true; - - installPhase = '' - runHook preInstall - install -D libviperfx_x64_linux.so $out/lib/libviperfx.so - install -D README.md $out/share/licenses/libviperfx/LICENSE - runHook postInstall - ''; - - meta = with lib; { - homepage = "https://github.com/vipersaudio/viperfx_core_binary"; - description = "ViPER FX core"; - license = licenses.unfreeRedistributable; - maintainers = with maintainers; [ rewine ]; - platforms = [ "x86_64-linux" ]; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - }; -} diff --git a/pkgs/by-name/vi/viper4linux/package.nix b/pkgs/by-name/vi/viper4linux/package.nix deleted file mode 100644 index 4beaf47ef7b639..00000000000000 --- a/pkgs/by-name/vi/viper4linux/package.nix +++ /dev/null @@ -1,69 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - gst_all_1, - libviperfx, - makeWrapper, -}: -let - gstPluginPath = lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" ( - with gst_all_1; - [ - gstreamer - gst-plugins-viperfx - gst-plugins-base - gst-plugins-good - ] - ); -in -stdenv.mkDerivation rec { - pname = "viper4linux"; - version = "unstable-2022-03-13"; - - src = fetchFromGitHub { - owner = "Audio4Linux"; - repo = "Viper4Linux"; - rev = "5da25644824f88cf0db24378d2c84770ba4f6816"; - sha256 = "sha256-CJNVr/1ehJzX45mxunXcRAypBBGEBdswOzAVG2H+ayg="; - }; - - nativeBuildInputs = [ makeWrapper ]; - - buildInputs = [ - gst_all_1.gstreamer - gst_all_1.gst-plugins-base - gst_all_1.gst-plugins-good - gst_all_1.gst-plugins-viperfx - libviperfx - ]; - - dontBuild = true; - - postPatch = '' - substituteInPlace viper --replace "/etc/viper4linux" "$out/etc/viper4linux" - ''; - - installPhase = '' - runHook preInstall - install -D viper -t $out/bin - mkdir -p $out/etc/viper4linux - cp -r viper4linux/* $out/etc/viper4linux - runHook postInstall - ''; - - postFixup = '' - wrapProgram "$out/bin/viper" \ - --prefix PATH : $out/bin:${lib.makeBinPath [ gst_all_1.gstreamer ]} \ - --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : ${gstPluginPath} \ - --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libviperfx ]} - ''; - - meta = with lib; { - description = "Adaptive Digital Sound Processor"; - homepage = "https://github.com/Audio4Linux/Viper4Linux"; - license = licenses.gpl3Plus; - platforms = [ "x86_64-linux" ]; - maintainers = with maintainers; [ rewine ]; - }; -} diff --git a/pkgs/development/libraries/gstreamer/default.nix b/pkgs/development/libraries/gstreamer/default.nix index 20331b598bc7f7..efbd8692b622e0 100644 --- a/pkgs/development/libraries/gstreamer/default.nix +++ b/pkgs/development/libraries/gstreamer/default.nix @@ -1,4 +1,6 @@ { + config, + lib, stdenv, callPackage, AVFoundation, @@ -47,8 +49,6 @@ gst-plugins-ugly = callPackage ./ugly { inherit CoreFoundation DiskArbitration IOKit; }; - gst-plugins-viperfx = callPackage ./viperfx { }; - gst-plugins-rs = callPackage ./rs { inherit Security SystemConfiguration; }; gst-rtsp-server = callPackage ./rtsp-server { }; @@ -70,4 +70,6 @@ }; # note: gst-python is in ../../python-modules/gst-python - called under python3Packages +} // lib.optionalAttrs config.allowAliases { + gst-plugins-viperfx = throw "'gst_all_1.gst-plugins-viperfx' was removed as it is broken and not maintained upstream"; # Added 2024-12-16 } diff --git a/pkgs/development/libraries/gstreamer/viperfx/default.nix b/pkgs/development/libraries/gstreamer/viperfx/default.nix deleted file mode 100644 index 4fe8ad109c0882..00000000000000 --- a/pkgs/development/libraries/gstreamer/viperfx/default.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - pkg-config, - wrapGAppsHook3, - gst_all_1, - cmake, -}: -stdenv.mkDerivation rec { - pname = "gst-plugins-viperfx"; - version = "unstable-2020-9-20"; - - src = fetchFromGitHub { - owner = "Audio4Linux"; - repo = "gst-plugin-viperfx"; - rev = "a5c1b03dfe1ab0822b717a5f9392e9f1237fdba0"; - sha256 = "sha256-0so4jV56nl3tZHuZpvtyMrpOZ4tNJ59Pyj6zbV5bJ5Y="; - }; - - nativeBuildInputs = [ - cmake - pkg-config - wrapGAppsHook3 - ]; - - propagatedBuildInputs = [ - gst_all_1.gstreamer - gst_all_1.gst-plugins-base - ]; - - installPhase = '' - runHook preInstall - install -D libgstviperfx.so $out/lib/gstreamer-1.0/libgstviperfx.so - install -D $src/COPYING $out/share/licenses/gst-plugins-viperfx/LICENSE - runHook postInstall - ''; - - meta = with lib; { - description = "ViPER FX core wrapper plug-in for GStreamer1"; - homepage = "https://github.com/Audio4Linux/gst-plugin-viperfx"; - license = licenses.unfreeRedistributable; - platforms = [ "x86_64-linux" ]; - maintainers = with maintainers; [ rewine ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index d0bb7e1c31b4ed..1098a1e88484ff 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1360,6 +1360,9 @@ mapAliases { vim_configurable = vim-full; # Added 2022-12-04 vinagre = throw "'vinagre' has been removed as it has been archived upstream. Consider using 'gnome-connections' or 'remmina' instead"; # Added 2024-09-14 vinegar = throw "'vinegar' was removed due to being blocked by Roblox, rendering the package useless"; # Added 2024-08-23 + libviperfx = throw "'libviperfx' was removed as it is broken and not maintained upstream"; # Added 2024-12-16 + viper4linux-gui = throw "'viper4linux-gui' was removed as it is broken and not maintained upstream"; # Added 2024-12-16 + viper4linux = throw "'viper4linux' was removed as it is broken and not maintained upstream"; # Added 2024-12-16 virtscreen = throw "'virtscreen' has been removed, as it was broken and unmaintained"; # Added 2024-10-17 vkBasalt = vkbasalt; # Added 2022-11-22 vkdt-wayland = vkdt; # Added 2024-04-19 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 14214d2b14bb20..bb336ccddfe8bd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15996,8 +15996,6 @@ with pkgs; else null; }; - viper4linux-gui = libsForQt5.callPackage ../applications/audio/viper4linux-gui { }; - vlc-bin-universal = vlc-bin.override { variant = "universal"; }; libvlc = vlc.override {