summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-01-04 06:02:52 +0000
committerTim Harder <radhermit@gentoo.org>2014-01-04 06:02:52 +0000
commitbadafc0bf15a15edd34436b4ffd48f334a864424 (patch)
tree898581d694aab340432069fceab247993c1d5bb5 /x11-terms/sakura
parentRemove old. (diff)
downloadgentoo-2-badafc0bf15a15edd34436b4ffd48f334a864424.tar.gz
gentoo-2-badafc0bf15a15edd34436b4ffd48f334a864424.tar.bz2
gentoo-2-badafc0bf15a15edd34436b4ffd48f334a864424.zip
Version bump.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'x11-terms/sakura')
-rw-r--r--x11-terms/sakura/ChangeLog10
-rw-r--r--x11-terms/sakura/files/sakura-3.1.3-flags.patch15
-rw-r--r--x11-terms/sakura/sakura-3.1.3.ebuild44
3 files changed, 67 insertions, 2 deletions
diff --git a/x11-terms/sakura/ChangeLog b/x11-terms/sakura/ChangeLog
index 7117b1224de2..667b175f1587 100644
--- a/x11-terms/sakura/ChangeLog
+++ b/x11-terms/sakura/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-terms/sakura
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/sakura/ChangeLog,v 1.39 2013/12/11 04:53:14 radhermit Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/sakura/ChangeLog,v 1.40 2014/01/04 06:02:52 radhermit Exp $
+
+*sakura-3.1.3 (04 Jan 2014)
+
+ 04 Jan 2014; Tim Harder <radhermit@gentoo.org> +sakura-3.1.3.ebuild,
+ +files/sakura-3.1.3-flags.patch:
+ Version bump.
*sakura-3.1.2 (11 Dec 2013)
diff --git a/x11-terms/sakura/files/sakura-3.1.3-flags.patch b/x11-terms/sakura/files/sakura-3.1.3-flags.patch
new file mode 100644
index 000000000000..3a97157c5598
--- /dev/null
+++ b/x11-terms/sakura/files/sakura-3.1.3-flags.patch
@@ -0,0 +1,15 @@
+--- sakura-3.1.3/CMakeLists.txt
++++ sakura-3.1.3/CMakeLists.txt
+@@ -35,12 +35,6 @@
+ ADD_DEFINITIONS (-DDATADIR=\\\"${CMAKE_INSTALL_PREFIX}/share\\\")
+ ADD_DEFINITIONS (-DBUILDTYPE=\\\"${CMAKE_BUILD_TYPE}\\\")
+
+-IF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
+- SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
+-ELSE (${CMAKE_BUILD_TYPE} NOT MATCHES "Debug")
+- SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -Wno-deprecated-declarations")
+-ENDIF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
+-
+ INCLUDE_DIRECTORIES (. ${GTK_INCLUDE_DIRS} ${VTE_INCLUDE_DIRS})
+ LINK_DIRECTORIES (${GTK_LIBRARY_DIRS} ${VTE_LIBRARY_DIRS})
+ LINK_LIBRARIES (${GTK_LIBRARIES} ${VTE_LIBRARIES} m)
diff --git a/x11-terms/sakura/sakura-3.1.3.ebuild b/x11-terms/sakura/sakura-3.1.3.ebuild
new file mode 100644
index 000000000000..c3de45ed890a
--- /dev/null
+++ b/x11-terms/sakura/sakura-3.1.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/sakura/sakura-3.1.3.ebuild,v 1.1 2014/01/04 06:02:52 radhermit Exp $
+
+EAPI=5
+inherit cmake-utils eutils
+
+DESCRIPTION="sakura is a terminal emulator based on GTK and VTE"
+HOMEPAGE="http://www.pleyades.net/david/projects/sakura/"
+SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~arm-linux ~x86-linux"
+
+RDEPEND="
+ >=dev-libs/glib-2.20:2
+ >=x11-libs/vte-0.28:2.90
+ x11-libs/gtk+:3
+"
+DEPEND="${RDEPEND}
+ >=dev-lang/perl-5.10.1
+ virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}"/${P}-flags.patch )
+
+DOCS=( AUTHORS INSTALL )
+
+src_prepare() {
+ sed -i "/FILES INSTALL/d" CMakeLists.txt || die
+
+ strip-linguas -i po/
+ local lingua
+ for lingua in po/*.po; do
+ lingua="${lingua/po\/}"
+ lingua="${lingua/.po}"
+ if ! has ${lingua} ${LINGUAS}; then
+ rm po/${lingua}.po || die
+ fi
+ done
+
+ cmake-utils_src_prepare
+}