diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-01-16 23:01:17 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-01-16 23:08:17 -0500 |
commit | a9c941b2da26d5ec3e790e84efbac19e28604f25 (patch) | |
tree | 7efa1d16461c652497b6516d770627e8cc88fe75 /x11-terms | |
parent | net-misc/wget: remove obsolete sed (diff) | |
download | gentoo-a9c941b2da26d5ec3e790e84efbac19e28604f25.tar.gz gentoo-a9c941b2da26d5ec3e790e84efbac19e28604f25.tar.bz2 gentoo-a9c941b2da26d5ec3e790e84efbac19e28604f25.zip |
x11-terms/sakura: add 3.8.4
No source changes given this .4 was only released to add the
already used opacity.patch fix, but it did get some white
spaces changes that needed a rebased gentoo.patch.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-terms')
-rw-r--r-- | x11-terms/sakura/Manifest | 1 | ||||
-rw-r--r-- | x11-terms/sakura/files/sakura-3.8.4-gentoo.patch | 18 | ||||
-rw-r--r-- | x11-terms/sakura/sakura-3.8.4.ebuild | 44 |
3 files changed, 63 insertions, 0 deletions
diff --git a/x11-terms/sakura/Manifest b/x11-terms/sakura/Manifest index d2151e1548bb..7e6ee2bc09f4 100644 --- a/x11-terms/sakura/Manifest +++ b/x11-terms/sakura/Manifest @@ -1 +1,2 @@ DIST sakura-3.8.3.tar.bz2 57773 BLAKE2B 20a7b2823d8e2a494c11b15eac4900b935a7a7c99d5cd67a8470e3441b2e8ff7924dd92c35d188863c9c420dcefbfca8d1dcd9dcff06a77d3cd95f855230c23b SHA512 82e77940b4b4c90948235459a0135e74c5778c3bc1df4e803571b316e6ec6298493468a0c8c2517ca6b1680fcdbba6d0e36c8bad696205e3aa3e5b4f402c2a8e +DIST sakura-3.8.4.tar.bz2 70492 BLAKE2B 4f53a86813de49d1f76c0a209a825b19601a22b4078744a0e4dfe21afd000e524a3705e8125b275b3615b35e5e7f38934270baa73d190e06dabf4284d4dab536 SHA512 9450f523555a40c66375304cb4134686dddd1b15233a70e488d1220fbdacd46b8e93cb679bbd1c235cc8d08f08551743b4780130d282d94d258247436a84ed61 diff --git a/x11-terms/sakura/files/sakura-3.8.4-gentoo.patch b/x11-terms/sakura/files/sakura-3.8.4-gentoo.patch new file mode 100644 index 000000000000..8289d3ed9ea0 --- /dev/null +++ b/x11-terms/sakura/files/sakura-3.8.4-gentoo.patch @@ -0,0 +1,18 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -39,9 +39,4 @@ + 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}) +@@ -58,5 +53,4 @@ + INSTALL (FILES ${sakura_BINARY_DIR}/sakura.1 DESTINATION share/man/man1) + ENDIF (POD2MAN) +-INSTALL (FILES README.md DESTINATION share/doc/sakura) + + FILE (GLOB MO_FILES po/*.mo) diff --git a/x11-terms/sakura/sakura-3.8.4.ebuild b/x11-terms/sakura/sakura-3.8.4.ebuild new file mode 100644 index 000000000000..e5eb80e686b0 --- /dev/null +++ b/x11-terms/sakura/sakura-3.8.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="GTK/VTE based terminal emulator" +HOMEPAGE="https://www.pleyades.net/david/projects/sakura" +SRC_URI="https://launchpad.net/sakura/trunk/${PV}/+download/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-linux" + +RDEPEND=" + dev-libs/glib:2 + x11-libs/gtk+:3[X] + x11-libs/pango + x11-libs/vte:2.91" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto + x11-libs/libX11" +BDEPEND=" + sys-devel/gettext + virtual/perl-podlators" + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch +) + +src_prepare() { + cmake_src_prepare + + if [[ -v LINGUAS ]]; then + local lingua + for lingua in po/*.po; do + lingua=${lingua#*/} + lingua=${lingua%.*} + has ${lingua} ${LINGUAS} || rm po/${lingua}.po || die + done + fi +} |