diff options
author | Ulrich Müller <ulm@gentoo.org> | 2025-01-12 19:20:44 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2025-01-12 19:27:22 +0100 |
commit | f68466736e069ff39fed2d10407c0f3969a8adbb (patch) | |
tree | ac02c997720c71502e19b2361d1d70703a7e6c6d | |
parent | app-admin/syslog-ng: Stabilize 4.8.1 hppa, #945371 (diff) | |
download | gentoo-f68466736e069ff39fed2d10407c0f3969a8adbb.tar.gz gentoo-f68466736e069ff39fed2d10407c0f3969a8adbb.tar.bz2 gentoo-f68466736e069ff39fed2d10407c0f3969a8adbb.zip |
app-text/pdfpc: add 4.7.0
Closes: https://bugs.gentoo.org/947997
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | app-text/pdfpc/Manifest | 1 | ||||
-rw-r--r-- | app-text/pdfpc/pdfpc-4.7.0.ebuild | 80 |
2 files changed, 81 insertions, 0 deletions
diff --git a/app-text/pdfpc/Manifest b/app-text/pdfpc/Manifest index 37d8526ade6b..71ac0ca4b176 100644 --- a/app-text/pdfpc/Manifest +++ b/app-text/pdfpc/Manifest @@ -1 +1,2 @@ DIST pdfpc-4.6.0.tar.gz 7766521 BLAKE2B 3e8914333a0781d3d750ab71d58c8af1451ce5ab321ecc0639ddcf377cae9a0c62290696455516ce1d70f4ae3ffc5889fe910ced0399787e6a40c8ae76e1f75e SHA512 4ec69cbe21fb8bbb3e381229c391133f92e76b610e1fdf1cffa2c9fa9997ccc879eaef2a6837b34d1e635cdd07c4d0ce98de03fd7ece431a8f35493f0f7d7651 +DIST pdfpc-4.7.0.tar.gz 7768713 BLAKE2B 7c4a0c318a191125fcc9e9b13c25265e8018e76eb72186bc079b10eb50f3c29ed4f364d65ae09059b757e221ddbb8865a4a5a15e38f476d66b5fd41b85a392d0 SHA512 2ee0bec8ed1d6c330042a0fd296511e73d88bd1bba153fd3f19ca43135662c8d93670e503c1db1822f927c67097a5c5112f783545063f47c29f3c7160d07be49 diff --git a/app-text/pdfpc/pdfpc-4.7.0.ebuild b/app-text/pdfpc/pdfpc-4.7.0.ebuild new file mode 100644 index 000000000000..a2692e0c9585 --- /dev/null +++ b/app-text/pdfpc/pdfpc-4.7.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2025 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:3.0 + ) + webkit? ( net-libs/webkit-gtk:4.1= ) +" +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 +} |