summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2013-05-31 15:45:07 +0000
committerMichael Weber <xmw@gentoo.org>2013-05-31 15:45:07 +0000
commit67cbb5b6d7f4c31cbf6a3c0b69fd158e8a5a465b (patch)
treea482d43e5fe00d14ef192bb09d74978a1af9b163 /x11-misc/efax-gtk
parentVersion bump, drop old. (diff)
downloadgentoo-2-67cbb5b6d7f4c31cbf6a3c0b69fd158e8a5a465b.tar.gz
gentoo-2-67cbb5b6d7f4c31cbf6a3c0b69fd158e8a5a465b.tar.bz2
gentoo-2-67cbb5b6d7f4c31cbf6a3c0b69fd158e8a5a465b.zip
Version bump (bug 467932)
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'x11-misc/efax-gtk')
-rw-r--r--x11-misc/efax-gtk/ChangeLog9
-rw-r--r--x11-misc/efax-gtk/efax-gtk-3.2.11.ebuild54
2 files changed, 61 insertions, 2 deletions
diff --git a/x11-misc/efax-gtk/ChangeLog b/x11-misc/efax-gtk/ChangeLog
index f19d3557da68..aba2e27be894 100644
--- a/x11-misc/efax-gtk/ChangeLog
+++ b/x11-misc/efax-gtk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/efax-gtk
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/efax-gtk/ChangeLog,v 1.40 2012/05/05 04:53:50 jdhore Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/efax-gtk/ChangeLog,v 1.41 2013/05/31 15:45:07 xmw Exp $
+
+*efax-gtk-3.2.11 (31 May 2013)
+
+ 31 May 2013; Michael Weber <xmw@gentoo.org> +efax-gtk-3.2.11.ebuild:
+ Version bump (bug 467932)
05 May 2012; Jeff Horelick <jdhore@gentoo.org> efax-gtk-3.2.9.ebuild:
dev-util/pkgconfig -> virtual/pkgconfig
diff --git a/x11-misc/efax-gtk/efax-gtk-3.2.11.ebuild b/x11-misc/efax-gtk/efax-gtk-3.2.11.ebuild
new file mode 100644
index 000000000000..076b58388714
--- /dev/null
+++ b/x11-misc/efax-gtk/efax-gtk-3.2.11.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/efax-gtk/efax-gtk-3.2.11.ebuild,v 1.1 2013/05/31 15:45:07 xmw Exp $
+
+EAPI=4
+
+DESCRIPTION="A graphical frontend for the 'efax' application"
+HOMEPAGE="http://efax-gtk.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.src.tgz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="nls"
+
+RDEPEND=">=dev-libs/glib-2.10
+ media-libs/tiff:0
+ x11-libs/libX11
+ x11-libs/c++-gtk-utils:3
+ x11-libs/gtk+:3"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+DOCS="AUTHORS BUGS ChangeLog README"
+
+src_prepare() {
+ # Prevent sandbox violation with chown/chgrp and existing spooldir
+ sed -i -e '/ch.*lp.*spooldir/d' efax-gtk-faxfilter/Makefile.in || die
+
+ sed -i \
+ -e '/^Encoding/d' \
+ -e '/^Icon/s:.png::' \
+ -e '/^Categories/s:Application;::' \
+ ${PN}.desktop || die
+}
+
+src_configure() {
+ econf --disable-silent-rules \
+ $(use_enable nls) \
+ --with-gtk-version=gtk3
+}
+
+src_install() {
+ default
+ # http://bugs.gentoo.org/401221
+ mv -vf "${ED}"usr/share/man/man1/efax{,-0.9a}.1 || die
+ mv -vf "${ED}"usr/share/man/man1/efix{,-0.9a}.1 || die
+}
+
+pkg_postinst() {
+ local spooldir="${EROOT}"/var/spool/fax
+ [[ -d ${spooldir} ]] && chown lp:lp "${spooldir}"
+}