Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-tweak-tool/
Date: Sat, 25 Jun 2016 18:44:04
Message-Id: 1466880197.5e566f0c83aaa287ee7586b324aea172e4f33b08.pacho@gentoo
1 commit: 5e566f0c83aaa287ee7586b324aea172e4f33b08
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 25 18:37:03 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 25 18:43:17 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e566f0c
7
8 gnome-extra/gnome-tweak-tool: Version bump, drop obsolete patches
9
10 Package-Manager: portage-2.3.0_rc1
11
12 gnome-extra/gnome-tweak-tool/Manifest | 1 +
13 .../gnome-tweak-tool-3.20.1.ebuild | 72 ++++++++++++++++++++++
14 2 files changed, 73 insertions(+)
15
16 diff --git a/gnome-extra/gnome-tweak-tool/Manifest b/gnome-extra/gnome-tweak-tool/Manifest
17 index afc7505..72e0ff4 100644
18 --- a/gnome-extra/gnome-tweak-tool/Manifest
19 +++ b/gnome-extra/gnome-tweak-tool/Manifest
20 @@ -1 +1,2 @@
21 DIST gnome-tweak-tool-3.18.1.tar.xz 252716 SHA256 5c2c1103237648413c2d63a941e06b7057d6b102276b5968517753075de29430 SHA512 0e7d05292dc961e25efb8b410fca20281541ac9cecde307a733c0c95a370255cf790dcef0d708544b1174c95184550a966466ac510ced6ba69d2e82508433cf5 WHIRLPOOL 35d4049d370ada31ec558881e93f4f22ac3384b9e6ae8f6b78eebe7a732283555021a2cd98cfa6238570baaa23d6cba2ee0a3603e9e0a84e3cd745e67a8c3e9b
22 +DIST gnome-tweak-tool-3.20.1.tar.xz 255988 SHA256 5171b2f75ceeea9455543e999a83a71e8566947f89eb9157aaff7969b7e446ba SHA512 d1943a9f0d7e4ec0c2399276342dfc9418ed161a5583eb44543e76f22d883b39c54dc701ad3aae8827624f75f7ee53f3b8e4e7804a07ff11716d1a134fc25ddf WHIRLPOOL 84478cabaf6d7513dab84ebb83cb9c93bfdcbbb537e642840f96671131c93cd1084d39e79e16d47b7dfe181941febe6a0e36aa38d16faeff1cf7d47bbcfe3215
23
24 diff --git a/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.20.1.ebuild b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.20.1.ebuild
25 new file mode 100644
26 index 0000000..273eed2
27 --- /dev/null
28 +++ b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.20.1.ebuild
29 @@ -0,0 +1,72 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=6
35 +GNOME2_LA_PUNT="yes"
36 +PYTHON_COMPAT=( python2_7 )
37 +
38 +inherit eutils gnome2 python-r1
39 +
40 +DESCRIPTION="Tool to customize GNOME 3 options"
41 +HOMEPAGE="https://wiki.gnome.org/action/show/Apps/GnomeTweakTool"
42 +
43 +LICENSE="GPL-2+"
44 +SLOT="0"
45 +
46 +IUSE=""
47 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
48 +
49 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
50 +
51 +# Newer pygobject needed due upstream bug #723951
52 +COMMON_DEPEND="
53 + ${PYTHON_DEPS}
54 + dev-libs/glib:2[dbus]
55 + >=dev-python/pygobject-3.10.2:3[${PYTHON_USEDEP}]
56 + >=gnome-base/gsettings-desktop-schemas-3.4
57 +"
58 +# g-s-d, gnome-desktop, gnome-shell etc. needed at runtime for the gsettings schemas
59 +RDEPEND="${COMMON_DEPEND}
60 + >=gnome-base/gnome-desktop-3.6.0.1:3=[introspection]
61 + >=x11-libs/gtk+-3.12:3[introspection]
62 +
63 + net-libs/libsoup:2.4[introspection]
64 + x11-libs/libnotify[introspection]
65 +
66 + >=gnome-base/gnome-settings-daemon-3
67 + gnome-base/gnome-shell
68 + >=gnome-base/nautilus-3
69 +"
70 +DEPEND="${COMMON_DEPEND}
71 + >=dev-util/intltool-0.40.0
72 + virtual/pkgconfig
73 +"
74 +
75 +src_prepare() {
76 + # Add contents of Gentoo's cursor theme directory to cursor theme list
77 + eapply "${FILESDIR}/${PN}-3.10.1-gentoo-cursor-themes.patch"
78 +
79 + gnome2_src_prepare
80 + python_copy_sources
81 +}
82 +
83 +src_configure() {
84 + python_foreach_impl run_in_build_dir gnome2_src_configure
85 +}
86 +
87 +src_compile() {
88 + python_foreach_impl run_in_build_dir gnome2_src_compile
89 +}
90 +
91 +src_test() {
92 + python_foreach_impl run_in_build_dir default
93 +}
94 +
95 +src_install() {
96 + install_python() {
97 + gnome2_src_install
98 + python_doscript gnome-tweak-tool || die
99 + }
100 + python_foreach_impl run_in_build_dir install_python
101 +}