summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabioLolix2020-08-19 19:06:21 +0200
committerFabioLolix2020-08-19 19:06:21 +0200
commitacc2b338c703aab5223589e8f67734c3dedc69cf (patch)
tree2fb03b9abba7e7c497eca0a8fe65f7a3c690f080
parentc2d61d64dfd4584b5de435569e1efdc3285bb713 (diff)
downloadaur-polo-git.tar.gz
v
-rw-r--r--.SRCINFO4
-rw-r--r--0001-Re-add-support-for-vte291-0.52.patch25
-rw-r--r--0001-fix-build.patch27
-rw-r--r--PKGBUILD5
4 files changed, 7 insertions, 54 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5b15a9571ea5..73dc797ea611 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = polo-git
pkgdesc = A modern, light-weight GTK file manager for Linux, currently in beta
pkgver = 18.8.beta.r36.ga86c950
- pkgrel = 1
+ pkgrel = 2
url = https://teejee2008.github.io/polo/
arch = i686
arch = x86_64
@@ -27,8 +27,10 @@ pkgbase = polo-git
provides = polo
conflicts = polo
source = git+https://github.com/teejee2008/polo.git
+ source = https://raw.githubusercontent.com/FabioLolix/AUR-artifacts/master/polo-fix-build.patch
source = polo-create_tr.po.diff::https://github.com/yasarciv67/polo/commit/69be85d38f346e209a73e0c7e7223b251cef2f3e.diff
sha256sums = SKIP
+ sha256sums = 895c7f21844fead0df7b044396ee972f55cd03e4cb5a218adc30e1605e274f45
sha256sums = bc44c97ae69ab97409716b9adda0ecaf056a62ec9aa710c5020a832192420b15
pkgname = polo-git
diff --git a/0001-Re-add-support-for-vte291-0.52.patch b/0001-Re-add-support-for-vte291-0.52.patch
deleted file mode 100644
index 649704608c31..000000000000
--- a/0001-Re-add-support-for-vte291-0.52.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From d73eda26423ef9730eded03c78c636bebe971948 Mon Sep 17 00:00:00 2001
-From: FabioLolix <fabio.lolix@gmail.com>
-Date: Mon, 13 Aug 2018 01:44:37 +0200
-Subject: [PATCH] Re-add support for vte291 >0.52
-
----
- src/Gtk/TermBox.vala | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/Gtk/TermBox.vala b/src/Gtk/TermBox.vala
-index da5d3a0..0c7b37c 100644
---- a/src/Gtk/TermBox.vala
-+++ b/src/Gtk/TermBox.vala
-@@ -255,7 +255,7 @@ public class TermBox : Gtk.Box {
-
- #else
-
-- term.feed_child(cmd, -1);
-+ term.feed_child(cmd.to_utf8());
-
- #endif
- }
---
-2.18.0
-
diff --git a/0001-fix-build.patch b/0001-fix-build.patch
deleted file mode 100644
index c080c14b21f7..000000000000
--- a/0001-fix-build.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 94d710c2723f6fd485d7747bd37227d5cd18a27c Mon Sep 17 00:00:00 2001
-From: FabioLolix <fabio.lolix@gmail.com>
-Date: Mon, 17 Sep 2018 23:14:55 +0200
-Subject: [PATCH] fix build
-
----
- src/makefile | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/src/makefile b/src/makefile
-index d1ec28b..1d3bd4d 100644
---- a/src/makefile
-+++ b/src/makefile
-@@ -16,9 +16,8 @@ app_fullname='Polo'
-
- vte_symbol = -D VTE_291
- vte_version=$(shell { (pkg-config --modversion vte-2.91 | cut -d. -f 2,3); } )
--vala_version=$(shell { (valac --version | cut -d. -f 2); } )
-
--ifeq ($(shell { test ${vala_version} -lt 42 ; echo $$? ; } ), 0)
-+ifeq ($(shell { test ${vte_version} -lt 52.2 ; echo $$? ; } ), 0)
- vte_symbol=$(shell echo '-D VTE_291_OLD')
- else
- vte_symbol=$(shell echo '-D VTE_291')
---
-2.18.0
-
diff --git a/PKGBUILD b/PKGBUILD
index a961ed13c749..8f0475580da8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
pkgname=polo-git
-pkgrel=1
pkgver=18.8.beta.r36.ga86c950
+pkgrel=2
pkgdesc="A modern, light-weight GTK file manager for Linux, currently in beta"
arch=(i686 x86_64)
url="https://teejee2008.github.io/polo/"
@@ -21,8 +21,10 @@ optdepends=('mediainfo: read media properties from audio and video files'
provides=(polo)
conflicts=(polo)
source=("git+https://github.com/teejee2008/polo.git"
+ "https://raw.githubusercontent.com/FabioLolix/AUR-artifacts/master/polo-fix-build.patch"
"polo-create_tr.po.diff::https://github.com/yasarciv67/polo/commit/69be85d38f346e209a73e0c7e7223b251cef2f3e.diff")
sha256sums=('SKIP'
+ '895c7f21844fead0df7b044396ee972f55cd03e4cb5a218adc30e1605e274f45'
'bc44c97ae69ab97409716b9adda0ecaf056a62ec9aa710c5020a832192420b15')
pkgver() {
@@ -33,6 +35,7 @@ pkgver() {
prepare() {
cd "$srcdir/${pkgname/-git/}"
patch -Np1 -i ../polo-create_tr.po.diff
+ patch -Np1 -i ../polo-fix-build.patch
}
build() {