app-misc/pdfpc: Bump to 4.4.0
authorNils Freydank <holgersson@posteo.de>
Sat, 25 Apr 2020 22:19:53 +0000 (00:19 +0200)
committerJoonas Niilola <juippis@gentoo.org>
Sun, 26 Apr 2020 13:36:50 +0000 (16:36 +0300)
This bump adds vala support up to 0.48.

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Nils Freydank <holgersson@posteo.de>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
app-misc/pdfpc/Manifest
app-misc/pdfpc/pdfpc-4.4.0.ebuild [new file with mode: 0644]

index 776eadf9560fb3e2b6560710a2f4efbcf7eee3a8..3981df471b9321f2f2d52df8a365ee47fde3c7f8 100644 (file)
@@ -1,2 +1,3 @@
 DIST pdfpc-4.3.0.tar.gz 107235 BLAKE2B 290a11f970ca16ea3ce3d724f1e62cd1b347b51dfc70162e61f80fb2ef630e18963c55ff99741c9c6a0fdd85c109371e660614b0af15b63dae524e21f534001c SHA512 a7e3efecd988ecdec8b0856a7a140ef8f6f3abcc56ecd7c1193f8b1c3723c9193fa3ea48dd9286d8c90d72983fc5a8ad75be7a40cd2c6196cc1361fa3c338ac0
 DIST pdfpc-4.3.2.tar.gz 107504 BLAKE2B 5fe9ee096aab205365f93374b8ffe3990cf1aec818bcb36d2f35d572854348087f07f7e99df1c71dfc1b40c1c3c1e9e4e666a698020398416b59d151c74805d4 SHA512 e1e198c4cad996e7818dac10c07133e5c6cccf0333506eecb1090091b5c1de36f27e08178c648587e68816cc7e7d7f1666181c09a01780ea6d620c4c9820674d
+DIST pdfpc-4.4.0.tar.gz 7733136 BLAKE2B e0bae93803561e8d7a96621baef4e8e2d038324dd28c31ce9cc05a8e42dafda101eb7eb2cea258bd66a41dff904c6a95e8c9cb50b236780564b9501edf3aeef8 SHA512 4f5d013ae513ba5f106638401cccd280e1a77535747663963a566c8b9ddc7b87c0ae1859220586ed66d294902674d54cea4256c72320ad3005e3e47cc8ea57a3
diff --git a/app-misc/pdfpc/pdfpc-4.4.0.ebuild b/app-misc/pdfpc/pdfpc-4.4.0.ebuild
new file mode 100644 (file)
index 0000000..1aff127
--- /dev/null
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 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.48" # 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"
+
+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=
+       )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="$(vala_depend)"
+
+src_prepare() {
+       cmake_src_prepare
+
+       sed -i -e "s/valac/valac 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
+}