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.wip/yesman
parent
a2d9f58433
commit
1b89bffcf4
@ -1,23 +0,0 @@ |
||||
{ stdenv, fetchurl, autoreconfHook, libGL, libGLU }: |
||||
|
||||
let version = "1.0.1"; in |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "libtxc_dxtn"; |
||||
inherit version; |
||||
|
||||
src = fetchurl { |
||||
url = "https://people.freedesktop.org/~cbrill/libtxc_dxtn/${pname}-${version}.tar.bz2"; |
||||
sha256 = "0q5fjaknl7s0z206dd8nzk9bdh8g4p23bz7784zrllnarl90saa5"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ autoreconfHook ]; |
||||
buildInputs = [ libGL libGLU ]; |
||||
|
||||
meta = with stdenv.lib; { |
||||
homepage = "http://dri.freedesktop.org/wiki/S3TC"; |
||||
repositories.git = "git://people.freedesktop.org/~mareko/libtxc_dxtn"; |
||||
license = licenses.mit; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
@ -1,25 +0,0 @@ |
||||
{ stdenv, fetchurl, autoreconfHook, libGL, libGLU }: |
||||
|
||||
let version = "1.0"; in |
||||
|
||||
stdenv.mkDerivation { |
||||
pname = "libtxc_dxtn_s2tc"; |
||||
inherit version; |
||||
|
||||
src = fetchurl { |
||||
url = "https://github.com/divVerent/s2tc/archive/v${version}.tar.gz"; |
||||
sha256 = "0ibfdib277fhbqvxzan0bmglwnsl1y1rw2g8skvz82l1sfmmn752"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ autoreconfHook ]; |
||||
buildInputs = [ libGL libGLU ]; |
||||
|
||||
meta = { |
||||
description = "A patent-free S3TC compatible implementation"; |
||||
homepage = "https://github.com/divVerent/s2tc"; |
||||
repositories.git = "https://github.com/divVerent/s2tc.git"; |
||||
license = stdenv.lib.licenses.mit; |
||||
platforms = stdenv.lib.platforms.linux; |
||||
maintainers = [ stdenv.lib.maintainers.cpages ]; |
||||
}; |
||||
} |
Loading…
Reference in new issue