diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /app-misc/pdfpc | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'app-misc/pdfpc')
-rw-r--r-- | app-misc/pdfpc/Manifest | 1 | ||||
-rw-r--r-- | app-misc/pdfpc/pdfpc-4.5.0-r1.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/app-misc/pdfpc/Manifest b/app-misc/pdfpc/Manifest index cc21d5672fc3..ef8b1f1a63f2 100644 --- a/app-misc/pdfpc/Manifest +++ b/app-misc/pdfpc/Manifest @@ -1,3 +1,4 @@ DIST pdfpc-4.5.0.tar.gz 7754665 BLAKE2B 952a1694811ff80ab6b2e46b440182407ce16a727ebc1f1492cf1f86c25fe1827e926eb5baf59376f46b8e7bea6e00e4f1343930cd043445f7d2966a958b4a6c SHA512 142a276dc410bd1aac90b27d1b10d165de225d5cec73ab39d7f7061e5d8ac7526e3f537b61f15e904bba8d135a72c5567dfa350e454006435ad3647d22c58221 +EBUILD pdfpc-4.5.0-r1.ebuild 1588 BLAKE2B 2511f3c16aff221f4c9fb51a5de92fc94a67eeab054ebfddf857113196b2546387f85153a5c507e5c5d5c1d52baedd25399662b153fc65a7c87506fdd4fde992 SHA512 192387afea23feb5ed51c7c1a55484c02309c793fbbb11d7a61a38f772491157035be5f0a6ac82af84d2a2b4da1d0f86e64bcb8917f1745c4375404eeb8719c5 EBUILD pdfpc-4.5.0.ebuild 1595 BLAKE2B 4d10a085070e01ced31dd0415f7af315f7694b5292243191ddd9c2355d8ea08f2310d65ea6ff8ac44aacd763829a0f30525f6e6e00f97ea27e3e217a7a8ff1df SHA512 4e5f7f6a61205d3bcfb8de2153fc13936ef5c0e0e74af0125e21c1e6383c9e61224b003f5c7965794fb9dcce6f42ec26994e86e11ed7be43a9c11ae1bc633723 MISC metadata.xml 291 BLAKE2B 270a4048fd986dea045aa9de37187a68f155d632d903fcb1b5c306a9f039ff0ba581b09f387356e9346e11265ade120b48635e90adfb764edae6f3b70e976fce SHA512 47e9b6e188d9f3227c61d3950c50ffe22850e16024b69ffd138514109f140ef3557156b2935483f4a688e80712a6af182378283857a7b1d81446de339639f9db diff --git a/app-misc/pdfpc/pdfpc-4.5.0-r1.ebuild b/app-misc/pdfpc/pdfpc-4.5.0-r1.ebuild new file mode 100644 index 000000000000..19911fdc5956 --- /dev/null +++ b/app-misc/pdfpc/pdfpc-4.5.0-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VALA_MIN_API_VERSION="0.50" +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" + +RDEPEND=" + app-text/discount + app-text/poppler:=[cairo] + dev-libs/glib:2 + dev-libs/json-glib + dev-libs/libgee:0.8= + gnome-base/librsvg + net-libs/webkit-gtk:4= + 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-plugins/gst-plugins-gtk:1.0= + media-plugins/gst-plugins-cairo:1.0= + ) +" +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) + -DCMAKE_VERBOSE_MAKEFILE=TRUE + ) + cmake_src_configure +} |