From: Lucas Stach <l.stach@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] libtxc_dxtn: new package
Date: Thu, 28 Jan 2016 11:53:13 +0100 [thread overview]
Message-ID: <1453978393-32652-1-git-send-email-l.stach@pengutronix.de> (raw)
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
next reply other threads:[~2016-01-28 10:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-28 10:53 Lucas Stach [this message]
2016-02-11 11:26 ` Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1453978393-32652-1-git-send-email-l.stach@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox