libtxc_dxtn{,_s2tc}: remove from nixpkgs + hardware.opengl options

Context: discussion in https://github.com/NixOS/nixpkgs/pull/82630

Mesa has been supporting S3TC natively without requiring these libraries
since the S3TC patent expired in December 2017.
This commit is contained in:
Pierre Bourdon
2020-04-20 03:19:41 +02:00
parent a2d9f58433
commit 1b89bffcf4
8 changed files with 10 additions and 78 deletions
-2
View File
@@ -9,7 +9,6 @@
{ lib, stdenv, callPackage,
wineRelease ? "stable",
wineBuild ? if stdenv.hostPlatform.system == "x86_64-linux" then "wineWow" else "wine32",
libtxc_dxtn_Name ? "libtxc_dxtn_s2tc",
pngSupport ? false,
jpegSupport ? false,
tiffSupport ? false,
@@ -63,7 +62,6 @@ let wine-build = build: release:
in if wineRelease == "staging" then
callPackage ./staging.nix {
inherit libtxc_dxtn_Name;
wineUnstable = wine-build wineBuild "unstable";
}
else
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, callPackage, wineUnstable, libtxc_dxtn_Name }:
{ stdenv, callPackage, wineUnstable }:
with callPackage ./util.nix {};
@@ -8,7 +8,7 @@ let patch = (callPackage ./sources.nix {}).staging;
in assert stdenv.lib.getVersion wineUnstable == patch.version;
stdenv.lib.overrideDerivation wineUnstable (self: {
buildInputs = build-inputs [ "perl" "utillinux" "autoconf" libtxc_dxtn_Name ] self.buildInputs;
buildInputs = build-inputs [ "perl" "utillinux" "autoconf" ] self.buildInputs;
name = "${self.name}-staging";