From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EB54F15800F for ; Thu, 9 Feb 2023 06:50:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E46AE0798; Thu, 9 Feb 2023 06:50:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 038B7E0798 for ; Thu, 9 Feb 2023 06:50:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D3B2934081F for ; Thu, 9 Feb 2023 06:50:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5D359896 for ; Thu, 9 Feb 2023 06:50:28 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1675925379.3f7b0e6b767e42a4853dfc020e01dced295f62e2.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/pdfpc/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/pdfpc/Manifest app-misc/pdfpc/pdfpc-4.6.0.ebuild X-VCS-Directories: app-misc/pdfpc/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 3f7b0e6b767e42a4853dfc020e01dced295f62e2 X-VCS-Branch: master Date: Thu, 9 Feb 2023 06:50:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 474085c1-c790-4487-a222-64894322cbc4 X-Archives-Hash: 863bf7baf8c7bc2dc573f92bb00ee2af commit: 3f7b0e6b767e42a4853dfc020e01dced295f62e2 Author: Ulrich Müller gentoo org> AuthorDate: Thu Feb 9 06:48:47 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Thu Feb 9 06:49:39 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f7b0e6b app-misc/pdfpc: add 4.6.0 Signed-off-by: Ulrich Müller gentoo.org> app-misc/pdfpc/Manifest | 1 + app-misc/pdfpc/pdfpc-4.6.0.ebuild | 76 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/app-misc/pdfpc/Manifest b/app-misc/pdfpc/Manifest index a5bc8993565a..6e148727e252 100644 --- a/app-misc/pdfpc/Manifest +++ b/app-misc/pdfpc/Manifest @@ -1 +1,2 @@ DIST pdfpc-4.5.0.tar.gz 7754665 BLAKE2B 952a1694811ff80ab6b2e46b440182407ce16a727ebc1f1492cf1f86c25fe1827e926eb5baf59376f46b8e7bea6e00e4f1343930cd043445f7d2966a958b4a6c SHA512 142a276dc410bd1aac90b27d1b10d165de225d5cec73ab39d7f7061e5d8ac7526e3f537b61f15e904bba8d135a72c5567dfa350e454006435ad3647d22c58221 +DIST pdfpc-4.6.0.tar.gz 7766521 BLAKE2B 3e8914333a0781d3d750ab71d58c8af1451ce5ab321ecc0639ddcf377cae9a0c62290696455516ce1d70f4ae3ffc5889fe910ced0399787e6a40c8ae76e1f75e SHA512 4ec69cbe21fb8bbb3e381229c391133f92e76b610e1fdf1cffa2c9fa9997ccc879eaef2a6837b34d1e635cdd07c4d0ce98de03fd7ece431a8f35493f0f7d7651 diff --git a/app-misc/pdfpc/pdfpc-4.6.0.ebuild b/app-misc/pdfpc/pdfpc-4.6.0.ebuild new file mode 100644 index 000000000000..f1047533fe6e --- /dev/null +++ b/app-misc/pdfpc/pdfpc-4.6.0.ebuild @@ -0,0 +1,76 @@ +# 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" + +RDEPEND=" + app-text/discount:= + app-text/poppler:=[cairo] + dev-libs/glib:2 + dev-libs/json-glib + dev-libs/libgee:0.8= + gnome-base/librsvg + media-gfx/qrencode + net-libs/libsoup:2.4 + 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-libs/gst-plugins-good: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 +}