Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/gpaste/
Date: Sun, 27 Sep 2020 10:27:38
Message-Id: 1601202446.4f76682516c82d0db0c93a2e5d9cc128fdbf191d.juippis@gentoo
1 commit: 4f76682516c82d0db0c93a2e5d9cc128fdbf191d
2 Author: Jesse Harris <zigford <AT> gmail <DOT> com>
3 AuthorDate: Sat Sep 12 05:58:44 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 27 10:27:26 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f766825
7
8 x11-misc/gpaste: bump to 3.36
9
10 Signed-off-by: Jesse Harris <zigford <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/17505
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 x11-misc/gpaste/Manifest | 1 +
15 x11-misc/gpaste/gpaste-3.36.3.ebuild | 90 ++++++++++++++++++++++++++++++++++++
16 2 files changed, 91 insertions(+)
17
18 diff --git a/x11-misc/gpaste/Manifest b/x11-misc/gpaste/Manifest
19 index 2cabf769016..4a12fc415f3 100644
20 --- a/x11-misc/gpaste/Manifest
21 +++ b/x11-misc/gpaste/Manifest
22 @@ -1 +1,2 @@
23 DIST gpaste-3.20.3.tar.gz 157869 BLAKE2B 02b52b8023c875bd3c651cc5864603812f0cfd49cfac774ee4e27eae63c66e46f34d5128b717af514cc1c57fb93a775ff01f827210bd7cfa5e9ab5de9a87fd07 SHA512 08b7c52d16e630ac57e4d583ae985763b536728ef9997ce5ecc8a8ffb9be8745e1e5aed9003a4ab522ba76a276855c6a095fef7a73b4f4d80b54c7a9c3e6e9d1
24 +DIST gpaste-3.36.3.tar.gz 186352 BLAKE2B b00af3f32076bbeb4f06853a7892772901d0c72dd972d08fff0520afae388bed0c9eee81892a2492f4bb972b3a80a924519e1c137edb660fa5f9dfa2fab31856 SHA512 e5fe4a31367e96089aefd1af5ed0a3ad591eee009bbc74b1b33c9c736061831979d79f2d6a5c072cf55fc6f1982ade581fe73d2039c5dbd607081683860c7b9f
25
26 diff --git a/x11-misc/gpaste/gpaste-3.36.3.ebuild b/x11-misc/gpaste/gpaste-3.36.3.ebuild
27 new file mode 100644
28 index 00000000000..ed725004116
29 --- /dev/null
30 +++ b/x11-misc/gpaste/gpaste-3.36.3.ebuild
31 @@ -0,0 +1,90 @@
32 +# Copyright 2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +VALA_MIN_API_VERSION="0.30"
38 +VALA_USE_DEPEND="vapigen"
39 +
40 +inherit meson vala gnome2-utils
41 +
42 +DESCRIPTION="Clipboard management system"
43 +HOMEPAGE="https://github.com/Keruspe/GPaste"
44 +SRC_URI="https://github.com/Keruspe/GPaste/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="GPL-3"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE="+introspection +gnome vala systemd"
50 +REQUIRED_USE="
51 + vala? ( introspection )
52 + gnome? ( introspection )
53 +"
54 +
55 +DEPEND="
56 + x11-libs/pango
57 + dev-libs/appstream-glib
58 + >=dev-libs/glib-2.48:2
59 + introspection? (
60 + >=x11-wm/mutter-3.36[introspection]
61 + dev-libs/gjs
62 + >=dev-libs/gobject-introspection-1.48.0
63 + )
64 + sys-apps/dbus
65 + >=x11-libs/gdk-pixbuf-2.34:2
66 + >=x11-libs/gtk+-3.20:3
67 + x11-libs/libX11
68 + x11-libs/libXi
69 + gnome? (
70 + >=x11-wm/mutter-3.36
71 + )
72 +"
73 +BDEPEND="
74 + vala? ( $(vala_depend) )
75 + gnome? (
76 + gnome-base/gnome-control-center:2
77 + )
78 + virtual/pkgconfig
79 + systemd? (
80 + sys-apps/systemd
81 + )
82 +"
83 +RDEPEND="${DEPEND}
84 + gnome? (
85 + gnome-base/gnome-control-center:2
86 + gnome-base/gnome-shell
87 + )
88 + systemd? (
89 + sys-apps/systemd
90 + )
91 +"
92 +
93 +S=${WORKDIR}/GPaste-${PV}
94 +
95 +src_prepare() {
96 + use vala && vala_src_prepare
97 + default
98 +}
99 +
100 +src_configure() {
101 + local emesonargs=(
102 + $(meson_use systemd systemd)
103 + -Dbash-completion=true
104 + -Dzsh-completion=true
105 + -Dx-keybinder=true
106 + -Dcontrol-center-keybindings-dir=$(usex gnome '' \
107 + '/usr/share/gnome-control-center/keybindings')
108 + $(meson_use introspection introspection)
109 + $(meson_use vala vapi)
110 + $(meson_use gnome gnome-shell)
111 + )
112 + meson_src_configure
113 +}
114 +
115 +pkg_postinst() {
116 + gnome2_schemas_update
117 +}
118 +
119 +pkg_postrm() {
120 + gnome2_schemas_update
121 +}