Add libtxc_dxtn to portage, bug 65607
authorMatt Turner <mattst88@gentoo.org>
Tue, 23 Aug 2011 17:48:10 +0000 (17:48 +0000)
committerMatt Turner <mattst88@gentoo.org>
Tue, 23 Aug 2011 17:48:10 +0000 (17:48 +0000)
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64

media-libs/libtxc_dxtn/ChangeLog [new file with mode: 0644]
media-libs/libtxc_dxtn/Manifest [new file with mode: 0644]
media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1.ebuild [new file with mode: 0644]
media-libs/libtxc_dxtn/metadata.xml [new file with mode: 0644]

diff --git a/media-libs/libtxc_dxtn/ChangeLog b/media-libs/libtxc_dxtn/ChangeLog
new file mode 100644 (file)
index 0000000..446d363
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for media-libs/libtxc_dxtn
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libtxc_dxtn/ChangeLog,v 1.1 2011/08/23 17:48:10 mattst88 Exp $
+
+*libtxc_dxtn-1.0.1 (23 Aug 2011)
+
+  23 Aug 2011; Matt Turner <mattst88@gentoo.org> +libtxc_dxtn-1.0.1.ebuild,
+  +metadata.xml:
+  Add libtxc_dxtn to portage, bug 65607
+
diff --git a/media-libs/libtxc_dxtn/Manifest b/media-libs/libtxc_dxtn/Manifest
new file mode 100644 (file)
index 0000000..60891df
--- /dev/null
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST libtxc_dxtn-1.0.1.tar.bz2 214038 RMD160 3578e875d3be022028364d44adf5a7cceb2d379a SHA1 b5c3b274b962380ef8ab91c0017ea8320103034e SHA256 45290d12cdca529a3f41e7fc35c4250fc1b6d2fc16b56680f8401f6aa792ae60
+EBUILD libtxc_dxtn-1.0.1.ebuild 1596 RMD160 c5cee145b2f38fd52fc54c90da707eeeafada69e SHA1 2bef0da41a26e74d5a229e78e903f34dd8417e88 SHA256 72b1cd7d34f55531fffec20bf0d4896d40438846e6af993bb8dec42f4b3c74f6
+MISC ChangeLog 387 RMD160 29aff43d7150cf292c9284875ab3e844e80fdaa0 SHA1 bc1a951e7343b2f78b32434083dbb71c437a3a49 SHA256 ccfecc3ce7d4056af017ea786b419c8afd7d0354e2aa9e004eef55bd26349497
+MISC metadata.xml 156 RMD160 c1274bdccf57603d580de0075ba07a35b7509560 SHA1 6f78f604e3d079d39189b40aaaa1ddb06182ad91 SHA256 5101ab0d4cc8c7125eea733c44e86962769bd77acaf53b69223b9cadcdd29055
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk5T5+YACgkQTVUdg23rv51hpgCfe/Ns4MioryXuxiKgU4//pBGU
+vOcAmwffDhZ60sq5U5Nr6Hy23mmq7GwK
+=+yLb
+-----END PGP SIGNATURE-----
diff --git a/media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1.ebuild b/media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1.ebuild
new file mode 100644 (file)
index 0000000..99f8420
--- /dev/null
@@ -0,0 +1,60 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1.ebuild,v 1.1 2011/08/23 17:48:10 mattst88 Exp $
+
+EAPI=3
+
+inherit autotools-utils multilib
+
+DESCRIPTION="Helper library for        S3TC texture (de)compression"
+HOMEPAGE="http://cgit.freedesktop.org/~mareko/libtxc_dxtn/"
+SRC_URI="http://people.freedesktop.org/~cbrill/${PN}/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RESTRICT="bindist fetch"
+
+pkg_nofetch() {
+       eerror "Due to unclear patent situation, you have to download the package"
+       eerror "yourself. Grab it from:"
+       eerror "        ${SRC_URI}"
+       eerror "and place in your distfiles directory:"
+       eerror "        ${DISTDIR}"
+       eerror
+       eerror "Please notice that depending on where you live, you might need"
+       eerror "a valid license for s3tc in order to be legally allowed to use"
+       eerror "the external library."
+}
+
+foreachabi() {
+       local ABI
+
+       for ABI in $(get_all_abis); do
+               multilib_toolchain_setup ${ABI}
+               AUTOTOOLS_BUILD_DIR=${WORKDIR}/${ABI} "${@}"
+       done
+}
+
+src_configure() {
+       foreachabi autotools-utils_src_configure
+}
+
+src_compile() {
+       foreachabi autotools-utils_src_compile
+}
+
+src_install() {
+       foreachabi autotools-utils_src_install
+       remove_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."
+}
diff --git a/media-libs/libtxc_dxtn/metadata.xml b/media-libs/libtxc_dxtn/metadata.xml
new file mode 100644 (file)
index 0000000..01c4c00
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>x11</herd>
+</pkgmetadata>