commit:     a0de6a17b5e9682480118575303d259144b47005
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Mon Feb 20 17:42:33 2023 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Mon Feb 20 17:42:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a0de6a17

gui-apps/intiface-central-bin: new package, add 2.3.0

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>

 gui-apps/intiface-central-bin/Manifest             |  1 +
 .../intiface-central-bin-2.3.0.ebuild              | 45 ++++++++++++++++++++++
 gui-apps/intiface-central-bin/metadata.xml         | 11 ++++++
 3 files changed, 57 insertions(+)

diff --git a/gui-apps/intiface-central-bin/Manifest 
b/gui-apps/intiface-central-bin/Manifest
new file mode 100644
index 000000000..18a0719ba
--- /dev/null
+++ b/gui-apps/intiface-central-bin/Manifest
@@ -0,0 +1 @@
+DIST intiface-central-v2.3.0-linux-x64.zip 17157804 BLAKE2B 
57176f65e6124a0d46dfe422c42a0b2d7077dc4cef7f59e099c5488c163005c0bbfde435c411e0763800cf43a17f08dbb8da4fbb3c7feec3e6114fe5fa6cc451
 SHA512 
3d6d351e7dccaf851d9fb955fcdfbb1ea5c9a609aeb2a527d08ada591a3772cd95b0c90fe730476c664e19587eb0f2f9aa2c63eb24fc4849c4e0b775d6207049

diff --git a/gui-apps/intiface-central-bin/intiface-central-bin-2.3.0.ebuild 
b/gui-apps/intiface-central-bin/intiface-central-bin-2.3.0.ebuild
new file mode 100644
index 000000000..164cbf218
--- /dev/null
+++ b/gui-apps/intiface-central-bin/intiface-central-bin-2.3.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop
+
+DESCRIPTION="Buttplug frontend application"
+HOMEPAGE="https://github.com/intiface/intiface-central";
+SRC_URI="https://github.com/intiface/intiface-central/releases/download/v${PV}/intiface-central-v${PV}-linux-x64.zip";
+S="${WORKDIR}/intiface-central-v${PV}-linux-x64"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       app-accessibility/at-spi2-core
+       media-gfx/graphite2
+       sys-apps/dbus
+       sys-apps/systemd-utils
+       x11-libs/gtk+:3[X]
+"
+BDEPEND="app-arch/unzip"
+
+QA_PREBUILT="/opt/${PN}/lib/*.so"
+
+src_install() {
+       insinto /opt/${PN}
+       doins -r .
+       fperms +x /opt/${PN}/intiface_central
+
+       cat << EOF > intiface_central
+#!/bin/sh
+cd /opt/${PN}
+./intiface_central "\${@}"
+EOF
+       dobin intiface_central
+
+       newicon --size 512 \
+               
/opt/${PN}/data/flutter_assets/assets/icons/intiface_central_icon.png \
+               ${PN}.png
+
+       make_desktop_entry intiface_central "Intiface Central" ${PN} "Utility"
+}

diff --git a/gui-apps/intiface-central-bin/metadata.xml 
b/gui-apps/intiface-central-bin/metadata.xml
new file mode 100644
index 000000000..6adcd18dd
--- /dev/null
+++ b/gui-apps/intiface-central-bin/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Ronny (tastytea) Gutbrod</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">intiface/intiface-central</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to