diff options
author | Jeroen Roovers <jer@gentoo.org> | 2013-07-09 12:02:22 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2013-07-09 12:02:22 +0000 |
commit | 2052458483537541df5e0e9e53e946327f3db44a (patch) | |
tree | dae79b6120b5d7f8f946056bc8ff53891e184f7c /x11-terms/sakura | |
parent | version bump (diff) | |
download | gentoo-2-2052458483537541df5e0e9e53e946327f3db44a.tar.gz gentoo-2-2052458483537541df5e0e9e53e946327f3db44a.tar.bz2 gentoo-2-2052458483537541df5e0e9e53e946327f3db44a.zip |
base_src_prepare => cmake-utils_src_prepare. Version bump. Use strip-linguas instead of hard-coded LANGS.
(Portage version: 2.2.0_alpha187/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'x11-terms/sakura')
-rw-r--r-- | x11-terms/sakura/ChangeLog | 9 | ||||
-rw-r--r-- | x11-terms/sakura/files/sakura-3.1.0-flags.patch | 15 | ||||
-rw-r--r-- | x11-terms/sakura/sakura-3.0.4.ebuild | 4 | ||||
-rw-r--r-- | x11-terms/sakura/sakura-3.1.0.ebuild | 44 |
4 files changed, 69 insertions, 3 deletions
diff --git a/x11-terms/sakura/ChangeLog b/x11-terms/sakura/ChangeLog index fda217cf50a4..f125b81c008a 100644 --- a/x11-terms/sakura/ChangeLog +++ b/x11-terms/sakura/ChangeLog @@ -1,6 +1,13 @@ # 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.36 2013/02/25 09:56:41 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-terms/sakura/ChangeLog,v 1.37 2013/07/09 12:02:22 jer Exp $ + +*sakura-3.1.0 (09 Jul 2013) + + 09 Jul 2013; Jeroen Roovers <jer@gentoo.org> sakura-3.0.4.ebuild, + +sakura-3.1.0.ebuild, +files/sakura-3.1.0-flags.patch: + base_src_prepare => cmake-utils_src_prepare. Version bump. Use strip-linguas + instead of hard-coded LANGS. 25 Feb 2013; Zac Medico <zmedico@gentoo.org> sakura-3.0.4.ebuild: Add ~arm-linux and ~x86-linux keywords. diff --git a/x11-terms/sakura/files/sakura-3.1.0-flags.patch b/x11-terms/sakura/files/sakura-3.1.0-flags.patch new file mode 100644 index 000000000000..718a66e0feda --- /dev/null +++ b/x11-terms/sakura/files/sakura-3.1.0-flags.patch @@ -0,0 +1,15 @@ +--- a/CMakeLists.txt ++++ b/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 -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.4.ebuild b/x11-terms/sakura/sakura-3.0.4.ebuild index 5e06b903b9c1..036d09bcbf39 100644 --- a/x11-terms/sakura/sakura-3.0.4.ebuild +++ b/x11-terms/sakura/sakura-3.0.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-terms/sakura/sakura-3.0.4.ebuild,v 1.4 2013/02/25 09:56:41 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-terms/sakura/sakura-3.0.4.ebuild,v 1.5 2013/07/09 12:02:22 jer Exp $ EAPI=4 inherit cmake-utils @@ -38,5 +38,5 @@ src_prepare() { fi done - base_src_prepare + cmake-utils_src_prepare } diff --git a/x11-terms/sakura/sakura-3.1.0.ebuild b/x11-terms/sakura/sakura-3.1.0.ebuild new file mode 100644 index 000000000000..b549a3d668a8 --- /dev/null +++ b/x11-terms/sakura/sakura-3.1.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-terms/sakura/sakura-3.1.0.ebuild,v 1.1 2013/07/09 12:02:22 jer 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}"/${PN}-3.1.0-flags.patch ) + +DOCS=( AUTHORS INSTALL ) + +src_prepare() { + sed -i -e "/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 +} |