From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-misc/g15composer/g15composer-3.1.ebuild | 38 +++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 app-misc/g15composer/g15composer-3.1.ebuild (limited to 'app-misc/g15composer/g15composer-3.1.ebuild') diff --git a/app-misc/g15composer/g15composer-3.1.ebuild b/app-misc/g15composer/g15composer-3.1.ebuild new file mode 100644 index 000000000000..28ae4aaf5304 --- /dev/null +++ b/app-misc/g15composer/g15composer-3.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A library to render text and shapes into a buffer usable by the Logitech G15" +HOMEPAGE="https://sourceforge.net/projects/g15tools/" +SRC_URI="mirror://sourceforge/g15tools/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 x86" +IUSE="truetype examples" + +DEPEND="app-misc/g15daemon + >=dev-libs/libg15render-1.2[truetype?] + truetype? ( media-libs/freetype )" + +src_configure() { + econf \ + $(use_enable truetype ttf) +} + +src_install() { + default + + newinitd "${FILESDIR}/${P}.initd" ${PN} + newconfd "${FILESDIR}/${P}.confd" ${PN} + + if use examples ; then + exeinto "/usr/share/${PN}" + doexe examples/* + fi +} + +pkg_postinst() { + elog "Set the user to run g15composer in /etc/conf.d/g15composer before starting the service." +} -- cgit v1.2.3