Add aaphoto
authorDa Risk <da_risk@geekorum.com>
Wed, 26 Jun 2013 15:35:37 +0200
changeset 96 cf985811e4fb
parent 95 12aa9bfa9fc3
child 97 f4a0111acdd1
child 100 46f1d73f62f3
child 102 f10e7cad5379
child 104 dbe0aa719784
Add aaphoto (Portage version: 2.1.12.8/hg/Linux x86_64, unsigned Manifest commit)
media-gfx/aaphoto/Manifest
media-gfx/aaphoto/aaphoto-0.41.ebuild
media-gfx/aaphoto/files/00-aaphoto-0.41-fixed-missing-zlib-include.patch
media-gfx/aaphoto/metadata.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/media-gfx/aaphoto/Manifest	Wed Jun 26 15:35:37 2013 +0200
@@ -0,0 +1,1 @@
+DIST aaphoto_sources_v0.41.tar.gz 138407 SHA256 f101ff954bcca194550f35acdcaac8e4b36df072a1c5406e73f2d3bab30d38cb SHA512 bcd30ee392ce7bcecb8f4310ab80b81314e9dd995b81524c491059e85f547dd25a8d132992e55d8336a5dad604f1dd4ecc0dde74c253b942b594883760fae4a8 WHIRLPOOL a018d64c2f0b01dc1922745c9f9530ead384179206218b40b086dab6886f77aab2e1fc5949d0a51e91b314a1581378f39d0add4894e1edf00ddc9f38acc3e9dc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/media-gfx/aaphoto/aaphoto-0.41.ebuild	Wed Jun 26 15:35:37 2013 +0200
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+DESCRIPTION="Automatic photo adjusting software"
+HOMEPAGE=http://log69.com/aaphoto_en.html""
+SRC_URI="http://log69.com/downloads/${PN}_sources_v${PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="openmp"
+
+inherit eutils
+
+DEPEND="openmp? ( >=sys-devel/gcc-4.2[openmp] )
+		media-libs/jasper
+		virtual/jpeg
+		media-libs/libpng
+		sys-libs/zlib"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	epatch "${FILESDIR}/00-${P}-fixed-missing-zlib-include.patch"
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/media-gfx/aaphoto/files/00-aaphoto-0.41-fixed-missing-zlib-include.patch	Wed Jun 26 15:35:37 2013 +0200
@@ -0,0 +1,10 @@
+--- a/aaphoto.c	2011-01-26 16:39:58.000000000 +0100
++++ b/aaphoto.c	2013-06-26 12:09:58.208144331 +0200
+@@ -242,6 +242,7 @@
+ 
+ #ifndef __BMP_ONLY__
+ #include <jasper/jasper.h>
++#include <zlib.h>
+ #include <png.h>
+ #include <jpeglib.h>
+ #endif
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/media-gfx/aaphoto/metadata.xml	Wed Jun 26 15:35:37 2013 +0200
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!--
+$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.22 2013/03/05 21:30:13 hwoarang Exp $
+
+This is the example metadata file.
+The root element of this file is <pkgmetadata>. Within this element a
+number of subelements are allowed: herd, maintainer, and
+longdescription. herd is a required subelement.
+
+For a full description look at:
+http://devmanual.gentoo.org/ebuild-writing/misc-files/metadata/
+
+
+Before committing, please remove the comments from this file. They are
+not relevant for general metadata.xml files.
+-->
+<pkgmetadata>
+<!-- <herd>some-herd</herd> -->
+<maintainer>
+	<email>da_risk@geekorum.com</email>
+<!--  <description>Description of the maintainership</description> -->
+</maintainer>
+<!-- <longdescription>Long description of the package</longdescription> -->
+<!--
+<use>
+	<flag name="flag">Description of how USE='flag' affects this package</flag>
+	<flag name="userland_GNU">Description of how USERLAND='GNU' affects this
+		package</flag>
+	<flag name="aspell">Uses <pkg>app-text/aspell</pkg> for spell checking.
+		Requires an installed dictionary from <cat>app-dicts</cat></flag>
+</use>
+-->
+</pkgmetadata>