summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-terms/sakura')
-rw-r--r--x11-terms/sakura/Manifest3
-rw-r--r--x11-terms/sakura/files/sakura-3.1.3-flags.patch15
-rw-r--r--x11-terms/sakura/metadata.xml17
-rw-r--r--x11-terms/sakura/sakura-3.2.0.ebuild44
-rw-r--r--x11-terms/sakura/sakura-3.2.1.ebuild44
-rw-r--r--x11-terms/sakura/sakura-3.3.0.ebuild44
6 files changed, 167 insertions, 0 deletions
diff --git a/x11-terms/sakura/Manifest b/x11-terms/sakura/Manifest
new file mode 100644
index 00000000000..f5a3494bb22
--- /dev/null
+++ b/x11-terms/sakura/Manifest
@@ -0,0 +1,3 @@
+DIST sakura-3.2.0.tar.bz2 51651 SHA256 20d166b038b5692b7a34e4792daecba264cae084dca3cecb8c3f4f36cb60dbdd SHA512 7d58e7b3d76e724a6b9a3baf6f0d02c79a97004e130864e008e7c81f71be78dc4f60d211b2f216a688548e42dd272c7e8550a55b5744199c42d3ff4470579e8d WHIRLPOOL e706671e28322ef06a675061b49cc9ac1f5eaf99225cbd6aad3130f43de190912d47c8b3196ae41bde389c8870943ad88b040be94ddb98c83e4b993e0e122a6e
+DIST sakura-3.2.1.tar.bz2 51799 SHA256 a4cfe197d56e61eb6915278e5349f1e648dbaac8f7b6b837b8736dd13ba7ba4e SHA512 8851657db57278cf906e5b3622e484045611d86cf49c81b3888f0e50bddfd2be0c7de8fcfeb500d57bc14444991b5be68f71d2405a894ae81e2d8fda8650c77d WHIRLPOOL 96fbfa53ae48fee1633b5c63707ffdc37a3fe49fedaa6c20059e1630678dbc82f99a13383e7e58b508cbe315a0ceab97a4290ccde36ee927c67eb8417d6fb043
+DIST sakura-3.3.0.tar.bz2 51576 SHA256 418d191fd2957f72d8381aec501505b94fb396c8c35c4c6f02236aca3fb5f267 SHA512 2db70b69547f7d02329631166cc66e25c1e1205fbd0080d0a6295b1ebb89f77b4806dd570601df599588f24f69d2b917c03e803fffed24927abd8d77562acd98 WHIRLPOOL 95917d6ce0bb8c0b9ed3b28873f002623cba65e4d23ab4390da5cfc0b9d61924074ae333d70ea2513f3f7e23b9291d54137d3f8c13d0a11e3ee5227fea0a73a3
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 00000000000..28b72dd694a
--- /dev/null
+++ b/x11-terms/sakura/files/sakura-3.1.3-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")
+-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/metadata.xml b/x11-terms/sakura/metadata.xml
new file mode 100644
index 00000000000..dd8e5f462ca
--- /dev/null
+++ b/x11-terms/sakura/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>desktop-misc</herd>
+ <longdescription>
+ sakura is a terminal emulator based on GTK and VTE. It's a terminal emulator
+ with few dependencies, so you don't need a full GNOME desktop installed to
+ have a decent terminal emulator. Current terminal emulators based on VTE are
+ gnome-terminal, XFCE Terminal, TermIt and a small sample program included
+ in the vte sources. Sakura differences from the last one is that it uses a
+ notebook to provide several terminals in one window and adds a contextual
+ menu with some basic options. No more no less.
+ </longdescription>
+ <upstream>
+ <remote-id type="launchpad">sakura</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-terms/sakura/sakura-3.2.0.ebuild b/x11-terms/sakura/sakura-3.2.0.ebuild
new file mode 100644
index 00000000000..4b26f96f6cd
--- /dev/null
+++ b/x11-terms/sakura/sakura-3.2.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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.3-flags.patch )
+
+DOCS=( AUTHORS )
+
+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
+}
diff --git a/x11-terms/sakura/sakura-3.2.1.ebuild b/x11-terms/sakura/sakura-3.2.1.ebuild
new file mode 100644
index 00000000000..87ab70f80ee
--- /dev/null
+++ b/x11-terms/sakura/sakura-3.2.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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.3-flags.patch )
+
+DOCS=( AUTHORS )
+
+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
+}
diff --git a/x11-terms/sakura/sakura-3.3.0.ebuild b/x11-terms/sakura/sakura-3.3.0.ebuild
new file mode 100644
index 00000000000..712257b145f
--- /dev/null
+++ b/x11-terms/sakura/sakura-3.3.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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:2.91
+ x11-libs/gtk+:3
+"
+DEPEND="${RDEPEND}
+ >=dev-lang/perl-5.10.1
+ virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-3.1.3-flags.patch )
+
+DOCS=( AUTHORS )
+
+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
+}