mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
x11-terms/sakura: Drop 3.7.0, cmake-utils--
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST sakura-3.7.0.tar.gz 64728 BLAKE2B 637d8c9a393fe2823943190ec3c1676d3dd900b574f58fc3f6d61709ac3b70081736f0804c0e7d8ec5a1409cc2651aa1c3bee04a04c5d3df4ac1432fa2a5c41b SHA512 1018ea952d491f68a05ee3b3d8ac70cbfb485687f76224f9a395ff6508e0e75ff58bfd12dcb534c86430da54803a3016619f441d8bd14e496df32f81e00ca72e
|
||||
DIST sakura-3.7.1.tar.bz2 56315 BLAKE2B 3de45b19f76f765bc611cc7514238c942ea2212d64332aab9befbea4b5fe0cdb29a555017276bd6394c1313ba64ce2bfca6e83c6ff19d6aa676409b51589a838 SHA512 69d3b14f455480e4515337b4a28daafc807f41653ed8d6b6f934a908305fcc28745796b0f290b3ec6e97f6572132664017f943e556cca69df7007e17fcd9b9df
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit cmake-utils eutils flag-o-matic xdg-utils
|
||||
|
||||
DESCRIPTION="sakura is a terminal emulator based on GTK and VTE"
|
||||
HOMEPAGE="https://www.pleyades.net/david/projects/sakura"
|
||||
SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.20:2
|
||||
>=x11-libs/gtk+-3.20:3[X]
|
||||
x11-libs/libX11
|
||||
>=x11-libs/vte-0.50:2.91
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
>=dev-lang/perl-5.10.1
|
||||
virtual/pkgconfig
|
||||
"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.7.0-gentoo.patch
|
||||
)
|
||||
DOCS=(
|
||||
AUTHORS
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
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
|
||||
# sakura.c:1740:3: warning: implicit declaration of function ‘readlink’
|
||||
# [-Wimplicit-function-declaration]
|
||||
append-cppflags -D_DEFAULT_SOURCE
|
||||
|
||||
# sakura.c:1348:9: error: ‘for’ loop initial declarations are only allowed
|
||||
# in C99 or C11 mode
|
||||
append-cflags -std=c99
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
Reference in New Issue
Block a user