[Lunar-commits] <moonbase-xorg> libtxc_dxtn: introduction to -xorg

v4hn me at v4hn.de
Thu Aug 8 12:44:06 CEST 2013


commit f855658896c83375669a0975684cf66a036ca647
Author: v4hn <me at v4hn.de>
Date: Thu, 08 Aug 2013 03:40:25 -0700
URL: https://github.com/lunar-linux/moonbase-xorg/commit/f855658896c83375669a0975684cf66a036ca647

libtxc_dxtn: introduction to -xorg
---
  lib/libtxc_dxtn/DETAILS   | +19/-0    
  lib/libtxc_dxtn/PRE_BUILD | +11/-0    
  2 files changed, 30 insertions(+)

--- /dev/null
+++ b/lib/libtxc_dxtn/DETAILS
@@ -0,0 +1,19 @@
+          MODULE=libtxc_dxtn
+         VERSION=1.0.1
+          SOURCE=$MODULE-$VERSION.tar.bz2
+      SOURCE_URL=http://people.freedesktop.org/~cbrill/$MODULE
+      SOURCE_VFY=sha1:b5c3b274b962380ef8ab91c0017ea8320103034e
+        WEB_SITE=http://dri.freedesktop.org/wiki/S3TC
+         ENTERED=20130808
+         UPDATED=20130808
+           SHORT="S3 Texture Compression (S3TC) library for Mesa"
+
+cat << EOF
+S3 Texture Compression (S3TC) library for Mesa.
+S3TC support has been partially implemented in Mesa. However,
+S3TC code can't be integrated and enabled by default due to
+the patents on the algorithm. Because of this, to be cautious,
+code was integrated to only attempt to open an external library,
+libtxc_dxtn.so, and use a small number of functions from that
+to implement S3TC if available.
+EOF
--- /dev/null
+++ b/lib/libtxc_dxtn/PRE_BUILD
@@ -0,0 +1,11 @@
+if ! module_installed "$MODULE"; then
+   message " ${PROBLEM_COLOR}Warning! The S3TC algorithm is patented."                                   &&
+   message " ${MESSAGE_COLOR}Please be aware of the patent law in your own country with respect to"      &&
+   message " using this code, as it is illegal in many places without a proper license.${DEFAULT_COLOR}" &&
+
+   if ! query "Do you want to continue to install this module (y/n)? " n; then
+      false
+   fi
+fi &&
+
+default_pre_build




More information about the Lunar-commits mailing list