Merge pull request #5821 from Johnnynator/guake
guake: update to 3.4.0.
This commit is contained in:
commit
b38f50a408
2 changed files with 25 additions and 8 deletions
14
srcpkgs/guake/patches/guake-3.4.0-paths.patch
Normal file
14
srcpkgs/guake/patches/guake-3.4.0-paths.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
https://bugs.gentoo.org/667878
|
||||||
|
https://github.com/Guake/guake/issues/1436
|
||||||
|
|
||||||
|
--- guake/paths.py
|
||||||
|
+++ guake/paths.py
|
||||||
|
@@ -35,7 +35,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
def get_data_files_dir():
|
||||||
|
- d = os.path.dirname(os.path.dirname(sys.modules["guake"].__file__))
|
||||||
|
+ d = os.path.dirname(sys.modules["guake"].__file__)
|
||||||
|
p = os.path.basename(os.path.abspath(os.path.join(d, "..")))
|
||||||
|
if p in ["site-packages", "dist-packages"]:
|
||||||
|
# current "guake" package has been installed in a prefix structure (/usr, /usr/local or
|
|
@ -1,8 +1,7 @@
|
||||||
# Template file for 'guake'
|
# Template file for 'guake'
|
||||||
pkgname=guake
|
pkgname=guake
|
||||||
reverts="3.4.0_1"
|
version=3.4.0
|
||||||
version=3.3.2
|
revision=1
|
||||||
revision=3
|
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
pycompile_module="guake"
|
pycompile_module="guake"
|
||||||
|
@ -12,15 +11,19 @@ depends="desktop-file-utils libkeybinder3 libnotify python3-dbus python3-gobject
|
||||||
python3-pbr vte3"
|
python3-pbr vte3"
|
||||||
checkdepends="python3-flake8 python3-pylint python3-pytest"
|
checkdepends="python3-flake8 python3-pylint python3-pytest"
|
||||||
short_desc="Drop-down terminal for GNOME"
|
short_desc="Drop-down terminal for GNOME"
|
||||||
maintainer="John <johnz@posteo.net>"
|
maintainer="Orphaned <orphan@voidlinux.eu>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://guake-project.org/"
|
homepage="http://guake-project.org/"
|
||||||
distfiles="https://github.com/Guake/guake/archive/${version}.tar.gz"
|
distfiles="https://github.com/Guake/guake/archive/${version}.tar.gz"
|
||||||
checksum=d0a6c95a59df7f25e9f7a320ec11ffea3fd37d252768819ebdeb7608afaebd1f
|
checksum=54551c25b63612b73d176df5d222133b0b3b48d6ac5cfce33320f077b4702c49
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
export PBR_VERSION=5.1.1
|
||||||
|
make generate-paths generate-mo
|
||||||
|
}
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
export PBR_VERSION=4.0.4
|
export PBR_VERSION=5.1.1
|
||||||
make generate-paths generate-mo
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
|
@ -29,7 +32,7 @@ do_check() {
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_install() {
|
pre_install() {
|
||||||
export PBR_VERSION=4.0.4
|
export PBR_VERSION=5.1.1
|
||||||
make prefix=/usr DESTDIR=${DESTDIR} install-locale
|
make prefix=/usr DESTDIR=${DESTDIR} install-locale
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue