summaryrefslogtreecommitdiff
path: root/app-misc/pdfpc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-12 09:56:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-12 09:56:54 +0000
commitebc282ef4dfa408accac685565b8ee5f6faec119 (patch)
treec0a4f713228cda0ab17eed46f0bb7ca8cb8be2f6 /app-misc/pdfpc
parent6c8694a707151d59555b0e4e48235f085ce166c3 (diff)
gentoo auto-resync : 12:02:2023 - 09:56:54
Diffstat (limited to 'app-misc/pdfpc')
-rw-r--r--app-misc/pdfpc/Manifest4
-rw-r--r--app-misc/pdfpc/metadata.xml11
-rw-r--r--app-misc/pdfpc/pdfpc-4.6.0-r1.ebuild80
3 files changed, 94 insertions, 1 deletions
diff --git a/app-misc/pdfpc/Manifest b/app-misc/pdfpc/Manifest
index 29146993fa50..994b690775fa 100644
--- a/app-misc/pdfpc/Manifest
+++ b/app-misc/pdfpc/Manifest
@@ -1,3 +1,5 @@
DIST pdfpc-4.5.0.tar.gz 7754665 BLAKE2B 952a1694811ff80ab6b2e46b440182407ce16a727ebc1f1492cf1f86c25fe1827e926eb5baf59376f46b8e7bea6e00e4f1343930cd043445f7d2966a958b4a6c SHA512 142a276dc410bd1aac90b27d1b10d165de225d5cec73ab39d7f7061e5d8ac7526e3f537b61f15e904bba8d135a72c5567dfa350e454006435ad3647d22c58221
+DIST pdfpc-4.6.0.tar.gz 7766521 BLAKE2B 3e8914333a0781d3d750ab71d58c8af1451ce5ab321ecc0639ddcf377cae9a0c62290696455516ce1d70f4ae3ffc5889fe910ced0399787e6a40c8ae76e1f75e SHA512 4ec69cbe21fb8bbb3e381229c391133f92e76b610e1fdf1cffa2c9fa9997ccc879eaef2a6837b34d1e635cdd07c4d0ce98de03fd7ece431a8f35493f0f7d7651
EBUILD pdfpc-4.5.0-r2.ebuild 1560 BLAKE2B 14fd54ed23f5554cb469acad207440a162a74b80367a81251c7568f822152f13226f2c716dae02c9151e15fe30a6508d25c2c113346ff62f42f8c450a26e585e SHA512 9d2655c1c4d212cdc37e13c855e4752864255b1b22fd749d6cf9433ab2320614ca01c378c7aa2b87393511e1e43c92410f7eeeabdc9525f7b7878c610ca39690
-MISC metadata.xml 291 BLAKE2B 270a4048fd986dea045aa9de37187a68f155d632d903fcb1b5c306a9f039ff0ba581b09f387356e9346e11265ade120b48635e90adfb764edae6f3b70e976fce SHA512 47e9b6e188d9f3227c61d3950c50ffe22850e16024b69ffd138514109f140ef3557156b2935483f4a688e80712a6af182378283857a7b1d81446de339639f9db
+EBUILD pdfpc-4.6.0-r1.ebuild 1738 BLAKE2B 83e8b48647f786fd0f6dfe8d969b2ce8302b9c1ebf8f69408506d85b404e43dbdc4d4e40d862baafba7fc91dfaf7787aada459c5bcf5bbbd17969e4f50be2f9f SHA512 183f18d612c7d6d8232e05b0c4654b358fde658ea92d8c0db4d85a21379159f0dd6e2246a09d39ae6942cd3560abce24f881694c47e8bc796a99c8a553f4144a
+MISC metadata.xml 609 BLAKE2B 639ae0935933b47d899cd0fcbc4aeff0f484212bc383ab9817ac1618c4320e556ab4247ee2734e8f3bacc8309af21d3f5a8336e4a7f5ca3f742ca80c799a9928 SHA512 0426f35bb771ba1c1b796da521e62dfff986de71ded8736d238f164b22aa8859b68fd1500a381c5bfdef691379b165bd29e2f17ce444594dfaa1b26bdd79defc
diff --git a/app-misc/pdfpc/metadata.xml b/app-misc/pdfpc/metadata.xml
index b398906d022f..780c14d9b256 100644
--- a/app-misc/pdfpc/metadata.xml
+++ b/app-misc/pdfpc/metadata.xml
@@ -4,6 +4,17 @@
<maintainer type="person">
<email>ulm@gentoo.org</email>
</maintainer>
+ <use>
+ <flag name="gstreamer">
+ Compile support for movie playback (<pkg>media-libs/gstreamer</pkg>)
+ </flag>
+ <flag name="soup">
+ Compile support for REST server (<pkg>net-libs/libsoup</pkg>)
+ </flag>
+ <flag name="webkit">
+ Enable viewing Markdown notes (<pkg>net-libs/webkit-gtk</pkg>)
+ </flag>
+ </use>
<upstream>
<remote-id type="github">pdfpc/pdfpc</remote-id>
</upstream>
diff --git a/app-misc/pdfpc/pdfpc-4.6.0-r1.ebuild b/app-misc/pdfpc/pdfpc-4.6.0-r1.ebuild
new file mode 100644
index 000000000000..884855a57e36
--- /dev/null
+++ b/app-misc/pdfpc/pdfpc-4.6.0-r1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VALA_MAX_API_VERSION="0.56" # append versions in sed line if increased
+
+#COMMIT_ID=""
+
+inherit cmake vala
+
+DESCRIPTION="Presenter console with multi-monitor support for PDF files"
+HOMEPAGE="https://pdfpc.github.io https://github.com/pdfpc/pdfpc"
+
+if [[ ${PV} == *9999 ]]; then
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+ inherit git-r3
+elif [[ ${PV} == *_p* ]]; then
+ SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${COMMIT_ID}"
+else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+gstreamer soup webkit"
+
+RDEPEND="
+ app-text/discount:=
+ app-text/poppler:=[cairo]
+ dev-libs/glib:2
+ dev-libs/json-glib
+ dev-libs/libgee:0.8=
+ gnome-base/librsvg
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/pango
+ gstreamer? (
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0
+ media-libs/gst-plugins-good:1.0
+ media-plugins/gst-plugins-gtk:1.0=
+ media-plugins/gst-plugins-cairo:1.0=
+ )
+ soup? (
+ media-gfx/qrencode
+ net-libs/libsoup:2.4
+ )
+ webkit? ( net-libs/webkit-gtk:4= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="$(vala_depend)"
+
+DOCS=(
+ CHANGELOG.rst
+ FAQ.rst
+ README.rst
+ SUPPORT.rst
+)
+
+src_prepare() {
+ cmake_src_prepare
+ vala_setup
+ sed -i -e "/find_program/s/valac/& &-0.56 &-0.54 &-0.52 &-0.50/" \
+ cmake/vala/FindVala.cmake || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DMOVIES=$(usex gstreamer on off)
+ -DREST=$(usex soup on off)
+ -DMDVIEW=$(usex webkit on off)
+ -DCMAKE_VERBOSE_MAKEFILE=TRUE
+ )
+ cmake_src_configure
+}