libtxc_dxtn_s2tc: add v1.0 (close #2194)

S2TC is a patent-free S3TC compatible implementation and provides texture
compression to mesa.
This commit is contained in:
Carles Pagès 2014-04-09 22:32:11 +02:00 committed by Vladimír Čunát
parent d2155649af
commit 8aa84644f9
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ stdenv, fetchurl, autoreconfHook, mesa }:
let version = "1.0"; in
stdenv.mkDerivation rec {
name = "libtxc_dxtn_s2tc-${version}";
src = fetchurl {
url = "https://github.com/divVerent/s2tc/archive/v${version}.tar.gz";
sha256 = "0ibfdib277fhbqvxzan0bmglwnsl1y1rw2g8skvz82l1sfmmn752";
};
buildInputs = [ autoreconfHook mesa ];
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.page ];
};
}

View File

@ -5203,6 +5203,8 @@ let
libtxc_dxtn = callPackage ../development/libraries/libtxc_dxtn { }; libtxc_dxtn = callPackage ../development/libraries/libtxc_dxtn { };
libtxc_dxtn_s2tc = callPackage ../development/libraries/libtxc_dxtn_s2tc { };
libgeotiff = callPackage ../development/libraries/libgeotiff { }; libgeotiff = callPackage ../development/libraries/libgeotiff { };
libunistring = callPackage ../development/libraries/libunistring { }; libunistring = callPackage ../development/libraries/libunistring { };