diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2010-10-19 21:28:32 +0000 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2010-10-19 21:28:32 +0000 |
commit | 06ffab6530acb36e70d1eef871ea0b7ca07cc874 (patch) | |
tree | 5122a3c5eba218cdcad992ff93770dd478170882 | |
parent | Marking qt-xmlpatterns-4.6.3 ~ppc for bug 341703 (diff) | |
download | gentoo-2-06ffab6530acb36e70d1eef871ea0b7ca07cc874.tar.gz gentoo-2-06ffab6530acb36e70d1eef871ea0b7ca07cc874.tar.bz2 gentoo-2-06ffab6530acb36e70d1eef871ea0b7ca07cc874.zip |
Version bump
(Portage version: 2.2_rc98/cvs/Linux x86_64)
-rw-r--r-- | app-admin/system-config-printer-gnome/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/system-config-printer-gnome/system-config-printer-gnome-1.2.5.ebuild | 85 |
2 files changed, 92 insertions, 1 deletions
diff --git a/app-admin/system-config-printer-gnome/ChangeLog b/app-admin/system-config-printer-gnome/ChangeLog index ab752a9ddb97..4062f8354a4a 100644 --- a/app-admin/system-config-printer-gnome/ChangeLog +++ b/app-admin/system-config-printer-gnome/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/system-config-printer-gnome # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-gnome/ChangeLog,v 1.12 2010/09/19 17:05:56 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-gnome/ChangeLog,v 1.13 2010/10/19 21:28:32 reavertm Exp $ + +*system-config-printer-gnome-1.2.5 (19 Oct 2010) + + 19 Oct 2010; Maciej Mrozowski <reavertm@gentoo.org> + +system-config-printer-gnome-1.2.5.ebuild: + Version bump 19 Sep 2010; Raúl Porcel <armin76@gentoo.org> system-config-printer-gnome-1.2.2.ebuild, diff --git a/app-admin/system-config-printer-gnome/system-config-printer-gnome-1.2.5.ebuild b/app-admin/system-config-printer-gnome/system-config-printer-gnome-1.2.5.ebuild new file mode 100644 index 000000000000..07e15b3cc722 --- /dev/null +++ b/app-admin/system-config-printer-gnome/system-config-printer-gnome-1.2.5.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-gnome/system-config-printer-gnome-1.2.5.ebuild,v 1.1 2010/10/19 21:28:32 reavertm Exp $ + +EAPI="3" + +PYTHON_DEPEND="2" +WANT_AUTOMAKE="1.11" +inherit python autotools + +MY_P="${PN%-gnome}-${PV}" + +DESCRIPTION="GNOME frontend for a 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.2/${MY_P}.tar.xz" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~sh ~sparc ~x86" +SLOT="0" +IUSE="gnome-keyring" + +# Needs cups running, bug 284005 +RESTRICT="test" + +RDEPEND=" + >=app-admin/system-config-printer-common-${PV} + dev-python/libgnome-python + dev-python/notify-python + >=dev-python/pygtk-2.4 + dev-python/pyxml + gnome-keyring? ( dev-python/gnome-keyring-python ) +" +DEPEND="${RDEPEND} + app-text/docbook-xml-dtd:4.1.2 + app-text/xmlto + dev-util/intltool + sys-devel/gettext +" + +APP_LINGUAS="ar as bg bn_IN bn br bs ca cs cy da de el en_GB es et fa fi fr gu +he hi hr hu hy id is it ja ka kn ko lo lv mai mk ml mr ms nb nl nn or pa pl +pt_BR pt ro ru si sk sl sr@latin sr sv ta te th tr uk vi zh_CN zh_TW" +for X in ${APP_LINGUAS}; do + IUSE="${IUSE} linguas_${X}" +done + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + python_set_active_version 2 +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.2.3-split.patch" + + eautoreconf +} + +src_configure() { + local myconf + + # Disable installation of translations when LINGUAS not chosen + if [[ -z "${LINGUAS}" ]]; then + myconf="${myconf} --disable-nls" + else + myconf="${myconf} --enable-nls" + fi + + econf \ + --with-desktop-vendor=Gentoo \ + --without-udev-rules \ + ${myconf} +} + +src_install() { + dodoc AUTHORS ChangeLog README || die "dodoc failed" + + emake DESTDIR="${D}" install || die "emake install failed" + + python_convert_shebangs -q -r $(python_get_version) "${D}" +} + +pkg_postrm() { + python_mod_cleanup /usr/share/system-config-printer +} |