commit:     f8fb79fb1252efa61a2f930faf296299086c602f
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 15 08:23:19 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Aug 15 08:23:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8fb79fb

media-libs/libtxc_dxtn: EAPI-6 bump.

Package-Manager: Portage-2.3.7, Repoman-2.3.3

 media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1-r2.ebuild | 35 ++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1-r2.ebuild 
b/media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1-r2.ebuild
new file mode 100644
index 00000000000..c9e4511a42a
--- /dev/null
+++ b/media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1-r2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit ltprune
+
+DESCRIPTION="Helper library for        S3TC texture (de)compression"
+HOMEPAGE="https://cgit.freedesktop.org/~mareko/libtxc_dxtn/";
+SRC_URI="https://people.freedesktop.org/~cbrill/${PN}/${P}.tar.bz2";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND="media-libs/mesa"
+DEPEND="${RDEPEND}"
+
+RESTRICT="bindist"
+
+src_install() {
+       default
+
+       # libtxc_dxtn is installed as a module (plugin)
+       prune_libtool_files --all
+}
+
+pkg_postinst() {
+       ewarn "Depending on where you live, you might need a valid license for 
s3tc"
+       ewarn "in order to be legally allowed to use the external library."
+       ewarn "Redistribution in binary form might also be problematic."
+       ewarn
+       ewarn "You have been warned. Have a nice day."
+}

Reply via email to