We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.

changeset 83:f3fa1d6be0b5

adding media-plugins/gimp-dds-3.0.1, slightly modified 2.0.9 ebuild from sunrise overlay
author Daniel Neugebauer <dneuge@energiequant.de>
date Sun, 01 Feb 2015 15:21:17 +0100
parents 0062a8ff5313
children 25fe8565dcf0 c34fad62d05a
files media-plugins/gimp-dds/Manifest media-plugins/gimp-dds/gimp-dds-3.0.1.ebuild
diffstat 2 files changed, 47 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/media-plugins/gimp-dds/Manifest	Sun Feb 01 15:21:17 2015 +0100
@@ -0,0 +1,2 @@
+DIST gimp-dds-3.0.1.tar.bz2 470026 SHA256 6e53df3b8b98c55f22fa7ea2c3ed17478626c924b24c69d499f5d813c3c2788a SHA512 0fbace84175b83d60803a3277044adf259af89d1ae7678277dd186a01336c0fd430490cdd8726c32dc5d66a17b957261007e223bba73ea14ceea14ba8d54c5b9 WHIRLPOOL ca4627f504ebc76080ebe5b4ee62bf7007bcb5136c2260b4b377c0cec061d46f23fe9477c1b1f5f5c15abbc0e437dda7d342603cb7dec55a23e9e8cf1d5e9365
+EBUILD gimp-dds-3.0.1.ebuild 1077 SHA256 08ee02aa13c32adf62b0b382a482a086424fb80e0e7135ac7a851d479068da64 SHA512 4fca6d87285ed8548ea5ad8ee014e872312f26f04ee7f280e13436f55b6cd7d256a7e71da20bc98e5baad63f67655c020287370d978543e01ce5d0f23364956b WHIRLPOOL b711e50bcd760d7983197f0b7ef1c8304454717afdd4892b06fec34181fe0639d430251d3f2451e051cfcb645986c3bc3c080f6413510d485647f893308644cb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/media-plugins/gimp-dds/gimp-dds-3.0.1.ebuild	Sun Feb 01 15:21:17 2015 +0100
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="DirectDraw Surface (DDS) format plugin for Gimp 2"
+HOMEPAGE="http://code.google.com/p/gimp-dds/"
+SRC_URI="http://gimp-dds.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=media-gfx/gimp-2.8
+	 <media-gfx/gimp-2.9"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+src_prepare() {
+	sed -e 's:CFLAGS=.*\$(:CFLAGS+=\$(:' \
+	    -e 's:LDFLAGS=:LDFLAGS+=:' \
+		-i Makefile || die
+
+	# Fixing incorrect $(LD) usage
+	# http://code.google.com/p/gimp-normalmap/issues/detail?id=1
+	sed -e 's:\t$(LD) :\t$(CC) :' \
+		-i Makefile || die
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)" || die "emake failed"
+}
+
+src_install() {
+	exeinto "$(pkg-config --variable=gimplibdir gimp-2.0)/plug-ins"
+	doexe dds || die "Installation failed"
+
+	# No need to install the gimp-dds.odt or the images, as they have the same
+	# content as the gimp-dds.pdf
+	dodoc README TODO doc/gimp-dds.pdf || die
+}