summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2012-03-05 22:41:50 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2012-03-05 22:41:50 +0000
commit693f666e9ab569218332ffbfd5e48428725b1b26 (patch)
tree3871f89e287ed50a31ec9096300b98716b1516b7 /app-admin/system-config-printer-common
parentMarking tk-8.5.10 ppc for bug 406607 (diff)
downloadgentoo-2-693f666e9ab569218332ffbfd5e48428725b1b26.tar.gz
gentoo-2-693f666e9ab569218332ffbfd5e48428725b1b26.tar.bz2
gentoo-2-693f666e9ab569218332ffbfd5e48428725b1b26.zip
Version bump
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/system-config-printer-common')
-rw-r--r--app-admin/system-config-printer-common/ChangeLog8
-rw-r--r--app-admin/system-config-printer-common/system-config-printer-common-1.3.9.ebuild92
2 files changed, 99 insertions, 1 deletions
diff --git a/app-admin/system-config-printer-common/ChangeLog b/app-admin/system-config-printer-common/ChangeLog
index a59e191c7713..8be68b6b762a 100644
--- a/app-admin/system-config-printer-common/ChangeLog
+++ b/app-admin/system-config-printer-common/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/system-config-printer-common
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.60 2012/03/05 21:51:50 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.61 2012/03/05 22:41:50 reavertm Exp $
+
+*system-config-printer-common-1.3.9 (05 Mar 2012)
+
+ 05 Mar 2012; Maciej Mrozowski <reavertm@gentoo.org>
+ +system-config-printer-common-1.3.9.ebuild:
+ Version bump
05 Mar 2012; Brent Baude <ranger@gentoo.org>
system-config-printer-common-1.3.7.ebuild:
diff --git a/app-admin/system-config-printer-common/system-config-printer-common-1.3.9.ebuild b/app-admin/system-config-printer-common/system-config-printer-common-1.3.9.ebuild
new file mode 100644
index 000000000000..c618fddfc117
--- /dev/null
+++ b/app-admin/system-config-printer-common/system-config-printer-common-1.3.9.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.3.9.ebuild,v 1.1 2012/03/05 22:41:50 reavertm Exp $
+
+EAPI="3"
+
+PYTHON_DEPEND="2"
+WANT_AUTOMAKE="1.11"
+inherit python autotools
+
+MY_P="${PN%-common}-${PV}"
+
+DESCRIPTION="Common modules of Red Hat's printer administration tool"
+HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
+SRC_URI="http://cyberelk.net/tim/data/system-config-printer/1.3/${MY_P}.tar.xz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+SLOT="0"
+IUSE="doc policykit"
+
+# Needs cups running, bug 284005
+RESTRICT="test"
+
+# system-config-printer split since 1.1.3
+COMMON_DEPEND="
+ dev-libs/glib:2
+ dev-libs/libxml2[python]
+ dev-python/dbus-python
+ >=dev-python/pycups-1.9.60
+ >=dev-python/pygobject-2.21.5:2
+ >=net-print/cups-1.4.6[dbus]
+ >=sys-fs/udev-164-r2
+ virtual/libusb:0
+"
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ dev-util/pkgconfig
+ doc? ( dev-python/epydoc )
+"
+RDEPEND="${COMMON_DEPEND}
+ !app-admin/system-config-printer:0
+ !<app-admin/system-config-printer-gnome-${PV}
+ policykit? ( sys-auth/polkit )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-1.3.5-split.patch"
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-nls \
+ --with-udev-rules
+}
+
+src_compile() {
+ emake || die "emake failed"
+ if use doc; then
+ emake html || die "emake html failed"
+ fi
+}
+
+src_install() {
+ dodoc AUTHORS ChangeLog README || die "dodoc failed"
+
+ if use doc; then
+ dohtml -r html/ || die "installing html docs failed"
+ fi
+
+ emake DESTDIR="${ED}" install \
+ udevrulesdir=/lib/udev/rules.d \
+ udevhelperdir=/lib/udev \
+ || die "emake install failed"
+
+ python_convert_shebangs -q -r $(python_get_version) "${ED}"
+}
+
+pkg_postinst() {
+ python_mod_optimize cupshelpers
+}
+
+pkg_postrm() {
+ python_mod_cleanup cupshelpers /usr/share/system-config-printer
+}