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 9FEE315800A for ; Fri, 25 Aug 2023 21:21:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE35A2BC08A; Fri, 25 Aug 2023 21:21:38 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 B85F92BC08A for ; Fri, 25 Aug 2023 21:21:38 +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 D50A1340B1E for ; Fri, 25 Aug 2023 21:21:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3EE9C1095 for ; Fri, 25 Aug 2023 21:21:36 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1692998493.c3db77031b8835196f3c4401c110e045c5c56b55.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/paper-clip/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/paper-clip/Manifest app-text/paper-clip/metadata.xml app-text/paper-clip/paper-clip-3.2.ebuild X-VCS-Directories: app-text/paper-clip/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: c3db77031b8835196f3c4401c110e045c5c56b55 X-VCS-Branch: master Date: Fri, 25 Aug 2023 21:21:36 +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: c6c300c2-b86c-426c-941e-6b2591554968 X-Archives-Hash: d2ba0675098d813b638ec93d389cf269 commit: c3db77031b8835196f3c4401c110e045c5c56b55 Author: Maciej Barć gentoo org> AuthorDate: Fri Aug 25 21:20:53 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Fri Aug 25 21:21:33 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3db7703 app-text/paper-clip: new package; add 3.2 Signed-off-by: Maciej Barć gentoo.org> app-text/paper-clip/Manifest | 1 + app-text/paper-clip/metadata.xml | 13 ++++++ app-text/paper-clip/paper-clip-3.2.ebuild | 69 +++++++++++++++++++++++++++++++ 3 files changed, 83 insertions(+) diff --git a/app-text/paper-clip/Manifest b/app-text/paper-clip/Manifest new file mode 100644 index 000000000000..cb6ccceda8aa --- /dev/null +++ b/app-text/paper-clip/Manifest @@ -0,0 +1 @@ +DIST paper-clip-3.2.tar.gz 196899 BLAKE2B d089185db9557431c22ed64b63155920c60795315fad1901b0a5ce5fd0230b7246d375a10a8ce150ad4fdce16f9062aa4770601b741189b877e57d4fe948d7a2 SHA512 6a08fe04f3431d7444ba67da34b60d56b7cf065199fceef7086ad3f181f18c703b8d011e6dbef39942011e7f92e3728f1f1a5164a575bab43b370fca9c4fdb98 diff --git a/app-text/paper-clip/metadata.xml b/app-text/paper-clip/metadata.xml new file mode 100644 index 000000000000..e13559a20d75 --- /dev/null +++ b/app-text/paper-clip/metadata.xml @@ -0,0 +1,13 @@ + + + + + + xgqt@gentoo.org + Maciej Barć + + + https://github.com/Diego-Ivan/Paper-Clip/issues/ + Diego-Ivan/Paper-Clip + + diff --git a/app-text/paper-clip/paper-clip-3.2.ebuild b/app-text/paper-clip/paper-clip-3.2.ebuild new file mode 100644 index 000000000000..3f431b600d29 --- /dev/null +++ b/app-text/paper-clip/paper-clip-3.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +REAL_PN="Paper-Clip" + +inherit gnome2-utils meson vala xdg + +DESCRIPTION="Edit the title, author, keywords and more details of PDF documents" +HOMEPAGE="https://github.com/Diego-Ivan/Paper-Clip/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Diego-Ivan/${REAL_PN}.git" +else + SRC_URI="https://github.com/Diego-Ivan/${REAL_PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${REAL_PN}-${PV}" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" +RESTRICT="test" # Only validations, appdata one fails. + +RDEPEND=" + app-text/poppler:= + dev-libs/glib:2 + dev-libs/gobject-introspection + dev-libs/libportal:= + gui-libs/gtk:4 + gui-libs/libadwaita:1 +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + $(vala_depend) + dev-libs/appstream-glib + dev-util/desktop-file-utils +" + +DOCS=( README.md ) + +src_prepare() { + default + vala_setup +} + +src_install() { + meson_src_install + einstalldocs + + # Symlink "pdf-metadata-editor" (old name?) to "${PN}" + dosym -r /usr/bin/pdf-metadata-editor /usr/bin/${PN} + + mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die +} + +pkg_postinst() { + gnome2_schemas_update + xdg_pkg_postinst +} + +pkg_postrm() { + gnome2_schemas_update + xdg_pkg_postrm +}