summary refs log tree commit diff
diff options
context:
space:
mode:
authorCarles Pagès <page@cubata.homelinux.net>2012-12-13 10:57:52 +0100
committerEvgeny Egorochkin <phreedom@yandex.ru>2013-08-10 06:08:17 +0300
commit2725cbef42329025dacab6ceddc9ab8ae33fa4e3 (patch)
tree5491a0acd923be2f76c7ea87593fc79ddfeb3fae
parent87c5a418ec7debed28cc4766ac730b9a13bdfb40 (diff)
downloadnixpkgs-2725cbef42329025dacab6ceddc9ab8ae33fa4e3.tar
nixpkgs-2725cbef42329025dacab6ceddc9ab8ae33fa4e3.tar.gz
nixpkgs-2725cbef42329025dacab6ceddc9ab8ae33fa4e3.tar.bz2
nixpkgs-2725cbef42329025dacab6ceddc9ab8ae33fa4e3.tar.lz
nixpkgs-2725cbef42329025dacab6ceddc9ab8ae33fa4e3.tar.xz
nixpkgs-2725cbef42329025dacab6ceddc9ab8ae33fa4e3.tar.zst
nixpkgs-2725cbef42329025dacab6ceddc9ab8ae33fa4e3.zip
Add libtxc_dxtn-1.0.1.
I thought this was needed by Steam, but it only applies when not using
propietary drivers, and even then it doesn't look like well supported.
-rw-r--r--pkgs/development/libraries/libtxc_dxtn/default.nix20
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libtxc_dxtn/default.nix b/pkgs/development/libraries/libtxc_dxtn/default.nix
new file mode 100644
index 00000000000..9cf8decf4c8
--- /dev/null
+++ b/pkgs/development/libraries/libtxc_dxtn/default.nix
@@ -0,0 +1,20 @@
+{ stdenv, fetchurl, autoconf, automake, libtool, mesa }:
+
+let version = "1.0.1"; in
+
+stdenv.mkDerivation rec {
+  name = "libtxc_dxtn-${version}";
+
+  src = fetchurl {
+    url = "http://cgit.freedesktop.org/~mareko/${name}.tar.gz";
+    sha256 = "0g6lymik9cs7nbzigwzaf49fnhhfsvjanhg92wykw7rfq9zvkhvv";
+  };
+
+  buildInputs = [ autoconf automake libtool mesa ];
+
+  preConfigure = "autoreconf -vfi";
+
+  meta = {
+    homepage = http://dri.freedesktop.org/wiki/S3TC;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 5c1eaf6e4f0..179bba1ce76 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -4846,6 +4846,8 @@ let
 
   libtunepimp = callPackage ../development/libraries/libtunepimp { };
 
+  libtxc_dxtn = callPackage ../development/libraries/libtxc_dxtn { };
+
   libgeotiff = callPackage ../development/libraries/libgeotiff { };
 
   libunistring = callPackage ../development/libraries/libunistring { };