summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Asplund <peter.azp@gmail.com>2013-09-22 23:25:45 +0200
committerPeter Asplund <peter.azp@gmail.com>2013-09-22 23:25:45 +0200
commitdfdc9dc825ea4df3103248efe6c3407f93c86744 (patch)
tree9b97f434736f7e45365dbd5dfb053f87495e4daf
parentSet Gnome3 as default IUSE. (diff)
downloadAzP-dfdc9dc825ea4df3103248efe6c3407f93c86744.tar.gz
AzP-dfdc9dc825ea4df3103248efe6c3407f93c86744.tar.bz2
AzP-dfdc9dc825ea4df3103248efe6c3407f93c86744.zip
Add gimp-normalmap package and fix ebuild
-rw-r--r--media-plugins/gimp-normalmap/ChangeLog20
-rw-r--r--media-plugins/gimp-normalmap/Manifest4
-rw-r--r--media-plugins/gimp-normalmap/gimp-normalmap-1.2.2-r2.ebuild44
-rw-r--r--media-plugins/gimp-normalmap/metadata.xml5
4 files changed, 73 insertions, 0 deletions
diff --git a/media-plugins/gimp-normalmap/ChangeLog b/media-plugins/gimp-normalmap/ChangeLog
new file mode 100644
index 0000000..a197b54
--- /dev/null
+++ b/media-plugins/gimp-normalmap/ChangeLog
@@ -0,0 +1,20 @@
+# ChangeLog for media-plugins/gimp-normalmap
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 22 Sep 2013; Peter Asplund <peterasplund@gentoo.se> gimp-normalmap-1.2.2-r2.ebuild:
+ Add -lm to linker libraries
+
+ 05 May 2012; Mike Gilbert <floppym@gentoo.org> gimp-normalmap-1.2.2-r1.ebuild:
+ Use pkgconfig virtual.
+
+ 08 Jul 2010; Michał Górny (sedzimir) <mgorny.3ehbo@mailnull.com>
+ -gimp-normalmap-1.2.2.ebuild, +gimp-normalmap-1.2.2-r1.ebuild:
+ Upstream regenerated the tarball, update the Manifest. Minimize sed usage
+ in favor of emake arguments.
+
+ 26 Apr 2010; Denilson (CrazyTB) <denilsonsa@gmail.com>
+ +gimp-normalmap-1.2.2.ebuild, +metadata.xml:
+ New package, wrt bug 187052, many thanks to Dennis Schridde, binki,
+ chithead, Tommy[D]
+
diff --git a/media-plugins/gimp-normalmap/Manifest b/media-plugins/gimp-normalmap/Manifest
new file mode 100644
index 0000000..804d402
--- /dev/null
+++ b/media-plugins/gimp-normalmap/Manifest
@@ -0,0 +1,4 @@
+DIST gimp-normalmap-1.2.2.tar.bz2 143698 SHA256 e0029552dd0f25396de68ed7009e65da2d6ac3913903bd2b67767ffe69a0674e SHA512 00b7ab8746d8c2979009a80f540fdfabfe19447d11e2fc2aab6721975f53101284f83ad514d40d72675845dcf4c55a1faae65119843b71f9ae02d3619df52d44 WHIRLPOOL 7d68dd6eaeae9371023f739e0f0183415287a229888b85bede683defc2a06926aebf12a96e2dc154a2bf2e19b5e4a88eda377ed5caa2b70db771862c7626c17a
+EBUILD gimp-normalmap-1.2.2-r2.ebuild 995 SHA256 2b5073d2f5d657da7706834447d61cfbf9035387f1db63179fbe12817d8a4209 SHA512 e44244f7e32990312669c000444679897a126ad225a8dd1b1dbd36b215586b3788b0b741afaf51e4d8609cfdc5f092670b319bb8dbfb68a4377b486139bc838c WHIRLPOOL bdf7f7b61a5679b4f5aa02ac8068160db4a1edf85fa05814011f2496ce7f551edd1d5d51741875daae75aed7ab9f907e5a2b7f7bf1d7923c6f1c24433baaecd3
+MISC ChangeLog 791 SHA256 d16120e2a4c034a58cdecb8c2d1d5ec2fe83414882be6293a86e2f31abfee57c SHA512 49622e50e95ef1e07ca6665bb6eb5a87b6301a9123fe68773ada007df769f6309485082899a17cedf44fbad51099da0fc00ad6218e8a742285f4ddf11adb0fbd WHIRLPOOL d283ff179ca9ca0c2a107480c8f889a6b2dfeeff5b37a4fadf63929657c25e449ecf5bc4873b361c8b5a28becbe93cf042c0ae843044990c4d9c81380342a85b
+MISC metadata.xml 208 SHA256 c4841c87f0c2b9b5e679a27dc72180be8d508fb3f5df0fbab2ec2c805c0a6d82 SHA512 21d90d4547c76c80e50e134359dfbec42b158bbc16e4741738bdde5f67b7926d158dae1905948a477405b74e754ce4ed63cad910f220a709db8dfccf160e5288 WHIRLPOOL 33ec53f42c7a8c4c419989bd94e083c417574463e19c9c1322e6b96d0f5a6a52e3dd69fbedf2d11a7a77d24a93b81f3a604b6b33cac62548389537bf3e42df0e
diff --git a/media-plugins/gimp-normalmap/gimp-normalmap-1.2.2-r2.ebuild b/media-plugins/gimp-normalmap/gimp-normalmap-1.2.2-r2.ebuild
new file mode 100644
index 0000000..1b28959
--- /dev/null
+++ b/media-plugins/gimp-normalmap/gimp-normalmap-1.2.2-r2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit toolchain-funcs
+
+DESCRIPTION="Gimp plug-in for converting images into RGB normal maps"
+HOMEPAGE="http://code.google.com/p/gimp-normalmap/"
+SRC_URI="http://gimp-normalmap.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="media-gfx/gimp
+ media-libs/glew
+ x11-libs/gtkglext"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -e 's:\(CFLAGS\)=-O3:\1+=:' \
+ -e 's:-L/usr/X11R6/lib:-lm:' \
+ -i Makefile.linux || die
+}
+
+src_compile() {
+ local cc=$(tc-getCC)
+ emake CC="${cc}" LDFLAGS="${LDFLAGS}" LD="${cc}" || die "emake failed"
+}
+
+src_install() {
+ exeinto $(pkg-config --variable=gimplibdir gimp-2.0)/plug-ins
+ doexe normalmap || die "Installation failed"
+ dodoc README || die
+}
+
+pkg_postinst() {
+ elog "The GIMP normalmap plugin is accessible from the menu:"
+ elog "Filters -> Map -> Normalmap"
+}
diff --git a/media-plugins/gimp-normalmap/metadata.xml b/media-plugins/gimp-normalmap/metadata.xml
new file mode 100644
index 0000000..31dc017
--- /dev/null
+++ b/media-plugins/gimp-normalmap/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>