summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Freydank <holgersson@posteo.de>2021-01-18 11:26:48 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-01-18 11:27:53 +0200
commit3a76178c2473a98a17dfa3a5de21f95718d4a634 (patch)
tree03f8f1edb437e9d294738bc5732bf412c1a00af9 /app-misc
parentprofiles/arch/x86: Mask for gstreamer support in pdfpc (diff)
downloadgentoo-3a76178c2473a98a17dfa3a5de21f95718d4a634.tar.gz
gentoo-3a76178c2473a98a17dfa3a5de21f95718d4a634.tar.bz2
gentoo-3a76178c2473a98a17dfa3a5de21f95718d4a634.zip
app-misc/pdfpc: Bump to 4.4.1
This ebuild also enables support for vala:0.50 and adds missing deps for gstreamer. Closes: https://bugs.gentoo.org/759418 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Nils Freydank <holgersson@posteo.de> Closes: https://github.com/gentoo/gentoo/pull/18729 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/pdfpc/Manifest1
-rw-r--r--app-misc/pdfpc/pdfpc-4.4.1.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/app-misc/pdfpc/Manifest b/app-misc/pdfpc/Manifest
index 2f8cc20da4f6..76880b575c93 100644
--- a/app-misc/pdfpc/Manifest
+++ b/app-misc/pdfpc/Manifest
@@ -1,2 +1,3 @@
DIST pdfpc-4.3.0.tar.gz 107235 BLAKE2B 290a11f970ca16ea3ce3d724f1e62cd1b347b51dfc70162e61f80fb2ef630e18963c55ff99741c9c6a0fdd85c109371e660614b0af15b63dae524e21f534001c SHA512 a7e3efecd988ecdec8b0856a7a140ef8f6f3abcc56ecd7c1193f8b1c3723c9193fa3ea48dd9286d8c90d72983fc5a8ad75be7a40cd2c6196cc1361fa3c338ac0
DIST pdfpc-4.4.0.tar.gz 7733136 BLAKE2B e0bae93803561e8d7a96621baef4e8e2d038324dd28c31ce9cc05a8e42dafda101eb7eb2cea258bd66a41dff904c6a95e8c9cb50b236780564b9501edf3aeef8 SHA512 4f5d013ae513ba5f106638401cccd280e1a77535747663963a566c8b9ddc7b87c0ae1859220586ed66d294902674d54cea4256c72320ad3005e3e47cc8ea57a3
+DIST pdfpc-4.4.1.tar.gz 7733986 BLAKE2B 4232dedbda6423e95259169348a36196a539ed966e50a230390a6f99dbff6c9710d0c41be11436005454858a213ff5f07d1b1f26fd67973f20812111eea81d79 SHA512 61db48eae75f0e55f7d7b728bc107827b9f141826c3c55be4fb90faf95eaac2dbef1858eb1b7a3e5980130ee09c4096812a3403451f2a52052c29e4fb7be458f
diff --git a/app-misc/pdfpc/pdfpc-4.4.1.ebuild b/app-misc/pdfpc/pdfpc-4.4.1.ebuild
new file mode 100644
index 000000000000..c767bbae520c
--- /dev/null
+++ b/app-misc/pdfpc/pdfpc-4.4.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+VALA_MIN_API_VERSION="0.34"
+VALA_MAX_API_VERSION="0.50" # append versions in sed line if increased
+
+inherit cmake vala
+
+DESCRIPTION="Presenter console with multi-monitor support for PDF files"
+HOMEPAGE="https://pdfpc.github.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+# Note: Relicensing to GPL-3+ for >pdfpc-4.4.1, see
+# https://github.com/pdfpc/pdfpc/commit/2a2c9b71467db801a3a0c6e5aabc8794004216bb
+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
+ sys-apps/dbus
+ x11-libs/gtk+:3
+ gstreamer? (
+ media-libs/gstreamer:1.0=
+ media-libs/gst-plugins-base:1.0=
+ media-plugins/gst-plugins-gtk:1.0=
+ media-plugins/gst-plugins-cairo:1.0=
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="$(vala_depend)"
+
+src_prepare() {
+ cmake_src_prepare
+
+ sed -i -e "s/valac/valac valac-0.50 valac-0.48 valac-0.46 valac-0.44 valac-0.40 valac-0.36/" cmake/vala/FindVala.cmake || die
+ vala_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DMOVIES=$(usex gstreamer on off)
+ )
+ cmake_src_configure
+}