summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2021-03-13 18:53:58 -0500
committerMatt Turner <mattst88@gentoo.org>2021-03-13 19:06:20 -0500
commit2b91bd421f60b814fd712a8c03bd6e29f6012833 (patch)
tree26d5b2e229db706305161a7862cc575380408465 /gnome-extra
parentgnome-base/gnome-control-center: Version bump to 3.38.4 (diff)
downloadgentoo-2b91bd421f60b814fd712a8c03bd6e29f6012833.tar.gz
gentoo-2b91bd421f60b814fd712a8c03bd6e29f6012833.tar.bz2
gentoo-2b91bd421f60b814fd712a8c03bd6e29f6012833.zip
gnome-extra/gnome-tweaks: Version bump to 3.34.1
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/gnome-tweaks/Manifest1
-rw-r--r--gnome-extra/gnome-tweaks/files/3.34.0-fix-python.patch17
-rw-r--r--gnome-extra/gnome-tweaks/gnome-tweaks-3.34.1.ebuild50
3 files changed, 57 insertions, 11 deletions
diff --git a/gnome-extra/gnome-tweaks/Manifest b/gnome-extra/gnome-tweaks/Manifest
index 3fb7e7f2d141..9c34453157a5 100644
--- a/gnome-extra/gnome-tweaks/Manifest
+++ b/gnome-extra/gnome-tweaks/Manifest
@@ -1 +1,2 @@
DIST gnome-tweaks-3.34.0.tar.xz 246592 BLAKE2B 8701b03f64bf6b779f6f96de25684602447b4da8f2714cb38f866e5016532aad3283f3dc217b29161534958c03e72aed33c0803e60681a3616818d037c23e5e8 SHA512 1d2b21a31550d4b48afd02a9fcfb9844eacac7aa726ef624abcb40225af31da29b34e9032b3bb2943e5cb5f7553a6f931467d04bfbc2b026732e6bdcb86eb840
+DIST gnome-tweaks-3.34.1.tar.xz 247980 BLAKE2B 55fbb16bcdb1a9ea4b5ca84df802266e07347377eab3712284973146fcc0797af59df5985725b1a95a1fba0d26b580a1c9862675978876de5eeb0de9c0060be3 SHA512 c922bf696b9ff48c8c39fd4ae06f4b72ea7b18645ad41552b0367859066d7601bc59521643335931e1cce799344a1c1ac9a7c28408de4c19bfa4127594a2ec7d
diff --git a/gnome-extra/gnome-tweaks/files/3.34.0-fix-python.patch b/gnome-extra/gnome-tweaks/files/3.34.0-fix-python.patch
index 2501bc7c4d12..8845a0d26ca9 100644
--- a/gnome-extra/gnome-tweaks/files/3.34.0-fix-python.patch
+++ b/gnome-extra/gnome-tweaks/files/3.34.0-fix-python.patch
@@ -1,4 +1,4 @@
-From 0ec042734f63a3a870920b1e71f07851d335ea45 Mon Sep 17 00:00:00 2001
+From 024bf6cbccc4ceb9c1e8243f43df225f5dff9098 Mon Sep 17 00:00:00 2001
From: Mart Raudsepp <leio@gentoo.org>
Date: Sun, 29 Mar 2020 16:05:36 +0300
Subject: [PATCH] build: Fix python files installation handling
@@ -19,8 +19,8 @@ versions too. However fix it too, so that we are now warning-free for
meson features after raising of the meson version dep.
---
gtweak/meson.build | 5 ++---
- meson.build | 12 ++++++++----
- 2 files changed, 10 insertions(+), 7 deletions(-)
+ meson.build | 10 +++++++---
+ 2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/gtweak/meson.build b/gtweak/meson.build
index 3d9a743..4e558b4 100644
@@ -43,15 +43,10 @@ index 3d9a743..4e558b4 100644
+python3.install_sources(shell_sources, subdir: 'gtweak')
+python3.install_sources(tweak_sources, subdir: join_paths('gtweak', 'tweaks'))
diff --git a/meson.build b/meson.build
-index b7da518..df49ae3 100644
+index cffa8af..60141c5 100644
--- a/meson.build
+++ b/meson.build
-@@ -1,11 +1,16 @@
- project('gnome-tweaks',
- version: '3.34.0',
-- meson_version: '>= 0.40.0'
-+ meson_version: '>= 0.46.0'
- )
+@@ -5,7 +5,12 @@ project('gnome-tweaks',
gnome = import('gnome')
i18n = import('i18n')
@@ -81,5 +76,5 @@ index b7da518..df49ae3 100644
schemadir = join_paths(datadir, 'glib-2.0', 'schemas')
--
-2.20.1
+2.26.2
diff --git a/gnome-extra/gnome-tweaks/gnome-tweaks-3.34.1.ebuild b/gnome-extra/gnome-tweaks/gnome-tweaks-3.34.1.ebuild
new file mode 100644
index 000000000000..c71dcb2c2a96
--- /dev/null
+++ b/gnome-extra/gnome-tweaks/gnome-tweaks-3.34.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{7..9} )
+
+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"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+
+DEPEND="${PYTHON_DEPS}"
+# See README.md for list of deps
+RDEPEND="${DEPEND}
+ $(python_gen_cond_dep '
+ >=dev-python/pygobject-3.10.2:3[${PYTHON_MULTI_USEDEP}]
+ ')
+ >=gnome-base/gnome-settings-daemon-3
+ x11-themes/sound-theme-freedesktop
+
+ >=dev-libs/glib-2.58:2
+ >=x11-libs/gtk+-3.12:3[introspection]
+ >=gnome-base/gnome-desktop-3.30:3[introspection]
+ gui-libs/libhandy:0.0[introspection]
+ net-libs/libsoup:2.4[introspection]
+ x11-libs/libnotify[introspection]
+
+ >=gnome-base/gsettings-desktop-schemas-3.33.0
+ >=gnome-base/gnome-shell-3.24
+ x11-wm/mutter
+"
+BDEPEND=">=sys-devel/gettext-0.19.8"
+
+PATCHES=(
+ "${FILESDIR}"/3.28.1-gentoo-cursor-themes.patch # Add contents of Gentoo's cursor theme directory to cursor theme list
+ "${FILESDIR}"/3.34.0-fix-python.patch
+)
+
+src_install() {
+ meson_src_install
+ python_optimize
+ python_fix_shebang "${ED}"/usr/bin/
+}