Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/xapps/
Date: Sun, 27 Dec 2020 05:06:52
Message-Id: 1609045597.6652b174aafa8675fcd1ab3d689fd5b74f65253d.sam@gentoo
1 commit: 6652b174aafa8675fcd1ab3d689fd5b74f65253d
2 Author: Matthew S. Turnbull <sparky <AT> bluefang-logic <DOT> com>
3 AuthorDate: Thu Dec 24 07:13:04 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 27 05:06:37 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6652b174
7
8 x11-libs/xapps: Remove old
9
10 Package-Manager: Portage-3.0.9, Repoman-3.0.2
11 Signed-off-by: Matthew S. Turnbull <sparky <AT> bluefang-logic.com>
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 x11-libs/xapps/Manifest | 1 -
15 x11-libs/xapps/xapps-1.8.4.ebuild | 88 ---------------------------------------
16 2 files changed, 89 deletions(-)
17
18 diff --git a/x11-libs/xapps/Manifest b/x11-libs/xapps/Manifest
19 index 712a4bcde45..509a222c6e5 100644
20 --- a/x11-libs/xapps/Manifest
21 +++ b/x11-libs/xapps/Manifest
22 @@ -1,2 +1 @@
23 -DIST xapps-1.8.4.tar.gz 179340 BLAKE2B f6558b87320cbd73e73c5294f48a3c0c94c7239abc9ede9cd88e66ccd53fd0c9cba9c638837efbd5eecd8a4f372262fde759e05ba9e97ad9955ab74464c34c21 SHA512 483e8e334d4883e2172e06835d690d20af2752fcc195f63776053b83abc0ffcb25c757633450a02b153e70e67e98c477754de12169c167a2f9f3fea103e12bad
24 DIST xapps-1.8.9.tar.gz 187789 BLAKE2B 37b2d2677cb6483533d79853a83d77b30033313c06db89e93491076bb017122f77cd97b30d5ba64ce53fb41a37736791e97da785f516953b76b1d979d341e2fc SHA512 95dd1cbf84b59adf6682d9025e0cfa7a414c24d4f584cde87d0cc6ea82c06338de2c320dad8d997e105980782ec5cb23f0def6f6d60ea84be7d74c90d7cd692c
25
26 diff --git a/x11-libs/xapps/xapps-1.8.4.ebuild b/x11-libs/xapps/xapps-1.8.4.ebuild
27 deleted file mode 100644
28 index 2768e92fb44..00000000000
29 --- a/x11-libs/xapps/xapps-1.8.4.ebuild
30 +++ /dev/null
31 @@ -1,88 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -PYTHON_COMPAT=( python3_{6,7,8} )
37 -
38 -VALA_USE_DEPEND="vapigen"
39 -inherit gnome2-utils vala meson python-r1 xdg-utils
40 -
41 -DESCRIPTION="Cross-desktop libraries and common resources"
42 -HOMEPAGE="https://github.com/linuxmint/xapps/"
43 -LICENSE="GPL-3"
44 -
45 -SRC_URI="https://github.com/linuxmint/xapps/archive/${PV}.tar.gz -> ${P}.tar.gz"
46 -KEYWORDS="~amd64 ~x86"
47 -
48 -SLOT="0"
49 -IUSE="gtk-doc introspection static-libs"
50 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
51 -
52 -RDEPEND="
53 - ${PYTHON_DEPS}
54 - >=dev-libs/glib-2.37.3:2
55 - dev-libs/gobject-introspection:0=
56 - gnome-base/libgnomekbd
57 - x11-libs/cairo
58 - >=x11-libs/gdk-pixbuf-2.22.0:2[introspection?]
59 - >=x11-libs/gtk+-3.3.16:3[introspection?]
60 - x11-libs/libxkbfile
61 - dev-libs/libdbusmenu[gtk3]
62 -"
63 -DEPEND="${RDEPEND}
64 - sys-devel/gettext
65 - gtk-doc? ( dev-util/gtk-doc )
66 - $(vala_depend)
67 -"
68 -BDEPEND="
69 - ${PYTHON_DEPS}
70 - dev-python/pygobject:3[${PYTHON_USEDEP}]
71 - dev-util/glib-utils
72 - dev-util/gdbus-codegen
73 - >=dev-util/intltool-0.40.6
74 - sys-devel/gettext
75 -"
76 -
77 -src_prepare() {
78 - xdg_environment_reset
79 - vala_src_prepare
80 - default
81 -}
82 -
83 -src_configure() {
84 - local emesonargs=(
85 - $(meson_use gtk-doc docs)
86 - -Dpy-overrides-dir="/pygobject"
87 - )
88 - meson_src_configure
89 -}
90 -
91 -src_install() {
92 - meson_src_install
93 - rm -rf "${ED}/usr/bin" || die
94 -
95 - # package provides .pc files
96 - find "${D}" -name '*.la' -delete || die
97 -
98 - # copy pygobject files to each active python target
99 - # work-around for "py-overrides-dir" only supporting a single target
100 - install_pygobject_override() {
101 - PYTHON_GI_OVERRIDESDIR=$("${PYTHON}" -c 'import gi;print(gi._overridesdir)') || die
102 - einfo "gobject overrides directory: $PYTHON_GI_OVERRIDESDIR"
103 - mkdir -p "${ED}/$PYTHON_GI_OVERRIDESDIR/"
104 - cp -r "${D}"/pygobject/* "${ED}/$PYTHON_GI_OVERRIDESDIR/" || die
105 - python_optimize
106 - }
107 - python_foreach_impl install_pygobject_override
108 - rm -rf "${D}/pygobject" || die
109 -}
110 -
111 -pkg_postinst() {
112 - xdg_icon_cache_update
113 - gnome2_schemas_update
114 -}
115 -
116 -pkg_postrm() {
117 - xdg_icon_cache_update
118 - gnome2_schemas_update
119 -}