summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2019-03-06 13:01:52 +0200
committerMart Raudsepp <leio@gentoo.org>2019-03-06 13:04:46 +0200
commit724511dcc293e45971b3cadea24836ef0f00b80d (patch)
treed4e6f43144cc81470d652d5aa5fc0a4c55c45045 /gnome-extra/gnome-tweaks
parentgnome-extra/gnome-tweaks: lock to older nautilus (diff)
downloadgentoo-724511dcc293e45971b3cadea24836ef0f00b80d.tar.gz
gentoo-724511dcc293e45971b3cadea24836ef0f00b80d.tar.bz2
gentoo-724511dcc293e45971b3cadea24836ef0f00b80d.zip
gnome-extra/gnome-tweaks: bump to 3.28.1
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'gnome-extra/gnome-tweaks')
-rw-r--r--gnome-extra/gnome-tweaks/Manifest1
-rw-r--r--gnome-extra/gnome-tweaks/files/3.28.1-gentoo-cursor-themes.patch25
-rw-r--r--gnome-extra/gnome-tweaks/gnome-tweaks-3.28.1.ebuild49
3 files changed, 75 insertions, 0 deletions
diff --git a/gnome-extra/gnome-tweaks/Manifest b/gnome-extra/gnome-tweaks/Manifest
index d02673f40e58..75c405b96726 100644
--- a/gnome-extra/gnome-tweaks/Manifest
+++ b/gnome-extra/gnome-tweaks/Manifest
@@ -1,2 +1,3 @@
DIST gnome-tweak-tool-3.24.1.tar.xz 261872 BLAKE2B ce62ad4357d8f8660bbbdcd81a1190f21cf7a832853aba404bc087b8150bff8f6451902102dfe030a6eec5ce658d31f176e0d32055f25e69203fda65ce092120 SHA512 b76e9a46de07d12b586fb7326fcd51fff1565b831fe8f4d1ab4bbefe36450b5d2cb7c7a168922960894ba57ac9bd412afa61973c034bd1b5f2b45c52eb34adcd
DIST gnome-tweak-tool-3.26.4.tar.xz 253036 BLAKE2B a63d6977e7b4fb9d7e26752a95e123794daa5412ccc2f4ac1572ee1bf06730b29e5a2bd0d547dc3f8bfc1ab2c4a2d9bd72c42f9c0ff10d9bc9a23d377883562d SHA512 42828720213cf366534eabf46fa4c3e4c3f15f2310adad96a5297300c781abe62e3f59ec305e077cdd6bb5538dae3ec3487e5accecd2ce6221c388c28092c2d0
+DIST gnome-tweaks-3.28.1.tar.xz 268476 BLAKE2B e4bcbc218519769ece4ea266f014a59b692c6cdef8f12122a3f1dddf1748e60cbe7fd9b0f7eb32320f111b15c0a2ac09780cac53635f816107b1ca983d8ddd1a SHA512 c3d1f65012b465b428809bcd734df4de37f1530611d1bce6363067683184acfbc736b432b12834882b10aa7d0f03d4242cc51319b6f49de95eea7b7c43db90dc
diff --git a/gnome-extra/gnome-tweaks/files/3.28.1-gentoo-cursor-themes.patch b/gnome-extra/gnome-tweaks/files/3.28.1-gentoo-cursor-themes.patch
new file mode 100644
index 000000000000..7de77aa137a5
--- /dev/null
+++ b/gnome-extra/gnome-tweaks/files/3.28.1-gentoo-cursor-themes.patch
@@ -0,0 +1,25 @@
+From a362e7b1b2b6622e913983457a4872950aa8fde7 Mon Sep 17 00:00:00 2001
+From: Mart Raudsepp <leio@gentoo.org>
+Date: Wed, 6 Mar 2019 12:57:23 +0200
+Subject: [PATCH] appearance: Look for cursors in Gentoo location too
+
+---
+ gtweak/tweaks/tweak_group_appearance.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gtweak/tweaks/tweak_group_appearance.py b/gtweak/tweaks/tweak_group_appearance.py
+index ff78735..061925d 100644
+--- a/gtweak/tweaks/tweak_group_appearance.py
++++ b/gtweak/tweaks/tweak_group_appearance.py
+@@ -88,7 +88,7 @@ class CursorThemeSwitcher(GSettingsComboTweak):
+ **options)
+
+ def _get_valid_cursor_themes(self):
+- valid = walk_directories(get_resource_dirs("icons"), lambda d:
++ valid = walk_directories([os.path.join(gtweak.DATA_DIR, "cursors", "xorg-x11")] + get_resource_dirs("icons"), lambda d:
+ os.path.isdir(d) and \
+ os.path.exists(os.path.join(d, "cursors")))
+ return set(valid)
+--
+2.17.0
+
diff --git a/gnome-extra/gnome-tweaks/gnome-tweaks-3.28.1.ebuild b/gnome-extra/gnome-tweaks/gnome-tweaks-3.28.1.ebuild
new file mode 100644
index 000000000000..9b0e786bdfda
--- /dev/null
+++ b/gnome-extra/gnome-tweaks/gnome-tweaks-3.28.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit gnome.org meson python-single-r1 xdg
+
+DESCRIPTION="Customize advanced GNOME 3 options"
+HOMEPAGE="https://wiki.gnome.org/Apps/Tweaks"
+
+LICENSE="GPL-3+ CC0-1.0"
+SLOT="0"
+
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
+
+COMMON_DEPEND="
+ ${PYTHON_DEPS}
+"
+# g-s-d, gnome-desktop, gnome-shell etc. needed at runtime for the gsettings schemas
+RDEPEND="${COMMON_DEPEND}
+ >=dev-python/pygobject-3.10.2:3[${PYTHON_USEDEP}]
+ >=gnome-base/gnome-settings-daemon-3
+
+ dev-libs/glib:2
+ >=x11-libs/gtk+-3.12:3[introspection]
+ >=gnome-base/gnome-desktop-3.6.0.1:3[introspection]
+ net-libs/libsoup:2.4[introspection]
+ x11-libs/libnotify[introspection]
+
+ >=gnome-base/gsettings-desktop-schemas-3.27.90
+ >=gnome-base/gnome-shell-3.24
+ x11-wm/mutter
+"
+DEPEND="${COMMON_DEPEND}
+ >=sys-devel/gettext-0.19.8
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PV}-gentoo-cursor-themes.patch # Add contents of Gentoo's cursor theme directory to cursor theme list
+)
+
+src_install() {
+ meson_src_install
+ python_fix_shebang "${ED}"/usr/bin/
+}