mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
x11-terms/sakura: Version bump.
Package-Manager: Portage-2.3.8, Repoman-2.3.3
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST sakura-3.3.4.tar.bz2 52839 SHA256 27277214964851fa23ecc290f0eae391af3d11279ec42769d84a7be1feccd3ba SHA512 a84849e2fa7b45da513ff05a1e1636eb8d331b7c632f18605d6aa01463e44d877c057f2f628bfdc27e9f6ff29b0441ba248885d92341ed3a9b5eb281d02e34d7 WHIRLPOOL 22e10b9098db39151b32b6cfaec4cbffb1991e65212a3d1acc768e250aca3fb3f5ff17c86b09df66706e7a38cec868f5c66a9048cd71e754f03bae5efeffe110
|
||||
DIST sakura-3.4.0.tar.bz2 54907 SHA256 04487511049d596856d700d524c3354610c7caae8bb87ba3c16851356d3f40ee SHA512 5d8f62638bd826a294b240960f2bd696583f8cad4799ab5862796b6210320f94ee11e64847c36ca6765f9281fb8fabb7a699db6fcf1de41c5e7f82bb281e9512 WHIRLPOOL 4ebcd55b0deac473df39125397ce99ae3cfa68ba991e28eb447fbee0a8758a000400a748d142addf18ea60b3677ff4118dbd5a10ffa6adcefcabf16c141c86c3
|
||||
DIST sakura-3.5.0.tar.bz2 55432 SHA256 eb30ede41083fda2b07c6a3b7393150f48867e81d28ef70b15824740cab00c3a SHA512 20c691342c68a2a6f7397da754c83b19c7622e25984ae9fe9fef47492e19cd7589dd9d1bd2ccb82bd9c6ab82f92c97c1b742795434a101a0e169c6f901f40d9e WHIRLPOOL 7c0bff58bbe2725f64e38bcde594f1637d9e60c6a207d3ae44c005f34dea2417f6ace724f014ecd4f996f878166fadd4e4c336c980286b6e0a951134923ebd9d
|
||||
|
||||
66
x11-terms/sakura/sakura-3.5.0.ebuild
Normal file
66
x11-terms/sakura/sakura-3.5.0.ebuild
Normal file
@@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit cmake-utils eutils flag-o-matic gnome2-utils xdg-utils
|
||||
|
||||
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/gtk+:3[X]
|
||||
x11-libs/libX11
|
||||
x11-libs/vte:2.91
|
||||
"
|
||||
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
|
||||
# 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() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
Reference in New Issue
Block a user