summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-01-30 11:45:25 +0100
committerPacho Ramos <pacho@gentoo.org>2016-01-30 13:23:04 +0100
commit1563003afc5abf3ff5fb84fa84a6a0c8024ec223 (patch)
treed10e6fde0b5c451ef071df953b4a7524b371e8ed /app-text/apvlv
parentgnome-extra/evolution-data-server: Drop old (diff)
downloadgentoo-1563003afc5abf3ff5fb84fa84a6a0c8024ec223.tar.gz
gentoo-1563003afc5abf3ff5fb84fa84a6a0c8024ec223.tar.bz2
gentoo-1563003afc5abf3ff5fb84fa84a6a0c8024ec223.zip
app-text/apvlv: Disable optional webkit support to not rely on obsolete versions (with security issues (#572980)
Package-Manager: portage-2.2.27
Diffstat (limited to 'app-text/apvlv')
-rw-r--r--app-text/apvlv/apvlv-0.1.5-r1.ebuild62
1 files changed, 62 insertions, 0 deletions
diff --git a/app-text/apvlv/apvlv-0.1.5-r1.ebuild b/app-text/apvlv/apvlv-0.1.5-r1.ebuild
new file mode 100644
index 000000000000..e91b58b6724c
--- /dev/null
+++ b/app-text/apvlv/apvlv-0.1.5-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils cmake-utils gnome2-utils
+
+DESCRIPTION="Alf's PDF Viewer Like Vim"
+HOMEPAGE="https://naihe2010.github.com/apvlv/"
+SRC_URI="https://github.com/naihe2010/apvlv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug djvu"
+
+RDEPEND="
+ >=app-text/poppler-0.18:=[cairo,xpdf-headers(+)]
+ dev-libs/glib:2
+ x11-libs/gtk+:3
+ djvu? ( app-text/djvu:= )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ # preserve cflags
+ epatch "${FILESDIR}/${PN}-0.1.5-cflags.patch"
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DSYSCONFDIR=/etc/${PN}
+ -DDOCDIR=/usr/share/${PN}
+ -DMANDIR=/usr/share/man
+ -DAPVLV_WITH_HTML=OFF
+ -DAPVLV_WITH_UMD=OFF
+ -DAPVLV_WITH_TXT=ON
+ $(cmake-utils_use djvu APVLV_WITH_DJVU)
+ $(cmake-utils_use debug APVLV_ENABLE_DEBUG)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ dodoc AUTHORS NEWS README THANKS TODO
+ newicon -s 32 icons/pdf.png ${PN}.png
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}