Skip to content

Commit

Permalink
guake: update to 3.6.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnnynator committed May 16, 2019
1 parent da34c56 commit eee156e
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 37 deletions.
20 changes: 20 additions & 0 deletions srcpkgs/guake/patches/Makefile.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
--- Makefile 2019-05-13 11:17:56.000000000 +0200
+++ - 2019-05-16 12:20:46.201213757 +0200
@@ -86,7 +86,7 @@

@if [ -f guake/paths.py.dev ]; then rm -f guake/paths.py.dev; fi
@if [ -f guake/paths.py ]; then mv guake/paths.py guake/paths.py.dev; fi
- @cp -f guake/paths.py.in guake/paths.py
+ -@cp -f guake/paths.py.in guake/paths.py
@sed -i -e 's|{{ LOCALE_DIR }}|"$(localedir)"|g' guake/paths.py
@sed -i -e 's|{{ IMAGE_DIR }}|"$(IMAGE_DIR)"|g' guake/paths.py
@sed -i -e 's|{{ GLADE_DIR }}|"$(GLADE_DIR)"|g' guake/paths.py
@@ -397,7 +397,7 @@

generate-paths:
@echo "Generating path.py..."
- @cp -f guake/paths.py.in guake/paths.py
+ -@cp -f guake/paths.py.in guake/paths.py
@# Generic
@sed -i -e 's|{{ LOGIN_DESTOP_PATH }}|""|g' guake/paths.py
@sed -i -e 's|{{ AUTOSTART_FOLDER }}|""|g' guake/paths.py
14 changes: 0 additions & 14 deletions srcpkgs/guake/patches/guake-3.4.0-paths.patch

This file was deleted.

33 changes: 10 additions & 23 deletions srcpkgs/guake/template
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
# Template file for 'guake'
pkgname=guake
version=3.5.0
version=3.6.3
revision=1
archs=noarch
build_style=python3-module
wrksrc="Guake-${version}"
pycompile_module="guake"
hostmakedepends="python3-setuptools"
makedepends="python3-devel python3-pbr"
depends="desktop-file-utils libkeybinder3 libnotify python3-dbus python3-gobject
python3-pbr vte3"
python3-pbr vte3 libwnck"
checkdepends="python3-flake8 python3-pylint python3-pytest python3-pipenv"
short_desc="Drop-down terminal for GNOME"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://guake-project.org/"
distfiles="https://github.com/Guake/guake/archive/${version}.tar.gz"
checksum=6de0c1f7bfe07eded14a50a6841f1d762a025f1826a1054ae1b5b0328faec108

post_extract() {
export PBR_VERSION=5.1.3
make generate-paths generate-mo
}
distfiles="${PYPI_SITE}/G/Guake/Guake-${version}.tar.gz"
checksum=dabfb58070c721b3e2d8fc9621afdd9de74ed7929d2453a9d08058baab5b7791

pre_build() {
export PBR_VERSION=5.1.3
GUAKE_SCHEMA_DIR="/usr/share/glib-2.0/schemas"
make generate-desktop generate-mo prefix=/usr COMPILE_SCHEMA=0
make generate-paths prefix=/usr DATA_DIR='$(datadir)/guake' DEV_SCHEMA_DIR='$(gsettingsschemadir)' COMPILE_SCHEMA=0
sed -i -e '/^SCHEMA_DIR/s|get_default_schema_dir()|"'"${GUAKE_SCHEMA_DIR}"'"|g' guake/paths.py
}

do_check() {
Expand All @@ -32,17 +31,5 @@ do_check() {
}

pre_install() {
export PBR_VERSION=5.1.1
make prefix=/usr DESTDIR=${DESTDIR} install-locale
}

post_install() {
vmkdir usr/share/applications
vmkdir usr/share/pixmaps
ln -s ../guake/data/guake.template.desktop \
${DESTDIR}/usr/share/applications/guake.desktop
ln -s ../guake/data/guake-prefs.template.desktop \
${DESTDIR}/usr/share/applications/guake-prefs.desktop
ln -s ../guake/data/pixmaps/guake.png \
${DESTDIR}/usr/share/pixmaps/guake.png
make prefix=/usr DESTDIR=${DESTDIR} COMPILE_SCHEMA=0 install-locale install-schemas
}

0 comments on commit eee156e

Please sign in to comment.