summaryrefslogtreecommitdiff
path: root/x11-terms/sakura/sakura-3.7.0.ebuild
diff options
context:
space:
mode:
authorSimeon Simeonov2020-07-03 19:36:47 +0200
committerSimeon Simeonov2020-07-03 19:36:47 +0200
commite3b835989ec5f1aa370e8e791aa0d4be6bd2eb45 (patch)
treedcb92058814908cb6a290d66178ed5d6aadeb173 /x11-terms/sakura/sakura-3.7.0.ebuild
parentec00f787cd84d1a6c8063177d6e7207bef437eff (diff)
Removing x11-terms/sakura as single tab patch went upstream
Diffstat (limited to 'x11-terms/sakura/sakura-3.7.0.ebuild')
-rw-r--r--x11-terms/sakura/sakura-3.7.0.ebuild63
1 files changed, 0 insertions, 63 deletions
diff --git a/x11-terms/sakura/sakura-3.7.0.ebuild b/x11-terms/sakura/sakura-3.7.0.ebuild
deleted file mode 100644
index e53be0d..0000000
--- a/x11-terms/sakura/sakura-3.7.0.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
1# Copyright 1999-2019 Gentoo Authors
2# Distributed under the terms of the GNU General Public License v2
3
4EAPI=7
5inherit cmake-utils eutils flag-o-matic xdg-utils
6
7DESCRIPTION="sakura is a terminal emulator based on GTK and VTE"
8HOMEPAGE="http://www.pleyades.net/david/projects/sakura/"
9SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
10
11LICENSE="GPL-2"
12SLOT="0"
13KEYWORDS="amd64 ~x86 ~x86-linux"
14
15RDEPEND="
16 >=dev-libs/glib-2.20:2
17 >=x11-libs/gtk+-3.20:3[X]
18 x11-libs/libX11
19 >=x11-libs/vte-0.50:2.91
20"
21DEPEND="
22 ${RDEPEND}
23 >=dev-lang/perl-5.10.1
24 virtual/pkgconfig
25"
26PATCHES=(
27 "${FILESDIR}"/${PN}-3.7.0-gentoo.patch
28 "${FILESDIR}"/${PN}-3.7.0-single-tab.patch
29)
30DOCS=(
31 AUTHORS
32)
33
34src_prepare() {
35 strip-linguas -i po/
36 local lingua
37 for lingua in po/*.po; do
38 lingua="${lingua/po\/}"
39 lingua="${lingua/.po}"
40 if ! has ${lingua} ${LINGUAS}; then
41 rm po/${lingua}.po || die
42 fi
43 done
44
45 cmake-utils_src_prepare
46 # sakura.c:1740:3: warning: implicit declaration of function ‘readlink’
47 # [-Wimplicit-function-declaration]
48 append-cppflags -D_DEFAULT_SOURCE
49
50 # sakura.c:1348:9: error: ‘for’ loop initial declarations are only allowed
51 # in C99 or C11 mode
52 append-cflags -std=c99
53}
54
55pkg_postinst() {
56 xdg_desktop_database_update
57 xdg_icon_cache_update
58}
59
60pkg_postrm() {
61 xdg_desktop_database_update
62 xdg_icon_cache_update
63}