From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3B89C158090 for ; Sat, 14 May 2022 22:56:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 524D3E0895; Sat, 14 May 2022 22:56:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2C8BAE0895 for ; Sat, 14 May 2022 22:56:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ABD0C341B5E for ; Sat, 14 May 2022 22:56:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA28B464 for ; Sat, 14 May 2022 22:56:16 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1652568968.5b6cd28e128a57460f3f4be252dafdfeb7d0df48.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libg15render/, dev-libs/libg15render/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libg15render/files/libg15render-3.0.4-docdir.patch dev-libs/libg15render/libg15render-9999.ebuild X-VCS-Directories: dev-libs/libg15render/files/ dev-libs/libg15render/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 5b6cd28e128a57460f3f4be252dafdfeb7d0df48 X-VCS-Branch: master Date: Sat, 14 May 2022 22:56:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 41d8ec36-e1d8-4570-ad8f-c1890074368c X-Archives-Hash: 99da6fa5fcc13ecc7baf91ee9ad35aee commit: 5b6cd28e128a57460f3f4be252dafdfeb7d0df48 Author: Lars Wendler gentoo org> AuthorDate: Sat May 14 16:24:46 2022 +0000 Commit: Lars Wendler gentoo org> CommitDate: Sat May 14 22:56:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b6cd28e dev-libs/libg15render: Added live ebuild - new upstream - Fixed docdir installation Signed-off-by: Lars Wendler gentoo.org> .../files/libg15render-3.0.4-docdir.patch | 25 +++++++++++ dev-libs/libg15render/libg15render-9999.ebuild | 51 ++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/dev-libs/libg15render/files/libg15render-3.0.4-docdir.patch b/dev-libs/libg15render/files/libg15render-3.0.4-docdir.patch new file mode 100644 index 000000000000..781c9b6bfcaf --- /dev/null +++ b/dev-libs/libg15render/files/libg15render-3.0.4-docdir.patch @@ -0,0 +1,25 @@ +From 2900f3f8a90915f59a25c8b3fb27912492e7b044 Mon Sep 17 00:00:00 2001 +From: Lars Wendler +Date: Sat, 14 May 2022 18:20:24 +0200 +Subject: [PATCH] Makefile.am: Make docdir selectable + +--- + Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index 2fdacd7..cf00f1c 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -7,7 +7,7 @@ libg15render_la_LDFLAGS = -version-info 3:0 + include_HEADERS= libg15render.h + EXTRA_DIST = debian libg15render.3 + man3_MANS = $(top_srcdir)/libg15render.3 +-docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION) ++docdir = @docdir@ + doc_DATA = AUTHORS ChangeLog COPYING NEWS README + ACLOCAL_AMFLAGS = -I m4 + +-- +2.36.1 + diff --git a/dev-libs/libg15render/libg15render-9999.ebuild b/dev-libs/libg15render/libg15render-9999.ebuild new file mode 100644 index 000000000000..35bbac68dd31 --- /dev/null +++ b/dev-libs/libg15render/libg15render-9999.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Small library for display text and graphics on a Logitech G15 keyboard" +HOMEPAGE="https://sourceforge.net/projects/g15tools/" +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/menelkir/libg15render.git" +else + SRC_URI="https://gitlab.com/menelkir/${PN}/-/archive/${PV}/${P}.tar.bz2" + KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="truetype" + +RDEPEND=" + >=dev-libs/libg15-3.0 + truetype? ( media-libs/freetype )" +DEPEND="${RDEPEND}" +BDEPEND=" + truetype? ( virtual/pkgconfig )" + +PATCHES=( + "${FILESDIR}/${PN}-3.0.4-docdir.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-static + $(use_enable truetype ttf) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + # no static archives + find "${ED}" -type f -name '*.la' -delete || die +}