Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/xapps/
Date: Tue, 13 Jul 2021 06:44:23
Message-Id: 1626158519.d2bf711dfe7d1903d4a21316c1c380be3192a7ba.mgorny@gentoo
1 commit: d2bf711dfe7d1903d4a21316c1c380be3192a7ba
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 13 06:41:59 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 13 06:41:59 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2bf711d
7
8 x11-libs/xapps: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 x11-libs/xapps/Manifest | 1 -
13 x11-libs/xapps/xapps-2.0.6.ebuild | 93 ---------------------------------------
14 2 files changed, 94 deletions(-)
15
16 diff --git a/x11-libs/xapps/Manifest b/x11-libs/xapps/Manifest
17 index aad55245995..f654f6def9e 100644
18 --- a/x11-libs/xapps/Manifest
19 +++ b/x11-libs/xapps/Manifest
20 @@ -1,2 +1 @@
21 -DIST xapps-2.0.6.tar.gz 231023 BLAKE2B bc3907966c132c683e75769f8f45839d45229c77933ef861f58b03a21cca15a4f3dd610acb6a19fc16d35ddb189340cdef80704e78c89a3e49659a2f82be121e SHA512 bac6e105e2b1e237958fb610a9bd697a023c10a45131da7dee984532986022895414d81849f53bc0007c319c2139c6d39474e2e7fd9ce4e53365517f4ba4f012
22 DIST xapps-2.2.1.tar.gz 239789 BLAKE2B ee7f3f2b3c54b0b40158dff6abbe2233c0d1a1fa4e134ce4bd6ee48842335b16e0d94ad430cb59301529dd85e2705cbb1c1f5ba10844b6fb85f598ca0c42d1db SHA512 412f5c207d81d2507f2aa5cc69beed2036db07058f08613793aa7c277bac30191a02d9aff4eca0aeb8829e3e39d5f3a87e34232bf51220c4d4bc7c8ee37b9e65
23
24 diff --git a/x11-libs/xapps/xapps-2.0.6.ebuild b/x11-libs/xapps/xapps-2.0.6.ebuild
25 deleted file mode 100644
26 index bade1ef0d30..00000000000
27 --- a/x11-libs/xapps/xapps-2.0.6.ebuild
28 +++ /dev/null
29 @@ -1,93 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -PYTHON_COMPAT=( python3_{7,8,9} )
36 -VALA_USE_DEPEND="vapigen"
37 -
38 -inherit gnome2-utils vala meson python-r1 xdg-utils
39 -
40 -DESCRIPTION="Cross-desktop libraries and common resources"
41 -HOMEPAGE="https://github.com/linuxmint/xapp/"
42 -LICENSE="GPL-3"
43 -
44 -SRC_URI="https://github.com/linuxmint/xapp/archive/${PV}.tar.gz -> ${P}.tar.gz"
45 -S="${WORKDIR}/xapp-${PV}"
46 -KEYWORDS="amd64 ~arm64 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.44.0:2
55 - dev-libs/gobject-introspection:0=
56 - dev-libs/libdbusmenu[gtk3]
57 - gnome-base/libgnomekbd
58 - x11-libs/cairo
59 - >=x11-libs/gdk-pixbuf-2.22.0:2[introspection?]
60 - >=x11-libs/gtk+-3.16.0:3[introspection?]
61 - x11-libs/libxkbfile
62 -"
63 -DEPEND="
64 - ${RDEPEND}
65 -"
66 -BDEPEND="
67 - ${PYTHON_DEPS}
68 - $(vala_depend)
69 - dev-python/pygobject:3[${PYTHON_USEDEP}]
70 - dev-util/gdbus-codegen
71 - dev-util/glib-utils
72 - >=dev-util/intltool-0.40.6
73 - sys-devel/gettext
74 -
75 - gtk-doc? ( dev-util/gtk-doc )
76 -"
77 -
78 -src_prepare() {
79 - vala_src_prepare
80 - default
81 -
82 - # don't install distro specific tools
83 - sed -i "/subdir('scripts')/d" meson.build || die
84 -
85 - # Fix meson helpers
86 - python_setup
87 - python_fix_shebang meson-scripts
88 -}
89 -
90 -src_configure() {
91 - local emesonargs=(
92 - $(meson_use gtk-doc docs)
93 - -Dpy-overrides-dir="/pygobject"
94 - )
95 - meson_src_configure
96 -}
97 -
98 -src_install() {
99 - meson_src_install
100 -
101 - # copy pygobject files to each active python target
102 - # work-around for "py-overrides-dir" only supporting a single target
103 - install_pygobject_override() {
104 - PYTHON_GI_OVERRIDESDIR=$("${EPYTHON}" -c 'import gi;print(gi._overridesdir)' || die)
105 - einfo "gobject overrides directory: ${PYTHON_GI_OVERRIDESDIR}"
106 - mkdir -p "${D}/${PYTHON_GI_OVERRIDESDIR}/" || die
107 - cp -r "${D}"/pygobject/* "${D}/${PYTHON_GI_OVERRIDESDIR}/" || die
108 - python_optimize "${D}/${PYTHON_GI_OVERRIDESDIR}/"
109 - }
110 - python_foreach_impl install_pygobject_override
111 - rm -r "${D}/pygobject" || die
112 -}
113 -
114 -pkg_postinst() {
115 - xdg_icon_cache_update
116 - gnome2_schemas_update
117 -}
118 -
119 -pkg_postrm() {
120 - xdg_icon_cache_update
121 - gnome2_schemas_update
122 -}