summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-misc/pdfpc/Manifest1
-rw-r--r--app-misc/pdfpc/pdfpc-4.0.5.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/app-misc/pdfpc/Manifest b/app-misc/pdfpc/Manifest
index f5586e8b8faa..20deecf57bbb 100644
--- a/app-misc/pdfpc/Manifest
+++ b/app-misc/pdfpc/Manifest
@@ -1,2 +1,3 @@
DIST pdfpc-3.1.1.tgz 199004 SHA256 ec5ffb9c2b55d1bac76172a6a13ed527ceed8cf0d659aca5e302f6a7185f00f2 SHA512 554203094b18fe11fd085414961de6644df3c258ad52d46ad171cfd6c2199028bcbaa9560bdaba63d83f858b467407cc276972b34f341cc25260db1d1358e88d WHIRLPOOL bddcba6a4285ea2b58dd01f76b7b050db630eaa97de5bba32a66f7f85563e6a99763a52e82286297f605dfa59d9ff918007baab297e587968ac1c83e3d69e8a8
DIST pdfpc-4.0.4.tar.gz 79981 SHA256 3d22b262ff97ba16c4af651cfc439a758ee416500501574cc6cd909f3762b7ce SHA512 f97dfad7bda327c59221fe2a09b6561a4a2e29333a436e893db68445f2e2163a92df082b3d6c7f6c2dffee73ba926933a9b36fd11ea9632133f73771834a7822 WHIRLPOOL 406e0ba7304be8934081262b65db637e30f26ed22aebcbd34d8454420ca90146138815f0ee5ab925ab2a028137dc96152e475ac1bac3f02437c0d8b1e190aff8
+DIST pdfpc-4.0.5.tar.gz 79849 SHA256 dc2c333082b3e5294741d6bf184b04fd60962fed64956d2b63dea4ca51f32a65 SHA512 c91d886f02ff9009abc06d95539a715940dd95872e78606b5ac26b0c2646459340b1730deab7ed53e0687e67c69c426ba4956a84e12c1df0248fd47bfdcff6e4 WHIRLPOOL 215031aa6a8f040440a4f9c9f9d4b6bc947f846847cf3d74590cc1ac59316596a09a33b637d368528e42bbcefeb1dc3088216487797ef271f79c19446a2e95ed
diff --git a/app-misc/pdfpc/pdfpc-4.0.5.ebuild b/app-misc/pdfpc/pdfpc-4.0.5.ebuild
new file mode 100644
index 000000000000..f9aedf315f78
--- /dev/null
+++ b/app-misc/pdfpc/pdfpc-4.0.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+VALA_MIN_API_VERSION="0.26"
+VALA_MAX_API_VERSION="0.32" # fix sed line if you increase this
+
+inherit vala cmake-utils
+
+DESCRIPTION="Presenter console with multi-monitor support for PDF files"
+HOMEPAGE="http://pdfpc.github.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="app-text/poppler:=[cairo]
+ dev-libs/glib:2
+ dev-libs/libgee:0.8
+ gnome-base/librsvg
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0
+ sys-apps/dbus
+ x11-libs/gtk+:3"
+DEPEND="${RDEPEND}
+ $(vala_depend)"
+
+src_prepare() {
+ default
+ sed -i -e "s/valac-0.20/valac-0.32 valac-0.30 valac-0.28 valac-0.26/" cmake/vala/FindVala.cmake || die
+ vala_src_prepare
+}
+
+src_configure(){
+ local mycmakeargs=(
+ -DSYSCONFDIR="${EPREFIX}/etc"
+ )
+ cmake-utils_src_configure
+}