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

view media-plugins/gimp-dds/gimp-dds-3.0.1.ebuild @ 231:e7c5198d2991

[sync] imported aa68919..e042371 from upstream commit e042371101537d75d7751a7009624a34c11713e6 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Jun 1 14:20:28 2020 +0200 app-crypto/acmetool: added 0.2.1 (supports ACME v2) commit a268a6c732e7ad6a5336d857c600da79559f0201 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Jun 1 13:10:03 2020 +0200 app-crypt/acmetool: unsymlinked 0.0.58 commit aae9c08eddcc5fe7e3a72722761cea40ed0bbe0c Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Jun 1 13:07:36 2020 +0200 app-crypt/acmetool: fixed 0.0.58 to work with EAPI 7 and renamed GitHub locations commit 11b50f66971c911fc1f022ee56ca0b494e6ef0cf Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Jun 1 12:02:22 2020 +0200 app-crypt/acmetool: copy from https://github.com/jmesmon/overlay/ before it was removed on May 26, 2017
author Migration Sync <gentoo-overlay@megacoffee.net>
date Mon, 01 Jun 2020 12:30:01 +0000
parents f3fa1d6be0b5
children
line wrap: on
line source

# 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
}