diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-13 06:41:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-13 06:41:32 +0000 |
commit | 4b1d73e089a436406c89fadc33638314981c44e6 (patch) | |
tree | 1777930320566e090b2b462273c045e555b85b86 /app-text/pdfpc | |
parent | dc9bfd846ffa3990be92029481684342bc57218e (diff) |
gentoo auto-resync : 13:01:2025 - 06:41:32
Diffstat (limited to 'app-text/pdfpc')
-rw-r--r-- | app-text/pdfpc/Manifest | 2 | ||||
-rw-r--r-- | app-text/pdfpc/pdfpc-4.7.0.ebuild | 80 |
2 files changed, 82 insertions, 0 deletions
diff --git a/app-text/pdfpc/Manifest b/app-text/pdfpc/Manifest index d6ae3283d661..de1b6b6d4164 100644 --- a/app-text/pdfpc/Manifest +++ b/app-text/pdfpc/Manifest @@ -2,5 +2,7 @@ AUX pdfpc-4.6.0-no-movies.patch 1704 BLAKE2B 23d6d25c131fe2332562ecfad29aa85d802 AUX pdfpc-4.6.0-vala-0.56.7.patch 1094 BLAKE2B 6cdff64678d41db47a39b01510667ddb6ecf155ab9fc2037ffb533edb2650f3bcb6449a2fee616090f3cbc706f868f32cc49ed0d5c734caf24d8c2652f4d6965 SHA512 afb288be3df179252f6f049cd71cafba079ab7acde411b2cee1e5fe823ef36e2f254b35c097c50e8afa29fa1a9175a93bc589ea49925270dbc2b439088e948b3 AUX pdfpc-4.6.0-webkit2gtk-4.1.patch 534 BLAKE2B fc106240a943fa78943846542165557bb3455e469f35838417752fe344df4f7edba9c74db39ef87112cea7acf2ceeca4ad857a126b688f75f5cad14273e89f53 SHA512 2d2505dcd77f6ea83a0860429557a28329627169e16613d64c2bff3f989863bb7634978fbf1a081fffd1915c37c0faf95a9a4217c370d41e2ca73308fb6d3636 DIST pdfpc-4.6.0.tar.gz 7766521 BLAKE2B 3e8914333a0781d3d750ab71d58c8af1451ce5ab321ecc0639ddcf377cae9a0c62290696455516ce1d70f4ae3ffc5889fe910ced0399787e6a40c8ae76e1f75e SHA512 4ec69cbe21fb8bbb3e381229c391133f92e76b610e1fdf1cffa2c9fa9997ccc879eaef2a6837b34d1e635cdd07c4d0ce98de03fd7ece431a8f35493f0f7d7651 +DIST pdfpc-4.7.0.tar.gz 7768713 BLAKE2B 7c4a0c318a191125fcc9e9b13c25265e8018e76eb72186bc079b10eb50f3c29ed4f364d65ae09059b757e221ddbb8865a4a5a15e38f476d66b5fd41b85a392d0 SHA512 2ee0bec8ed1d6c330042a0fd296511e73d88bd1bba153fd3f19ca43135662c8d93670e503c1db1822f927c67097a5c5112f783545063f47c29f3c7160d07be49 EBUILD pdfpc-4.6.0-r2.ebuild 2073 BLAKE2B 07003edceb17e8f9bf31ecf81058b3889d9592a6bea2e31345d562d580b5ece79d8f1275b2a396d0ba049da6a37f8313cf670fcfce442acd702c7511e9cb7c3d SHA512 4d54a7dd50a0a4fcfac106064e2b525ad16fa211a5aa56103783feb38417407240f77941733a0b168ccd699a63c645d28b1a5907086af2e7f127910b661fe06a +EBUILD pdfpc-4.7.0.ebuild 1740 BLAKE2B 034b379dffb61403e6f1bb0cafd8313495d8a4ceee9a698ad7537292b650f99ab74e2067886acc95381039643fa42225f998a69d7fb2d1de13aa428afa47bf6d SHA512 8a3e9d2b2a8d3dc7ed14687879d5393cc64d7bc8c7e1ec371351123a8738dfdb157d88ab28b16e90b78439cdb1524e7102e3753d479600771cd6afb89ef9b68d MISC metadata.xml 609 BLAKE2B 639ae0935933b47d899cd0fcbc4aeff0f484212bc383ab9817ac1618c4320e556ab4247ee2734e8f3bacc8309af21d3f5a8336e4a7f5ca3f742ca80c799a9928 SHA512 0426f35bb771ba1c1b796da521e62dfff986de71ded8736d238f164b22aa8859b68fd1500a381c5bfdef691379b165bd29e2f17ce444594dfaa1b26bdd79defc 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 +} |