summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2010-03-17 06:10:57 +0000
committerPeter Volkov <pva@gentoo.org>2010-03-17 06:10:57 +0000
commitc48cc7f9623a5080b9ea4b606ae4cf8297325fe5 (patch)
tree69f0137a9bbdbf9c66a32dd015294f7d8f5db274 /net-print
parentRemoved doc IUSE as this version doesn't have docs. Closes bug #271462 (diff)
downloadgentoo-2-c48cc7f9623a5080b9ea4b606ae4cf8297325fe5.tar.gz
gentoo-2-c48cc7f9623a5080b9ea4b606ae4cf8297325fe5.tar.bz2
gentoo-2-c48cc7f9623a5080b9ea4b606ae4cf8297325fe5.zip
Version bump.
(Portage version: 2.2_rc66/cvs/Linux i686)
Diffstat (limited to 'net-print')
-rw-r--r--net-print/gtklp/ChangeLog9
-rw-r--r--net-print/gtklp/gtklp-1.2.8.ebuild46
2 files changed, 53 insertions, 2 deletions
diff --git a/net-print/gtklp/ChangeLog b/net-print/gtklp/ChangeLog
index 24a10f73dfec..9f4d4fe15a46 100644
--- a/net-print/gtklp/ChangeLog
+++ b/net-print/gtklp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-print/gtklp
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/gtklp/ChangeLog,v 1.36 2009/12/26 17:48:31 pva Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/gtklp/ChangeLog,v 1.37 2010/03/17 06:10:57 pva Exp $
+
+*gtklp-1.2.8 (17 Mar 2010)
+
+ 17 Mar 2010; Peter Volkov <pva@gentoo.org> +gtklp-1.2.8.ebuild:
+ Version bump.
26 Dec 2009; Peter Volkov <pva@gentoo.org> -gtklp-1.2.2.ebuild,
-gtklp-1.2.5.ebuild:
diff --git a/net-print/gtklp/gtklp-1.2.8.ebuild b/net-print/gtklp/gtklp-1.2.8.ebuild
new file mode 100644
index 000000000000..fdf83ba68634
--- /dev/null
+++ b/net-print/gtklp/gtklp-1.2.8.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/gtklp/gtklp-1.2.8.ebuild,v 1.1 2010/03/17 06:10:57 pva Exp $
+
+EAPI="2"
+
+inherit autotools eutils
+
+DESCRIPTION="A GUI for cupsd"
+HOMEPAGE="http://gtklp.sourceforge.net"
+SRC_URI="mirror://sourceforge/gtklp/${P}.src.tar.gz
+ mirror://sourceforge/gtklp/logo.xpm.gz -> gtklp-logo.xpm.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="nls ssl"
+
+RDEPEND=">=x11-libs/gtk+-2
+ >=net-print/cups-1.1.12
+ nls? ( sys-devel/gettext )
+ ssl? ( dev-libs/openssl )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ sed -e '/DEF_BROWSER_CMD/{s:netscape:firefox:}' \
+ -e '/DEF_HELP_HOME/{s:631/sum.html#STANDARD_OPTIONS:631/help/:}' \
+ -i include/defaults.h
+ eautoreconf # avoid "maintainer mode"
+}
+
+src_configure() {
+ econf \
+ $(use_enable nls) \
+ $(use_enable ssl)
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS BUGS ChangeLog README TODO USAGE || die
+
+ doicon "${WORKDIR}"/gtklp-logo.xpm
+ make_desktop_entry 'gtklp -i' "Print files via CUPS" gtklp-logo 'System;Printing'
+ make_desktop_entry gtklpq "CUPS queue manager" gtklp-logo 'System;Printing'
+}