summaryrefslogtreecommitdiff
path: root/community/sakura
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-03-02 18:53:10 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-03-02 18:53:10 +0100
commit588ef662386ce30b28688e95f11f7fc7a52f8e25 (patch)
treea62b104d7b70d82767fbde6aeb782b1359302459 /community/sakura
parent9ea487ed90ebf891571ea8fffd34c154cbf981df (diff)
parentb479098a1b8d7cb545339cb225a7cde4988b2748 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/kdesvn/PKGBUILD community/lwm/PKGBUILD community/sakura/PKGBUILD extra/openmpi/PKGBUILD extra/qt/PKGBUILD
Diffstat (limited to 'community/sakura')
-rw-r--r--community/sakura/PKGBUILD17
-rw-r--r--community/sakura/linker.patch11
2 files changed, 22 insertions, 6 deletions
diff --git a/community/sakura/PKGBUILD b/community/sakura/PKGBUILD
index aa0f750bb..e84b00014 100644
--- a/community/sakura/PKGBUILD
+++ b/community/sakura/PKGBUILD
@@ -1,23 +1,28 @@
-# $Id: PKGBUILD 53190 2011-07-31 20:35:40Z rvanharen $
+# $Id: PKGBUILD 66893 2012-02-29 21:54:35Z rvanharen $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Dmitry N. Shilov <stormblast@land.ru>
pkgname=sakura
-pkgver=2.4.2
+pkgver=3.0.0
pkgrel=1
pkgdesc="A terminal emulator based on GTK and VTE"
arch=('i686' 'x86_64' 'mips64el')
-url="http://pleyades.net/david/sakura.php"
+url="https://launchpad.net/sakura"
license=('GPL')
-depends=('vte' 'libxft' 'desktop-file-utils')
+depends=('vte3' 'libxft' 'desktop-file-utils')
makedepends=('cmake')
-source=(http://pleyades.net/david/projects/$pkgname/$pkgname-$pkgver.tar.bz2)
+source=(http://pleyades.net/david/projects/$pkgname/$pkgname-$pkgver.tar.bz2
+ "linker.patch")
install=sakura.install
-sha1sums=('24b98c42c057da39f57c281a4726901952774641')
+sha1sums=('2ac4024b40074fb048e9b75cd7ea351b1829c5ee'
+ '781058944c572b840e68a55a0fe86e97c4ac5296')
build() {
cd $srcdir/${pkgname}-${pkgver}
+ # missing linker
+ patch -Np1 -i ${srcdir}/linker.patch
+
# Set default font size a bit smaller
sed -i 's|#define DEFAULT_FONT "Bitstream Vera Sans Mono 14"|#define DEFAULT_FONT "Bitstream Vera Sans Mono 10"|g' src/sakura.c
diff --git a/community/sakura/linker.patch b/community/sakura/linker.patch
new file mode 100644
index 000000000..9277461d9
--- /dev/null
+++ b/community/sakura/linker.patch
@@ -0,0 +1,11 @@
+--- sakura-3.0.0/CMakeLists.txt.bak 2012-02-29 22:50:16.786701967 +0100
++++ sakura-3.0.0/CMakeLists.txt 2012-02-29 22:50:26.323368673 +0100
+@@ -43,7 +43,7 @@
+
+ INCLUDE_DIRECTORIES (. ${GTK_INCLUDE_DIRS} ${VTE_INCLUDE_DIRS})
+ LINK_DIRECTORIES (${GTK_LIBRARY_DIRS} ${VTE_LIBRARY_DIRS})
+-LINK_LIBRARIES (${GTK_LIBRARIES} ${VTE_LIBRARIES})
++LINK_LIBRARIES (${GTK_LIBRARIES} ${VTE_LIBRARIES} -lm)
+ ADD_EXECUTABLE (sakura src/sakura.c)
+ ADD_DEPENDENCIES (sakura src/sakura.c src/sakura.h)
+