summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2022-05-15 00:54:23 +0200
committerLars Wendler <polynomial-c@gentoo.org>2022-05-15 00:56:10 +0200
commite21ded3b0e7a6c4d2f1c548c00442d2814a51aa1 (patch)
treee3ce4ad2b888bf101d5e5d2887dfc79e32c664f8 /app-misc/g15composer
parentapp-misc/g15composer: Added live ebuild (diff)
downloadgentoo-e21ded3b0e7a6c4d2f1c548c00442d2814a51aa1.tar.gz
gentoo-e21ded3b0e7a6c4d2f1c548c00442d2814a51aa1.tar.bz2
gentoo-e21ded3b0e7a6c4d2f1c548c00442d2814a51aa1.zip
app-misc/g15composer: Bump to version 3.4
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-misc/g15composer')
-rw-r--r--app-misc/g15composer/Manifest1
-rw-r--r--app-misc/g15composer/g15composer-3.4.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/app-misc/g15composer/Manifest b/app-misc/g15composer/Manifest
index 0a3880eb72d9..8dcaa4e12cd0 100644
--- a/app-misc/g15composer/Manifest
+++ b/app-misc/g15composer/Manifest
@@ -1 +1,2 @@
DIST g15composer-3.2.tar.bz2 105805 BLAKE2B 1a843ed50f0374cb23d469be9c083437f13279f5584e3112037635225e5d5df7765452e3e805c4230fd33782c300f5abdb1fc05e394f636d160c8e49baf3dde0 SHA512 95b033e2bb957ef4a2f3d3e2954a11454af7d8576e037f723d2a7d45a7dadde4908540ff0a66b387209e689217ba0e6677dcee1e647b792c402f250371518bc1
+DIST g15composer-3.4.tar.bz2 125798 BLAKE2B 6377e6122511ff580622ca340d82c09054e72dcdd782b55325ff803dbbf4f9f99f10ee6b9c40ecb411bb516546bfbf1dc9d5114d11c175c62d390b48e630f5a5 SHA512 43f1e57df642d599554a454ef6aeb5ebd74aa9f9e002031c7f1d83748a4e3fafae1b9675f1347a5a829f8d8d4433c8f83309c1842ac264f51807d8d38ee36c66
diff --git a/app-misc/g15composer/g15composer-3.4.ebuild b/app-misc/g15composer/g15composer-3.4.ebuild
new file mode 100644
index 000000000000..91ff7d33e957
--- /dev/null
+++ b/app-misc/g15composer/g15composer-3.4.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."
+}