forked from mirrors/nixpkgs
airtame: remove
The download has been broken for eons, and the latest version (4.1.1) has switched to Snap instead of a tarball. Considering the fact that it hasn't been updated and no one's complained, I'd say this is ripe for removal.
This commit is contained in:
parent
dd3cc89b72
commit
3c457c542d
|
@ -1,79 +0,0 @@
|
|||
{ stdenv, lib, fetchurl, makeDesktopItem, makeWrapper
|
||||
, alsa-lib, atk, cairo, cups, curl, dbus, expat, ffmpeg_3, fontconfig, freetype
|
||||
, gdk-pixbuf, glib, glibc, gnome2, gtk2, libX11, libXScrnSaver, libXcomposite
|
||||
, libXcursor, libXdamage, libXext, libXfixes, libXi, libXrandr, libXrender
|
||||
, libXtst, libopus, libpulseaudio, libxcb, nspr, nss, pango, udev, x264
|
||||
}:
|
||||
|
||||
let libPath = lib.makeLibraryPath [
|
||||
alsa-lib atk cairo cups curl dbus expat ffmpeg_3 fontconfig freetype gdk-pixbuf
|
||||
glib glibc gnome2.GConf gtk2 libopus nspr nss pango stdenv.cc.cc udev x264
|
||||
libX11 libXScrnSaver libXcomposite libXcursor libXdamage libXext libXfixes
|
||||
libXi libXrandr libXrender libXtst libpulseaudio libxcb
|
||||
];
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "airtame";
|
||||
version = "3.3.0";
|
||||
longName = "${pname}-application";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://downloads.airtame.com/application/ga/lin_x64/releases/${longName}-${version}.tar.gz";
|
||||
sha256 = "16ca1vcxpka26jcrfbxpq74kcizgrm138j94bby6kzqp2swhrl76";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
desktopItem = makeDesktopItem rec {
|
||||
name = "airtame";
|
||||
exec = longName;
|
||||
comment = "Airtame Streaming Client";
|
||||
desktopName = "Airtame";
|
||||
icon = name;
|
||||
genericName = comment;
|
||||
categories = "Network;";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
opt="$out/opt/airtame"
|
||||
mkdir -p "$opt"
|
||||
cp -R . "$opt"
|
||||
mkdir -p "$out/bin"
|
||||
ln -s "$opt/${longName}" "$out/bin/"
|
||||
mkdir -p "$out/share"
|
||||
cp -r "${desktopItem}/share/applications" "$out/share/"
|
||||
mkdir -p "$out/share/icons"
|
||||
ln -s "$opt/icon.png" "$out/share/icons/airtame.png"
|
||||
|
||||
# Flags and rpath are copied from launch-airtame.sh.
|
||||
vendorlib="\
|
||||
$opt/resources/app.asar.unpacked/modules/streamer/dist/deps/airtame-modules:\
|
||||
$opt/resources/app.asar.unpacked/encryption/out/lib:\
|
||||
$opt/resources/deps/airtame-core/lib:\
|
||||
$opt/resources/deps/airtame-encryption/lib"
|
||||
|
||||
echo $vendorlib
|
||||
|
||||
rpath="${libPath}:$opt:$vendorlib"
|
||||
|
||||
find "$opt" \( -type f -executable -o -name "*.so" -o -name "*.so.*" \) \
|
||||
-exec patchelf --set-rpath "$rpath" {} \;
|
||||
|
||||
# The main binary also needs libudev which was removed by --shrink-rpath.
|
||||
interp="$(< $NIX_CC/nix-support/dynamic-linker)"
|
||||
patchelf --set-interpreter "$interp" $opt/${longName}
|
||||
|
||||
wrapProgram $opt/${longName} \
|
||||
--prefix LD_LIBRARY_PATH=$rpath \
|
||||
--add-flags "--disable-gpu --enable-transparent-visuals"
|
||||
'';
|
||||
|
||||
dontPatchELF = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://airtame.com/download";
|
||||
description = "Wireless streaming client for Airtame devices";
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ thanegill ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -42,6 +42,7 @@ mapAliases ({
|
|||
aesop = throw "aesop has been removed from nixpkgs, as it was unmaintained."; # added 2021-08-05
|
||||
ag = silver-searcher; # added 2018-04-25
|
||||
aircrackng = aircrack-ng; # added 2016-01-14
|
||||
airtame = throw "airtame has been removed due to being unmaintained."; # added 2022-01-19
|
||||
aleth = throw "aleth (previously packaged as cpp_ethereum) has been removed; abandoned upstream."; # added 2020-11-30
|
||||
alienfx = throw "alienfx has been removed."; # added 2019-12-08
|
||||
alsaLib = alsa-lib; # added 2021-06-09
|
||||
|
|
|
@ -972,8 +972,6 @@ with pkgs;
|
|||
|
||||
airspyhf = callPackage ../applications/radio/airspyhf { };
|
||||
|
||||
airtame = callPackage ../applications/misc/airtame { };
|
||||
|
||||
aj-snapshot = callPackage ../applications/audio/aj-snapshot { };
|
||||
|
||||
ajour = callPackage ../tools/games/ajour {
|
||||
|
|
Loading…
Reference in a new issue