Merge pull request #177781 from klemensn/wxcam-remove

wxcam: Remove
This commit is contained in:
Fabian Affolter 2022-06-16 00:25:51 +02:00 committed by GitHub
commit 2b2174260f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 54 deletions

View file

@ -1,51 +0,0 @@
{ lib, stdenv, fetchurl
, pkg-config
, intltool
, libX11, libXv, libSM
, gtk, libglade
, wxGTK
, perlPackages
, xvidcore
, mjpegtools
, alsa-lib
, libv4l
, cimg }:
stdenv.mkDerivation rec {
pname = "wxcam";
version = "1.1";
src = fetchurl {
url = "mirror://sourceforge/project/wxcam/wxcam/${version}/${pname}-${version}.tar.gz";
sha256 = "1765bvc65fpzn9ycnnj5hais9xkx9v0sm6a878d35x54bpanr859";
};
buildInputs = with lib;
[ pkg-config intltool libX11 libXv libSM gtk libglade wxGTK perlPackages.XMLParser xvidcore mjpegtools alsa-lib libv4l cimg ];
NIX_CFLAGS_COMPILE="-I ${cimg}/include/cimg";
postUnpack = ''
sed -ie 's|/usr/share/|'"$out/share/"'|g' $sourceRoot/Makefile.in
'';
installPhase = ''
make install prefix="$out" wxcamdocdir="$out/share/doc/wxcam"
'';
meta = with lib; {
description = "An open-source, wxGTK-based webcam app for Linux";
longDescription = ''
wxCam is a webcam application for linux. It supports video recording
(avi uncompressed and Xvid formats), snapshot taking, and some special
commands for philips webcams, so you can also use it for astronomy purposes.
It supports both video4linux 1 and 2 drivers,
so it should work on a very large number of devices.
'';
homepage = "http://wxcam.sourceforge.net/";
license = licenses.gpl3Plus;
maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.linux;
};
}

View file

@ -1473,6 +1473,7 @@ mapAliases ({
wmii_hg = wmii;
ws = throw "ws has been dropped due to the lack of maintenance from upstream since 2018"; # Added 2022-06-03
wxmupen64plus = throw "wxmupen64plus was removed because the upstream disappeared"; # Added 2022-01-31
wxcam = throw "'wxcam' has seen no updates in ten years, crashes (SIGABRT) on startup and depends on deprecated wxGTK28/GNOME2/GTK2, use 'gnome.cheese'"; # Added 2022-06-15
### X ###

View file

@ -30741,9 +30741,6 @@ with pkgs;
wxGTK = wxGTK31;
};
wxcam = callPackage ../applications/video/wxcam
{ stdenv = gcc10StdenvCompat; inherit (gnome2) libglade; wxGTK = wxGTK28; gtk = gtk2; };
xa = callPackage ../development/compilers/xa/xa.nix { };
dxa = callPackage ../development/compilers/xa/dxa.nix { };