summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-02-28 02:42:04 +0000
committerTim Harder <radhermit@gentoo.org>2012-02-28 02:42:04 +0000
commit57b530eb9d579ad56015ebc3c27f22269f409714 (patch)
tree80faa4cea2c21d64e6fda1036631bc57ff9c9349 /x11-terms
parentMerge debian patch. Support passing options to daemon, and improve init.d for... (diff)
downloadgentoo-2-57b530eb9d579ad56015ebc3c27f22269f409714.tar.gz
gentoo-2-57b530eb9d579ad56015ebc3c27f22269f409714.tar.bz2
gentoo-2-57b530eb9d579ad56015ebc3c27f22269f409714.zip
Version bump.
(Portage version: 2.2.0_alpha87/cvs/Linux x86_64)
Diffstat (limited to 'x11-terms')
-rw-r--r--x11-terms/sakura/ChangeLog10
-rw-r--r--x11-terms/sakura/files/sakura-3.0.0-cflags.patch15
-rw-r--r--x11-terms/sakura/sakura-3.0.0.ebuild42
3 files changed, 65 insertions, 2 deletions
diff --git a/x11-terms/sakura/ChangeLog b/x11-terms/sakura/ChangeLog
index 07c59e6f07bc..4a7ad12de54e 100644
--- a/x11-terms/sakura/ChangeLog
+++ b/x11-terms/sakura/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-terms/sakura
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/sakura/ChangeLog,v 1.25 2011/10/31 03:53:44 radhermit Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/sakura/ChangeLog,v 1.26 2012/02/28 02:42:04 radhermit Exp $
+
+*sakura-3.0.0 (28 Feb 2012)
+
+ 28 Feb 2012; Tim Harder <radhermit@gentoo.org> +sakura-3.0.0.ebuild,
+ +files/sakura-3.0.0-cflags.patch:
+ Version bump.
31 Oct 2011; Tim Harder <radhermit@gentoo.org> -sakura-2.3.8.ebuild,
-sakura-2.4.0.ebuild, -sakura-2.4.1.ebuild:
diff --git a/x11-terms/sakura/files/sakura-3.0.0-cflags.patch b/x11-terms/sakura/files/sakura-3.0.0-cflags.patch
new file mode 100644
index 000000000000..bc272b4f6ebb
--- /dev/null
+++ b/x11-terms/sakura/files/sakura-3.0.0-cflags.patch
@@ -0,0 +1,15 @@
+--- sakura-3.0.0/CMakeLists.txt
++++ sakura-3.0.0/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 "-Wall ")
+-ELSE (${CMAKE_BUILD_TYPE} NOT MATCHES "Debug")
+- SET (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})
diff --git a/x11-terms/sakura/sakura-3.0.0.ebuild b/x11-terms/sakura/sakura-3.0.0.ebuild
new file mode 100644
index 000000000000..0e80f0b8df1d
--- /dev/null
+++ b/x11-terms/sakura/sakura-3.0.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/sakura/sakura-3.0.0.ebuild,v 1.1 2012/02/28 02:42:04 radhermit Exp $
+
+EAPI=4
+inherit cmake-utils
+
+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"
+LANGS=" ca cs de es fr hr hu it ja ko pl pt_BR ru zh_CN"
+IUSE="${LANGS// / linguas_}"
+
+RDEPEND="
+ >=dev-libs/glib-2.20:2
+ x11-libs/gtk+:3
+ >=x11-libs/vte-0.28:2.90
+"
+DEPEND="${RDEPEND}
+ >=dev-lang/perl-5.10.1
+ dev-util/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}"/${P}-cflags.patch )
+
+DOCS=( AUTHORS INSTALL )
+
+src_prepare() {
+ sed -i -e "/FILES INSTALL/d" CMakeLists.txt || die
+
+ for lang in ${LANGS}; do
+ if ! use linguas_${lang}; then
+ rm -f po/${lang}.po || die
+ fi
+ done
+
+ base_src_prepare
+}