summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-03-24 16:53:56 +0100
committerJeroen Roovers <jer@gentoo.org>2020-03-24 17:00:38 +0100
commitfef858dda694e0d62b1c2b31c472e77d3f3dadcf (patch)
treec91af53d648e038402e7d4d88cbf3fccbdf97865 /x11-misc/efax-gtk
parentapp-misc/remind: Version 03.03.01 (diff)
downloadgentoo-fef858dda694e0d62b1c2b31c472e77d3f3dadcf.tar.gz
gentoo-fef858dda694e0d62b1c2b31c472e77d3f3dadcf.tar.bz2
gentoo-fef858dda694e0d62b1c2b31c472e77d3f3dadcf.zip
x11-misc/efax-gtk: Version 3.2.14
Package-Manager: Portage-2.3.95, Repoman-2.3.21 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'x11-misc/efax-gtk')
-rw-r--r--x11-misc/efax-gtk/Manifest1
-rw-r--r--x11-misc/efax-gtk/efax-gtk-3.2.14.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/x11-misc/efax-gtk/Manifest b/x11-misc/efax-gtk/Manifest
index b9d092134474..deb55464d435 100644
--- a/x11-misc/efax-gtk/Manifest
+++ b/x11-misc/efax-gtk/Manifest
@@ -1,2 +1,3 @@
DIST efax-gtk-3.2.13.src.tgz 1245015 BLAKE2B 3de1e6eb75173d1fb8901e648ba98dee847f1c4171dfdb4cb8b3eb31094b44a736f4b34a988ff95011323a31db39d75135be2959c44d0f20ea0e219a8c652aaf SHA512 dde0f79df444bdaf5250eae1dc0a94184c0b32e319b04943e81178d2a744bb6e387b5aa0f2379bd23dd4c18d28c30c60083c0cda5819e5c853c1b7bdc4f5b64f
+DIST efax-gtk-3.2.14.src.tgz 1241132 BLAKE2B 8907907681076d9238219a42c7a490f15b988019be2dd291131fd48122421f8f9476ae59f4832395ff56c44b0981490f3c38c49df643dbc1125f33e735392bbf SHA512 28e0814c209c4c398a27b4f421b0902942fb2088e94d992c344093d755a74176cedce2912ad6f5c0a21fde1fc57acd8c5bb97bd98c42b76bdf2ab1b5919a595e
DIST efax-gtk-3.2.9.src.tgz 1176921 BLAKE2B 327ee205a747bc6f3909143b79ae9754009bb29ca35a755581d7a1a6604a76deb0b17ae9c3a679652d2216668c540e2074432c88bb31ef5322d9723c8382fa2f SHA512 a2a4a648b95f9143f8ad3b42c3f8f86323a2b312fed87616eddeaebe06742a5a4ae841d79f3078bf9e819288252ad4d79ec429a66116c1d2b8df8a8a13cac806
diff --git a/x11-misc/efax-gtk/efax-gtk-3.2.14.ebuild b/x11-misc/efax-gtk/efax-gtk-3.2.14.ebuild
new file mode 100644
index 000000000000..226321974658
--- /dev/null
+++ b/x11-misc/efax-gtk/efax-gtk-3.2.14.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+
+RDEPEND="
+ >=dev-libs/glib-2.10
+ media-libs/tiff:0=
+ x11-libs/libX11
+ x11-libs/c++-gtk-utils:0[gtk]
+ x11-libs/gtk+:3
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ sys-devel/gettext
+"
+
+DOCS="AUTHORS BUGS ChangeLog README"
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.2.13-fno-common.patch
+)
+
+src_prepare() {
+ default
+ # 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 '/^Categories/s:Office;::' \
+ ${PN}.desktop || die
+}
+
+src_configure() {
+ econf \
+ --with-gtk-version=gtk3
+}
+
+src_install() {
+ default
+ # File collision with net-misc/efax wrt #401221
+ mv "${ED}"/usr/share/man/man1/efax{,-0.9a}.1 || die
+ mv "${ED}"/usr/share/man/man1/efix{,-0.9a}.1 || die
+}
+
+pkg_postinst() {
+ local spooldir="${EROOT}"/var/spool/fax
+ [[ -d ${spooldir} ]] && chown lp:lp "${spooldir}"
+}