diff options
author | Jeroen Roovers <jer@gentoo.org> | 2015-11-29 08:28:14 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2015-11-29 08:28:14 +0100 |
commit | c1e909ff210eb9c424cdbe4fae8b71a1d8071f31 (patch) | |
tree | e99a1a136b6ef3e57241c814ed316151ab528cd9 /x11-terms/sakura/sakura-3.3.2.ebuild | |
parent | dev-python/unidecode: Old. (diff) | |
download | gentoo-c1e909ff210eb9c424cdbe4fae8b71a1d8071f31.tar.gz gentoo-c1e909ff210eb9c424cdbe4fae8b71a1d8071f31.tar.bz2 gentoo-c1e909ff210eb9c424cdbe4fae8b71a1d8071f31.zip |
x11-terms/sakura: Version bump.
Package-Manager: portage-2.2.26
Diffstat (limited to 'x11-terms/sakura/sakura-3.3.2.ebuild')
-rw-r--r-- | x11-terms/sakura/sakura-3.3.2.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/x11-terms/sakura/sakura-3.3.2.ebuild b/x11-terms/sakura/sakura-3.3.2.ebuild new file mode 100644 index 000000000000..d25cba22a1fc --- /dev/null +++ b/x11-terms/sakura/sakura-3.3.2.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="https://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 +} |