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 F3EE0158090 for ; Sat, 14 May 2022 22:56:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B04552BC007; Sat, 14 May 2022 22:56:22 +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 965942BC007 for ; Sat, 14 May 2022 22:56:22 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 93C20341B86 for ; Sat, 14 May 2022 22:56:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CC8B9483 for ; Sat, 14 May 2022 22:56:17 +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: <1652568970.e0acb12e881c720217546d7688bb763cb73e917d.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/g15composer/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/g15composer/g15composer-9999.ebuild X-VCS-Directories: app-misc/g15composer/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: e0acb12e881c720217546d7688bb763cb73e917d X-VCS-Branch: master Date: Sat, 14 May 2022 22:56:17 +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: c9e63440-9eca-434c-a3c8-421c473b2b84 X-Archives-Hash: 357ad4fe11499bb75d2fa22d35268dad commit: e0acb12e881c720217546d7688bb763cb73e917d Author: Lars Wendler gentoo org> AuthorDate: Sat May 14 20:54:44 2022 +0000 Commit: Lars Wendler gentoo org> CommitDate: Sat May 14 22:56:10 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0acb12e app-misc/g15composer: Added live ebuild - new upstream Signed-off-by: Lars Wendler gentoo.org> app-misc/g15composer/g15composer-9999.ebuild | 49 ++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/app-misc/g15composer/g15composer-9999.ebuild b/app-misc/g15composer/g15composer-9999.ebuild new file mode 100644 index 000000000000..91ff7d33e957 --- /dev/null +++ b/app-misc/g15composer/g15composer-9999.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="A library to render text and shapes into a buffer usable by the Logitech G15" +HOMEPAGE="https://gitlab.com/menelkir/g15composer" +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/menelkir/g15composer.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" + +DEPEND=" + >=app-misc/g15daemon-3.0 + >=dev-libs/libg15render-3.0[truetype?] + truetype? ( media-libs/freetype ) +" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + econf $(use_enable truetype ttf) +} + +src_install() { + local DOCS=( AUTHORS README ChangeLog ) + default + + newinitd "${FILESDIR}/${PN}-3.2.initd" ${PN} + newconfd "${FILESDIR}/${PN}-3.2.confd" ${PN} +} + +pkg_postinst() { + elog "Set the user to run g15composer in /etc/conf.d/g15composer before starting the service." +}