unicap: drop

Software from 2010 that doesn't build with a dead upstream.
This commit is contained in:
patka
2025-05-17 18:20:25 +02:00
parent f44559782e
commit a85c0fb504
2 changed files with 1 additions and 51 deletions

View File

@@ -1,51 +0,0 @@
{
lib,
stdenv,
fetchurl,
libusb-compat-0_1,
libraw1394,
dcraw,
intltool,
perl,
v4l-utils,
}:
stdenv.mkDerivation rec {
pname = "libunicap";
version = "0.9.12";
src = fetchurl {
url = "https://www.unicap-imaging.org/downloads/${pname}-${version}.tar.gz";
sha256 = "05zcnnm4dfc6idihfi0fq5xka6x86zi89wip2ca19yz768sd33s9";
};
nativeBuildInputs = [ intltool ];
buildInputs = [
libusb-compat-0_1
libraw1394
dcraw
perl
v4l-utils
];
patches = [
# Debian has a patch that fixes the build.
(fetchurl {
url = "https://sources.debian.net/data/main/u/unicap/0.9.12-2/debian/patches/1009_v4l1.patch";
sha256 = "1lgypmhdj681m7d1nmzgvh19cz8agj2f31wlnfib0ha8i3g5hg5w";
})
];
postPatch = ''
find . -type f -exec sed -e '/linux\/types\.h/d' -i '{}' ';'
sed -e 's@/etc/udev@'"$out"'/&@' -i data/Makefile.*
'';
meta = with lib; {
description = "Universal video capture API";
homepage = "https://www.unicap-imaging.org/";
maintainers = [ maintainers.raskin ];
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}

View File

@@ -1891,6 +1891,7 @@ mapAliases {
ubuntu_font_family = ubuntu-classic; # Added 2024-02-19
uclibc = uclibc-ng; # Added 2022-06-16
uclibcCross = uclibc-ng; # Added 2022-06-16
unicap = "'unicap' has been removed because it is unmaintained"; # Added 2025-05-17
unicorn-emu = throw "'unicorn-emu' has been renamed to/replaced by 'unicorn'"; # Converted to throw 2024-10-17
uniffi-bindgen = throw "uniffi-bindgen has been removed since upstream no longer provides a standalone package for the CLI";
unifi-poller = unpoller; # Added 2022-11-24