logo

overlay

My own overlay for experimentations, use with caution, no support is provided
commit: b1c3fc0dd62ff24f0543ae3a399293193c737a61
parent: 90861b2f2fe8a0fb4a16a4b92ba8c3f526164b56
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun,  9 Feb 2020 15:31:34 +0100

sys-libs/libtickit: New package

Diffstat:

Asys-libs/libtickit/Manifest1+
Asys-libs/libtickit/files/libtickit-0.3.3-man_compression.patch21+++++++++++++++++++++
Asys-libs/libtickit/libtickit-0.3.3.ebuild30++++++++++++++++++++++++++++++
Asys-libs/libtickit/metadata.xml11+++++++++++
4 files changed, 63 insertions(+), 0 deletions(-)

diff --git a/sys-libs/libtickit/Manifest b/sys-libs/libtickit/Manifest @@ -0,0 +1 @@ +DIST libtickit-0.3.3.tar.gz 147071 BLAKE2B 92df6b17b03aef8cf21aab65bfde6c8c2a2670f472d561180d8d12f71ca8db6602ddbe38eb0b014c50beaed95f44b31b2cebd914c72ceaca3618ddbb9aa6447b SHA512 8b89bcb63b7bea8f52a684e050d7ef48f6ff45216501adb007320e60a271efa5f3bb9b8e424058686ae9b991dcb9a6668c5493ded2b66838343cd7264ac831c2 diff --git a/sys-libs/libtickit/files/libtickit-0.3.3-man_compression.patch b/sys-libs/libtickit/files/libtickit-0.3.3-man_compression.patch @@ -0,0 +1,21 @@ +diff --git a/Makefile b/Makefile +--- a/Makefile ++++ b/Makefile +@@ -133,14 +133,14 @@ install-man: + install -d $(DESTDIR)$(MAN3DIR) + install -d $(DESTDIR)$(MAN7DIR) + for F in man/*.3; do \ +- gzip <$$F >$(DESTDIR)$(MAN3DIR)/$${F#man/}.gz; \ ++ cp $$F $(DESTDIR)$(MAN3DIR)/$${F#man/}; \ + done + for F in man/*.7; do \ +- gzip <$$F >$(DESTDIR)$(MAN7DIR)/$${F#man/}.gz; \ ++ cp $$F $(DESTDIR)$(MAN7DIR)/$${F#man/}; \ + done + while read FROM EQ TO; do \ + if [ -n "$$FROM" ]; then \ +- ln -sf $$TO.gz $(DESTDIR)$(MAN3DIR)/$$FROM.gz; \ ++ ln -sf $$TO $(DESTDIR)$(MAN3DIR)/$$FROM; \ + fi; \ + done < man/also + diff --git a/sys-libs/libtickit/libtickit-0.3.3.ebuild b/sys-libs/libtickit/libtickit-0.3.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 2020 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="library for building interactive full-screen terminal programs" +HOMEPAGE="http://www.leonerd.org.uk/code/libtickit/" +SRC_URI="http://www.leonerd.org.uk/code/${PN}/${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+unibilium" + +DEPEND=" + dev-libs/libtermkey:= + unibilium? ( >=dev-libs/unibilium-1.1.0:= ) + !unibilium? ( sys-libs/ncurses:= ) +" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}-man_compression.patch" ) + +src_compile() { + emake PREFIX=/usr +} + +src_install() { + emake PREFIX=/usr DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install + find "${ED}" -name '*.la' -delete || die +} diff --git a/sys-libs/libtickit/metadata.xml b/sys-libs/libtickit/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>contact@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> + </maintainer> + <use> + <flag name="unibilium">Use <pkg>dev-libs/unibilium</pkg> (highly recommended) instead of <pkg>sys-libs/ncurses</pkg></flag> + </use> +</pkgmetadata>