From e5916f349e3dffcf55e6b2cff234d750f08a611d Mon Sep 17 00:00:00 2001 From: David Guglielmi Date: Sat, 28 May 2022 11:55:40 +0200 Subject: [PATCH] x11-misc/gpaste: bump to 42.1 --- x11-misc/gpaste/Manifest | 4 +- x11-misc/gpaste/gpaste-3.40.3.ebuild | 84 -------------------------- x11-misc/gpaste/gpaste-42.1.ebuild | 90 ++++++++++++++++++++++++++++ 3 files changed, 92 insertions(+), 86 deletions(-) delete mode 100644 x11-misc/gpaste/gpaste-3.40.3.ebuild create mode 100644 x11-misc/gpaste/gpaste-42.1.ebuild diff --git a/x11-misc/gpaste/Manifest b/x11-misc/gpaste/Manifest index c631dc9..ca529aa 100644 --- a/x11-misc/gpaste/Manifest +++ b/x11-misc/gpaste/Manifest @@ -1,3 +1,3 @@ -DIST gpaste-3.40.3.tar.gz 283412 BLAKE2B 852525cb5e3f6f632dff94c59f1fea0fc305dd10a3772d04d73372d38ec6e3ef16b97a2a69e5ff16643e5900d7b3a82f39328f588f9f8df8dfcbd0e6ed49a9ef SHA512 4c921182a243c900cc3b1bb7aa63837ad525065ca3abdcc8767804756d43a21c91ef58c06367291ad6486b1274f3e192d94a627fdf73ade596938f4641a81ed9 -EBUILD gpaste-3.40.3.ebuild 1758 BLAKE2B 61716ec4d2abedbba35261b81823c5d705d6b6dc8fc02c3c015e4bfbdf958cdebe2b07c89a38ff5c0f21c9d3f540ccbdd926fe5dba25b0e763df06215abc747a SHA512 3e5765e3684fa35c0e2573c7574bd9b2e49866b1debd3c948551520fd4a987d01905e7d3e6a6b995525009beeb6b79f1ab5ad738526721625b3173fa7c28ea32 +DIST gpaste-42.1.tar.gz 298108 BLAKE2B 1b3d8d3ab69769593139f3e63f7dc803ac5f7c7409d73228c8e2df6661c4dbb03bc7cfb4c884ae42d59af6d67cfc7397ed4028bf9252374440b9404003a0ce7f SHA512 e3f51da55b53e03758450bee967a9f23908c06db71cf687f6de000efb4715263e25020028d488797d8e1f75154f2f00c59b3a427f1aeca5d0132ac927060047e +EBUILD gpaste-42.1.ebuild 1667 BLAKE2B b5c3698dc232f6ff68d020d7f9f7a16dc530461d42e685f559cca2fa33c2ee1085f760dc5047852cbc6197a09b26f8ba726223eecd274384ead5f593b2eb11db SHA512 24ba40c52b3637bf6cd178100197472ab81d99294a379c78908a60826f4c1020b86e30b7fb4f577ff5ad8f6ffa380017b772e2224733140039385081092dc5e8 MISC metadata.xml 677 BLAKE2B 79d617528e62670788eda4ba64b9698d04b3255f10f8baf2fdce7c7a3708a247b1b839bdf419053b61bc4a6a6200d79033c799c30b6aa29786e6d4b19ebf0954 SHA512 46348240699731847dbb0c55e89386c6ecd5ee9ccc32114eb41a1007cb21e9eaa25930b92a0e470083d64f854b8c5aff055af90f52e4f55dbb36299f6c8b32d2 diff --git a/x11-misc/gpaste/gpaste-3.40.3.ebuild b/x11-misc/gpaste/gpaste-3.40.3.ebuild deleted file mode 100644 index a0be817..0000000 --- a/x11-misc/gpaste/gpaste-3.40.3.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -VALA_MIN_API_VERSION="0.42" -VALA_USE_DEPEND="vapigen" - -inherit gnome2-utils meson vala xdg-utils - -DESCRIPTION="Clipboard management system" -HOMEPAGE="https://github.com/Keruspe/GPaste" -SRC_URI="https://github.com/Keruspe/GPaste/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="X bash-completion gnome introspection systemd vala zsh-completion" - -DEPEND="dev-libs/appstream-glib - >=dev-libs/gjs-1.54.0 - >=dev-libs/glib-2.58:2 - >=dev-libs/gobject-introspection-1.58.0 - sys-apps/dbus - >=x11-libs/gdk-pixbuf-2.38:2 - >=x11-libs/gtk+-3.24:3 - X? ( - x11-libs/libX11 - x11-libs/libXi - ) - gnome? ( - gnome-base/gnome-control-center:2 - media-libs/clutter - x11-libs/pango - >=x11-wm/mutter-40.1:0/8 - ) - systemd? ( sys-apps/systemd )" -RDEPEND="${DEPEND} - gnome? ( gnome-base/gnome-shell )" -BDEPEND="vala? ( $(vala_depend) ) - virtual/pkgconfig" - -REQUIRED_USE="vala? ( introspection )" - -S="${WORKDIR}/GPaste-${PV}" - -src_prepare() { - default - if use vala; then - vala_src_prepare - fi -} - -src_configure() { - local emesonargs=( - $(meson_use X x-keybinder) - $(meson_use bash-completion) - $(meson_use gnome gnome-shell) - $(meson_use introspection) - $(meson_use systemd) - $(meson_use vala vapi) - $(meson_use zsh-completion) - -Dcontrol-center-keybindings-dir=$(usex gnome '' \ - '/usr/share/gnome-control-center/keybindings') - ) - meson_src_configure -} - -src_install() { - meson_src_install - find "${D}" -name '*.la' -delete || die -} - -pkg_postinst() { - gnome2_schemas_update - xdg_desktop_database_update - xdg_icon_cache_update -} - -pkg_postrm() { - gnome2_schemas_update - xdg_desktop_database_update - xdg_icon_cache_update -} diff --git a/x11-misc/gpaste/gpaste-42.1.ebuild b/x11-misc/gpaste/gpaste-42.1.ebuild new file mode 100644 index 0000000..ab7970b --- /dev/null +++ b/x11-misc/gpaste/gpaste-42.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +VALA_MIN_API_VERSION="0.42" +VALA_USE_DEPEND="vapigen" + +inherit meson vala gnome2-utils + +DESCRIPTION="Clipboard management system" +HOMEPAGE="https://github.com/Keruspe/GPaste" +SRC_URI="https://github.com/Keruspe/GPaste/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+gnome +introspection systemd vala" +REQUIRED_USE=" + gnome? ( introspection ) + vala? ( introspection ) +" + +DEPEND=" + dev-libs/appstream-glib + >=dev-libs/glib-2.7:2 + sys-apps/dbus + >=x11-libs/gdk-pixbuf-2.34:2 + >=x11-libs/gtk+-3.24:3 + x11-libs/libX11 + x11-libs/libXi + x11-libs/pango + gnome? ( + >=x11-wm/mutter-41.3 + ) + introspection? ( + dev-libs/gjs + >=dev-libs/gobject-introspection-1.48.0 + >=x11-wm/mutter-41.3[introspection] + ) +" +BDEPEND=" + virtual/pkgconfig + gnome? ( + gnome-base/gnome-control-center:2 + ) + systemd? ( + sys-apps/systemd + ) + vala? ( $(vala_depend) ) +" +RDEPEND="${DEPEND} + gnome? ( + gnome-base/gnome-control-center:2 + gnome-base/gnome-shell + ) + systemd? ( + sys-apps/systemd + ) +" + +S="${WORKDIR}/GPaste-${PV}" + +src_prepare() { + use vala && vala_src_prepare + default +} + +src_configure() { + local emesonargs=( + $(meson_use systemd systemd) + -Dbash-completion=true + -Dzsh-completion=true + -Dx-keybinder=true + -Dcontrol-center-keybindings-dir=$(usex gnome '' \ + '/usr/share/gnome-control-center/keybindings') + $(meson_use introspection introspection) + $(meson_use vala vapi) + $(meson_use gnome gnome-shell) + ) + meson_src_configure +} + +pkg_postinst() { + gnome2_schemas_update +} + +pkg_postrm() { + gnome2_schemas_update +}