diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-26 21:58:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-26 21:58:12 +0100 |
commit | d76b6613e545057331e9273ddd21e68d28d9e402 (patch) | |
tree | 2823b704acff0caa2bf185b4e4b38c95731cba39 /app-text/paper-clip | |
parent | f6fd15e0418aea97c7ee77672468561cdac302e5 (diff) |
gentoo auto-resync : 26:08:2023 - 21:58:11
Diffstat (limited to 'app-text/paper-clip')
-rw-r--r-- | app-text/paper-clip/Manifest | 3 | ||||
-rw-r--r-- | app-text/paper-clip/paper-clip-3.2.ebuild | 2 | ||||
-rw-r--r-- | app-text/paper-clip/paper-clip-9999.ebuild | 69 |
3 files changed, 72 insertions, 2 deletions
diff --git a/app-text/paper-clip/Manifest b/app-text/paper-clip/Manifest index 8b4d85be6c28..d7e956cdad40 100644 --- a/app-text/paper-clip/Manifest +++ b/app-text/paper-clip/Manifest @@ -1,3 +1,4 @@ DIST paper-clip-3.2.tar.gz 196899 BLAKE2B d089185db9557431c22ed64b63155920c60795315fad1901b0a5ce5fd0230b7246d375a10a8ce150ad4fdce16f9062aa4770601b741189b877e57d4fe948d7a2 SHA512 6a08fe04f3431d7444ba67da34b60d56b7cf065199fceef7086ad3f181f18c703b8d011e6dbef39942011e7f92e3728f1f1a5164a575bab43b370fca9c4fdb98 -EBUILD paper-clip-3.2.ebuild 1317 BLAKE2B dde0b8223c7ac139748aa7f0d00c184ee7488063be9f4129680e758369182e2ffb136f80bbb95cfa0374a49d69079c2c5a94e234e26f87460d0e5c7b26ab4bd6 SHA512 cd2e318b391e6316f62667c42a0626e5e57d4ae2a7df7284d9a770d45f7adf09e77b726374b9e5ffc6ac47f4d75ed241766d02eac27ce3f4bcc8491ad8a42601 +EBUILD paper-clip-3.2.ebuild 1338 BLAKE2B 4c3179bf984acdbb4ede6c38cf9bd843f077f6fc64494e28e2ddbae21ad16082567f1dee34bb20ea26ffa0f19522eb217d6da3ddb740e306178f03dbc664474b SHA512 211a908965f3be900477c9acfa6eb467169d049c6933217626307bb4ed7df3a12edb18aa5ca986397c98111e952dab3aa4398b93ca8daf43856ffa7ceb3211bc +EBUILD paper-clip-9999.ebuild 1338 BLAKE2B 4c3179bf984acdbb4ede6c38cf9bd843f077f6fc64494e28e2ddbae21ad16082567f1dee34bb20ea26ffa0f19522eb217d6da3ddb740e306178f03dbc664474b SHA512 211a908965f3be900477c9acfa6eb467169d049c6933217626307bb4ed7df3a12edb18aa5ca986397c98111e952dab3aa4398b93ca8daf43856ffa7ceb3211bc MISC metadata.xml 413 BLAKE2B 66acd49c6583aec7c89aa17de477237b5214aefc73b4814eb8170f1af322fd3d1565557060e2fc63027740457c84131e9d6d4be0f1dd4d531ac7da79429e0c91 SHA512 69d713bd2b11742920a25f5db125de72bb44403a049a1969e988b124d2d88ea36d6ac04a8b2091380f9208ad4407f354322e307a433bb58c413353069eb8cccc diff --git a/app-text/paper-clip/paper-clip-3.2.ebuild b/app-text/paper-clip/paper-clip-3.2.ebuild index 3f431b600d29..869320a239bb 100644 --- a/app-text/paper-clip/paper-clip-3.2.ebuild +++ b/app-text/paper-clip/paper-clip-3.2.ebuild @@ -25,7 +25,7 @@ SLOT="0" RESTRICT="test" # Only validations, appdata one fails. RDEPEND=" - app-text/poppler:= + app-text/poppler:=[cairo,introspection] dev-libs/glib:2 dev-libs/gobject-introspection dev-libs/libportal:= diff --git a/app-text/paper-clip/paper-clip-9999.ebuild b/app-text/paper-clip/paper-clip-9999.ebuild new file mode 100644 index 000000000000..869320a239bb --- /dev/null +++ b/app-text/paper-clip/paper-clip-9999.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:=[cairo,introspection] + 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 +} |