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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 02617158042 for ; Thu, 17 Oct 2024 15:51:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A4B9EE0961; Thu, 17 Oct 2024 15:51:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 86EDEE095F for ; Thu, 17 Oct 2024 15:51:28 +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 9160B343052 for ; Thu, 17 Oct 2024 15:51:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 011471315 for ; Thu, 17 Oct 2024 15:51:26 +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: <1729180280.100c907c831feaccd1f44753b0b7430cc1e13f74.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/paper-clip-5.5.1.ebuild X-VCS-Directories: app-text/paper-clip/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 100c907c831feaccd1f44753b0b7430cc1e13f74 X-VCS-Branch: master Date: Thu, 17 Oct 2024 15:51:26 +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: f1528a6a-18d7-44e3-8bcd-a4873721f5e3 X-Archives-Hash: 24324b471be616dde5ad4c8142c3390a commit: 100c907c831feaccd1f44753b0b7430cc1e13f74 Author: Maciej Barć gentoo org> AuthorDate: Thu Oct 17 15:31:39 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Thu Oct 17 15:51:20 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=100c907c app-text/paper-clip: bump to 5.5.1 Signed-off-by: Maciej Barć gentoo.org> app-text/paper-clip/Manifest | 1 + app-text/paper-clip/paper-clip-5.5.1.ebuild | 72 +++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/app-text/paper-clip/Manifest b/app-text/paper-clip/Manifest index c42ba0c1d37a..f61d79b5ae6d 100644 --- a/app-text/paper-clip/Manifest +++ b/app-text/paper-clip/Manifest @@ -1 +1,2 @@ +DIST paper-clip-5.5.1.tar.gz 183419 BLAKE2B 18af0f18d8d3da9f6d6f4cea57aa817e902666ee60f851ec54adc64506d3f4a8508895f64ace28424b0a3018e6bdf0b80cd40a602d226b09e83d1efa2e82daf4 SHA512 5cca56b2cc6f3619c40b202b8e53e3e01834fb10dcf1769553fb6904d50297736c9dcaad376422d2ea49203f40b32fb24d64a1f161a49868e446459d94f08138 DIST paper-clip-5.5.tar.gz 183365 BLAKE2B 74b2b893ad7f421eeeb7e6c5bd3921b20b379cebcdb86371a262455fe95a67c0fdddc894b5ecb3da9d7c612a6e9e7ac91ba4d98cc4e2cfb994de388f9f0f8a45 SHA512 880ed9ee81788e1d1f50d0bf5c119ebf2f45a939432f44e363ce0513217a74af7f9fd012f110fc3a38db392341a3529b8785f0130a4bf0fe83f6dbe12d663b19 diff --git a/app-text/paper-clip/paper-clip-5.5.1.ebuild b/app-text/paper-clip/paper-clip-5.5.1.ebuild new file mode 100644 index 000000000000..c7345f67fd28 --- /dev/null +++ b/app-text/paper-clip/paper-clip-5.5.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +APP_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/${APP_PN}.git" +else + SRC_URI="https://github.com/Diego-Ivan/${APP_PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${APP_PN}-${PV}" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" +RESTRICT="test" # Only validations, the appdata one fails. + +RDEPEND=" + >=gui-libs/gtk-4.12.5:4 + >=gui-libs/libadwaita-1.5.0:1[introspection,vala] + app-text/poppler:=[cairo,introspection] + dev-libs/glib:2 + dev-libs/gobject-introspection + dev-libs/libportal:=[gtk,introspection,vala] + media-libs/exempi +" +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 +}