summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-03-19 06:30:18 +0000
committerTim Harder <radhermit@gentoo.org>2012-03-19 06:30:18 +0000
commitf04496e85ca012a59209b552ce68c91e9bf7c20b (patch)
treef125a97e38c09f9479f3efb2b6325bfc2610d3c4 /x11-terms/sakura
parentNew snapshot wrt #407307 by Cyprien Nicolas (diff)
downloadgentoo-2-f04496e85ca012a59209b552ce68c91e9bf7c20b.tar.gz
gentoo-2-f04496e85ca012a59209b552ce68c91e9bf7c20b.tar.bz2
gentoo-2-f04496e85ca012a59209b552ce68c91e9bf7c20b.zip
Version bump.
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
Diffstat (limited to 'x11-terms/sakura')
-rw-r--r--x11-terms/sakura/ChangeLog8
-rw-r--r--x11-terms/sakura/files/sakura-3.0.3-cflags.patch15
-rw-r--r--x11-terms/sakura/sakura-3.0.3.ebuild42
3 files changed, 64 insertions, 1 deletions
diff --git a/x11-terms/sakura/ChangeLog b/x11-terms/sakura/ChangeLog
index fbedaf86d207..7a657296e603 100644
--- a/x11-terms/sakura/ChangeLog
+++ b/x11-terms/sakura/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-terms/sakura
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/sakura/ChangeLog,v 1.27 2012/03/08 20:33:35 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/sakura/ChangeLog,v 1.28 2012/03/19 06:30:18 radhermit Exp $
+
+*sakura-3.0.3 (19 Mar 2012)
+
+ 19 Mar 2012; Tim Harder <radhermit@gentoo.org> +sakura-3.0.3.ebuild,
+ +files/sakura-3.0.3-cflags.patch:
+ Version bump.
*sakura-3.0.2 (08 Mar 2012)
diff --git a/x11-terms/sakura/files/sakura-3.0.3-cflags.patch b/x11-terms/sakura/files/sakura-3.0.3-cflags.patch
new file mode 100644
index 000000000000..39addf3985c4
--- /dev/null
+++ b/x11-terms/sakura/files/sakura-3.0.3-cflags.patch
@@ -0,0 +1,15 @@
+--- sakura-3.0.3/CMakeLists.txt
++++ sakura-3.0.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 "-Wall ")
+-ELSE (${CMAKE_BUILD_TYPE} NOT MATCHES "Debug")
+- SET (CMAKE_C_FLAGS "-O2 -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED")
+-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.0.3.ebuild b/x11-terms/sakura/sakura-3.0.3.ebuild
new file mode 100644
index 000000000000..a46c71613fb2
--- /dev/null
+++ b/x11-terms/sakura/sakura-3.0.3.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.3.ebuild,v 1.1 2012/03/19 06:30:18 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
+}