summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorAvatar Rasmus Thomsen <Rasmus.thomsen@protonmail.com> 2017-10-05 17:25:07 +0200
committerAvatar Marc-Antoine Perennou <Marc-Antoine@Perennou.com> 2017-10-06 10:04:40 +0200
commit33eb9d36e8b0893f341962f344621b6a13b7f332 (patch)
tree3b3a36fa4c8d192bb8aaa0f2decbb362d86ad958 /packages
parent7739fd71835b77ba30f89cc56c7d2cdb17f914f0 (diff)
downloadgnome-33eb9d36e8b0893f341962f344621b6a13b7f332.tar.gz
gnome-33eb9d36e8b0893f341962f344621b6a13b7f332.tar.xz
gnome-desktop/gnome-tweak-tool: remove LINGUAS, fix PYTHON_ABIS
Also fix installation of python related files Change-Id: I386c7e7c48601972c4c8aba8c6da711f840d20b1 Reviewed-on: https://galileo.mailstation.de/gerrit/10201 Reviewed-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
Diffstat (limited to 'packages')
-rw-r--r--packages/gnome-desktop/gnome-tweak-tool/gnome-tweak-tool-3.26.2.1-r1.exheres-0 (renamed from packages/gnome-desktop/gnome-tweak-tool/gnome-tweak-tool-3.26.2.1.exheres-0)18
1 files changed, 11 insertions, 7 deletions
diff --git a/packages/gnome-desktop/gnome-tweak-tool/gnome-tweak-tool-3.26.2.1.exheres-0 b/packages/gnome-desktop/gnome-tweak-tool/gnome-tweak-tool-3.26.2.1-r1.exheres-0
index 1bb96cc..c23366f 100644
--- a/packages/gnome-desktop/gnome-tweak-tool/gnome-tweak-tool-3.26.2.1.exheres-0
+++ b/packages/gnome-desktop/gnome-tweak-tool/gnome-tweak-tool-3.26.2.1-r1.exheres-0
@@ -1,7 +1,7 @@
# Copyright 2011 Brett Witherspoon <spoonb@exherbo.org>
# Distributed under the terms of the GNU General Public License v2
-require gnome.org [ suffix=tar.xz ] gtk-icon-cache python [ blacklist=none 2to3=true multibuild=false ] meson
+require gnome.org [ suffix=tar.xz ] gtk-icon-cache python [ blacklist=2 multibuild=false ] meson
SUMMARY="A tool to customize GNOME 3 options."
HOMEPAGE="http://live.gnome.org/GnomeTweakTool"
@@ -9,11 +9,7 @@ HOMEPAGE="http://live.gnome.org/GnomeTweakTool"
LICENCES="GPL-3"
SLOT="0"
PLATFORMS="~amd64 ~x86"
-MYOPTIONS="
- ( linguas: ar as bg bs ca ca@valencia cs da de el en_GB eo es eu fa fi fr fur gl he hu id is it
- ja kk ko ky lt lv my nb ne nl oc pa pl pt pt_BR ro ru sk sl sr sr@latin sv te tg th
- tr uk vi zh_CN zh_HK zh_TW )
-"
+MYOPTIONS=""
DEPENDENCIES="
build:
@@ -34,7 +30,15 @@ DEPENDENCIES="
src_prepare() {
meson_src_prepare
- edo sed -e "/pythondir/s/prefix/'\/usr\/$(exhost --target)'/" -i meson.build
+
+ # use the python version set via python_abis
+ edo sed -e "s:/usr/bin/env python3:/usr/$(exhost --target)/bin/env ${PYTHON}:" -i ${PN}
+
+ # use correct python libdir
+ edo sed "/python3.sysconfig_path('purelib'))/d" -i \
+ meson.build
+ edo sed -e "16s:^:pythondir = '$(python_get_libdir)'\n:" -i \
+ meson.build
}
src_compile() {