diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2018-10-28 18:01:25 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2018-10-28 18:01:25 +0100 |
commit | dabf248bd5a3cc41a1709dc9d2eedac954fca5d8 (patch) | |
tree | e69b47f84a5b433409024a90c1891125a5be95bf | |
parent | app-arch/zstd: Version bump to 1.3.7 (diff) | |
download | gentoo-dabf248bd5a3cc41a1709dc9d2eedac954fca5d8.tar.gz gentoo-dabf248bd5a3cc41a1709dc9d2eedac954fca5d8.tar.bz2 gentoo-dabf248bd5a3cc41a1709dc9d2eedac954fca5d8.zip |
app-misc/pdfpc: Version bump to 4.2.1
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
-rw-r--r-- | app-misc/pdfpc/Manifest | 1 | ||||
-rw-r--r-- | app-misc/pdfpc/pdfpc-4.2.1.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/app-misc/pdfpc/Manifest b/app-misc/pdfpc/Manifest index 3ec670aa75fb..e8fe1822bc50 100644 --- a/app-misc/pdfpc/Manifest +++ b/app-misc/pdfpc/Manifest @@ -1 +1,2 @@ DIST pdfpc-4.1.1.tar.gz 96995 BLAKE2B f032cf0207cfb116ef98a171376d1cc80ae20f70eb7a63cf29dbd93e73c7bc1b0ef7638f9086d9908470d988830c4b420d9b96e7764af6219267d9ca6aad557a SHA512 51fa8e7743e02ba7e119dc86505f4513c174842a22d5755154775bd9abd945e7bcb9ba3c205cb27de25c38271762307136cb5370443131ea80cc0b9187e531bf +DIST pdfpc-4.2.1.tar.gz 104515 BLAKE2B 96939731e4881e9dfadb5c00e449adaf8d3b88ca8d726621e9e1ffb1a5afab3e44f2c39a587704427cab53b1e06e7cfc6873e0b9e4ed284a6203f0c5280f8065 SHA512 27674c600c2212035996a8d362432655eb6d5ee12ec34af6f6417fe05a9f5ef051f9f528bac681ab7fafc32deb38b9788256122d43ef47d0fe75d5b8e2863679 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 +} |