mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] libtxc_dxtn: new package
@ 2016-01-28 10:53 Lucas Stach
  2016-02-11 11:26 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2016-01-28 10:53 UTC (permalink / raw)
  To: ptxdist

This adds libtxc_dxtn, which is a free software implementation
of the S3TC texture compression. If this is enabled MESA will
provide the EXT_texture_compression_s3tc OpenGL extension.

It is a separate library, as S3TC is still patent encumbered
and might need some special attention when shipping products.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 rules/libtxc_dxtn.in   | 11 +++++++++++
 rules/libtxc_dxtn.make | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)
 create mode 100644 rules/libtxc_dxtn.in
 create mode 100644 rules/libtxc_dxtn.make

diff --git a/rules/libtxc_dxtn.in b/rules/libtxc_dxtn.in
new file mode 100644
index 000000000000..0bfbbca3f31a
--- /dev/null
+++ b/rules/libtxc_dxtn.in
@@ -0,0 +1,11 @@
+## SECTION=multimedia_libs
+
+config LIBTXC_DXTN
+	tristate
+	prompt "libtxc_dxtn"
+	help
+	  This library enables S3TC texture compression support in the
+	  open-source MESA OpenGL implementation.
+	  NOTE: S3TC is patent encumbered until at least 2017, so you
+	  may need to licence this patent and/or seek legal advice in
+	  order to ship products including this feature. 
diff --git a/rules/libtxc_dxtn.make b/rules/libtxc_dxtn.make
new file mode 100644
index 000000000000..702b76e25bf7
--- /dev/null
+++ b/rules/libtxc_dxtn.make
@@ -0,0 +1,53 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2016 by Lucas Stach <l.stach@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_LIBTXC_DXTN) += libtxc_dxtn
+
+#
+# Paths and names
+#
+LIBTXC_DXTN_VERSION	:= 1.0.1
+LIBTXC_DXTN_MD5		:= 7105107f07ac49753f4b61ba9d0c79c5
+LIBTXC_DXTN		:= libtxc_dxtn-$(LIBTXC_DXTN_VERSION)
+LIBTXC_DXTN_SUFFIX	:= tar.bz2
+LIBTXC_DXTN_URL		:= http://people.freedesktop.org/~cbrill/libtxc_dxtn/$(LIBTXC_DXTN).$(LIBTXC_DXTN_SUFFIX)
+LIBTXC_DXTN_SOURCE	:= $(SRCDIR)/$(LIBTXC_DXTN).$(LIBTXC_DXTN_SUFFIX)
+LIBTXC_DXTN_DIR		:= $(BUILDDIR)/$(LIBTXC_DXTN)
+LIBTXC_DXTN_LICENSE	:= MIT
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+LIBTXC_DXTN_CONF_TOOL	:= autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libtxc_dxtn.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, libtxc_dxtn)
+	@$(call install_fixup, libtxc_dxtn,PRIORITY,optional)
+	@$(call install_fixup, libtxc_dxtn,SECTION,base)
+	@$(call install_fixup, libtxc_dxtn,AUTHOR,"Lucas Stach <l.stach@pengutronix.de>")
+	@$(call install_fixup, libtxc_dxtn,DESCRIPTION,missing)
+
+	@$(call install_lib, libtxc_dxtn, 0, 0, 0644, libtxc_dxtn)
+
+	@$(call install_finish, libtxc_dxtn)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.7.0.rc3


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-11 11:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-28 10:53 [ptxdist] [PATCH] libtxc_dxtn: new package Lucas Stach
2016-02-11 11:26 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox