summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-02-28 07:07:31 +0000
committerTim Harder <radhermit@gentoo.org>2011-02-28 07:07:31 +0000
commitdd3bfdaa203a02cec3837884ca5dc6f30cae9259 (patch)
tree399a89d1bb23d748257c7302becb293b95d4972a /media-gfx/photoprint
parentInitial import based on ebuild from ramereth in bug 351475. (diff)
downloadhistorical-dd3bfdaa203a02cec3837884ca5dc6f30cae9259.tar.gz
historical-dd3bfdaa203a02cec3837884ca5dc6f30cae9259.tar.bz2
historical-dd3bfdaa203a02cec3837884ca5dc6f30cae9259.zip
Initial import (bug #192847). Ebuild by me.
Package-Manager: portage-2.2.0_alpha25/cvs/Linux x86_64
Diffstat (limited to 'media-gfx/photoprint')
-rw-r--r--media-gfx/photoprint/ChangeLog10
-rw-r--r--media-gfx/photoprint/Manifest19
-rw-r--r--media-gfx/photoprint/files/photoprint-0.4.2_pre2-cups-automagic.patch16
-rw-r--r--media-gfx/photoprint/metadata.xml9
-rw-r--r--media-gfx/photoprint/photoprint-0.4.2_pre2.ebuild48
5 files changed, 102 insertions, 0 deletions
diff --git a/media-gfx/photoprint/ChangeLog b/media-gfx/photoprint/ChangeLog
new file mode 100644
index 000000000000..001419eb167b
--- /dev/null
+++ b/media-gfx/photoprint/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-gfx/photoprint
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/photoprint/ChangeLog,v 1.1 2011/02/28 07:07:31 radhermit Exp $
+
+*photoprint-0.4.2_pre2 (28 Feb 2011)
+
+ 28 Feb 2011; Tim Harder <radhermit@gentoo.org> +photoprint-0.4.2_pre2.ebuild,
+ +files/photoprint-0.4.2_pre2-cups-automagic.patch, +metadata.xml:
+ Initial import (bug #192847). Ebuild by me.
+
diff --git a/media-gfx/photoprint/Manifest b/media-gfx/photoprint/Manifest
new file mode 100644
index 000000000000..c214bf301ca2
--- /dev/null
+++ b/media-gfx/photoprint/Manifest
@@ -0,0 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX photoprint-0.4.2_pre2-cups-automagic.patch 402 RMD160 931fb023421220fe6a09cdf0edf07da3a34cac72 SHA1 075dd9398d6f5a9c5f7feade3e062dc19af816ae SHA256 004c93e33537a0a72aafd715fc64ce202b8a3f02b7b653959dd2c9ff2434f9a3
+DIST photoprint-0.4.2-pre2.tar.gz 2002424 RMD160 a70c5ada6843cab494da82b68c1e0fdfcc4823b3 SHA1 9dbda510b399b9205de80e1273257fa36d0497e3 SHA256 d7fdaac4928083c499164ca676fe08eac5d9f4c8763309af03b6a2a3c53dab7d
+EBUILD photoprint-0.4.2_pre2.ebuild 1122 RMD160 27a20236ef95c1446b52c53d0bbf203d909b2e4e SHA1 3a0f444dcd10b4c4b3807b4d4053baa5e2bf5288 SHA256 dbc4309cf0b4f85c4434750584253a11abffe90403f964dcfce271f6ed9e2a3a
+MISC ChangeLog 449 RMD160 8ea9c6316e13990a75e1ba41e706584dd8e6369e SHA1 b2b26b1472a567f199dec2a501c017a931138153 SHA256 259b5e92a78d24dd66de622b9ce210c5d4ad8f5de587fc601ba3267171aa7f36
+MISC metadata.xml 255 RMD160 a880a2d72fc5e1ebff7ca2f6fe1d896425e90b7b SHA1 a127da6c4f1aa34c7765f76027feede649d4f99b SHA256 c4740a15be5c532f468b21b12d8ee5d05b81f2398616fd7ae4b264cea59bc817
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQEcBAEBAgAGBQJNa0m8AAoJEEqz6FtPBkyjJf4H/1wa/1zbR5IrB9tVmKFGimyl
+NPE2JCxqrF5o9kvuXmG9k8LSJc1uHiawmLuPfuCzUTKHuBJ0u08ohXI9cg4Idpvi
+O9/7sz1guclPiLH5pEuE9GQakWL9j7NOXX+5jBEjAbzwggh5x0Jusn2ReOwuSJ5z
+R8ixKxHFCBS/+58l+SWujubEVTHtR15cJG4XX7SrUpRHJwD1tTLJn/Vw1JIX4q5h
+w9ZoJGeq+JEhIoomNRcDvItSpmBTlBP21Dejj7ZlU79dA4pnI8VdqFLXiGV3AjHS
+FemkHL9gAJZ8pLxttx+RfGijMc0dWH4cOoZeW+3M6jj2r162Zxr6MpnzZC5XsSQ=
+=xU4G
+-----END PGP SIGNATURE-----
diff --git a/media-gfx/photoprint/files/photoprint-0.4.2_pre2-cups-automagic.patch b/media-gfx/photoprint/files/photoprint-0.4.2_pre2-cups-automagic.patch
new file mode 100644
index 000000000000..b58cc9d53693
--- /dev/null
+++ b/media-gfx/photoprint/files/photoprint-0.4.2_pre2-cups-automagic.patch
@@ -0,0 +1,16 @@
+--- photoprint-0.4.2-pre2/configure.ac.orig
++++ photoprint-0.4.2-pre2/configure.ac
+@@ -68,7 +68,12 @@
+ echo "Not using -lnsl since you are running IRIX."
+ fi)
+
+-AC_CHECK_LIB(cups,httpConnect)
++AC_ARG_ENABLE([cups],
++ AS_HELP_STRING([--enable-cups], [Enable cups support]))
++
++AS_IF([test "x$enable_cups" = "xyes"], [
++ AC_CHECK_LIB(cups,httpConnect)
++])
+
+ # Checks for header files.
+ AC_HEADER_STDC
diff --git a/media-gfx/photoprint/metadata.xml b/media-gfx/photoprint/metadata.xml
new file mode 100644
index 000000000000..ce74d099b974
--- /dev/null
+++ b/media-gfx/photoprint/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>graphics</herd>
+ <maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-gfx/photoprint/photoprint-0.4.2_pre2.ebuild b/media-gfx/photoprint/photoprint-0.4.2_pre2.ebuild
new file mode 100644
index 000000000000..f4eae9b3cec4
--- /dev/null
+++ b/media-gfx/photoprint/photoprint-0.4.2_pre2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/photoprint/photoprint-0.4.2_pre2.ebuild,v 1.1 2011/02/28 07:07:31 radhermit Exp $
+
+EAPI=4
+
+inherit eutils autotools
+
+MY_P=${P/_/-}
+DESCRIPTION="A utility for printing digital photographs"
+HOMEPAGE="http://www.blackfiveimaging.co.uk/index.php?article=02Software%2F01PhotoPrint"
+SRC_URI="http://www.blackfiveimaging.co.uk/photoprint/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cups"
+
+RDEPEND="cups? ( net-print/cups )
+ dev-libs/glib:2
+ media-libs/lcms:0
+ media-libs/netpbm
+ media-libs/tiff
+ >=net-print/gutenprint-5
+ virtual/jpeg
+ >=x11-libs/gtk+-2.4:2
+ x11-libs/libX11
+ x11-proto/xproto"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ dev-util/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-cups-automagic.patch
+
+ # Ships with po/Makefile.in.in from gettext-0.17
+ # which fails with >=gettext-0.18
+ cp "${EROOT}"/usr/share/gettext/po/Makefile.in.in po/
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable cups)
+}