diff options
Diffstat (limited to 'app-misc/pdfpc')
-rw-r--r-- | app-misc/pdfpc/Manifest | 2 | ||||
-rw-r--r-- | app-misc/pdfpc/pdfpc-4.2.1.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-misc/pdfpc/Manifest b/app-misc/pdfpc/Manifest index 302a4e16023e..650863699563 100644 --- a/app-misc/pdfpc/Manifest +++ b/app-misc/pdfpc/Manifest @@ -1,3 +1,5 @@ DIST pdfpc-4.1.1.tar.gz 96995 BLAKE2B f032cf0207cfb116ef98a171376d1cc80ae20f70eb7a63cf29dbd93e73c7bc1b0ef7638f9086d9908470d988830c4b420d9b96e7764af6219267d9ca6aad557a SHA512 51fa8e7743e02ba7e119dc86505f4513c174842a22d5755154775bd9abd945e7bcb9ba3c205cb27de25c38271762307136cb5370443131ea80cc0b9187e531bf +DIST pdfpc-4.2.1.tar.gz 104515 BLAKE2B 96939731e4881e9dfadb5c00e449adaf8d3b88ca8d726621e9e1ffb1a5afab3e44f2c39a587704427cab53b1e06e7cfc6873e0b9e4ed284a6203f0c5280f8065 SHA512 27674c600c2212035996a8d362432655eb6d5ee12ec34af6f6417fe05a9f5ef051f9f528bac681ab7fafc32deb38b9788256122d43ef47d0fe75d5b8e2863679 EBUILD pdfpc-4.1.1.ebuild 1047 BLAKE2B 71e94a6c2e63ffaea3046a1426036ff859b2243f7b539a9239585de10a15d60810a1c7537e2f382ee763da14a0b58632a5f70d2bafb46fca772b838e0410891e SHA512 72167e26b6c82d643fb791bc19033d41df196d8f8ce3d5bb03ab5488785c0e3aec8f16c6d5d9e85fa23289bdd60d37e0fa59bf0060ee3c692c8b275c7b8b0002 +EBUILD pdfpc-4.2.1.ebuild 1046 BLAKE2B fece2040846a3c1dcf45a3b20c6e0eb139160e3bdffbb4ef2aa1afcd20f80dfa2e15b6e10aece16eb1170a33adf1a11a1660eaf4b7afee647b090f0f609ccca9 SHA512 4d6bf8fce6f4b8a7446e093832537a9267a9d1078dc30eb20d3c6d6362a9cd539e24004b9036ae3ed9c464cd6ff2a6f059434a4012874b01c3cb8b8c99e8e1dd MISC metadata.xml 248 BLAKE2B 654fec0fee7061d757492fb099eaead728da33a2ae9cd4d062f8777b7a154898a212f16ba8432e0e2ebb5578ce57fdd536e715501972db07e906a866f65691f4 SHA512 55030b20a7a78b1738b2421cdb749e17c0704fa5b90109d83a4f81f09c177d2b27686e524935a63c8f1e7bd8f011a3a966d6ce336d335c2361fdd208763c28ef diff --git a/app-misc/pdfpc/pdfpc-4.2.1.ebuild b/app-misc/pdfpc/pdfpc-4.2.1.ebuild new file mode 100644 index 000000000000..9b616b11b484 --- /dev/null +++ b/app-misc/pdfpc/pdfpc-4.2.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +VALA_MIN_API_VERSION="0.26" +VALA_MAX_API_VERSION="0.36" # 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="gstreamer" + +RDEPEND="app-text/poppler[cairo] + dev-libs/glib:2 + dev-libs/libgee:0.8 + gnome-base/librsvg + gstreamer? ( 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() { + cmake-utils_src_prepare + + sed -i -e "s/valac-0.20/valac-0.36 valac-0.34 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" + -DMOVIES=$(usex gstreamer on off) + ) + cmake-utils_src_configure +} |