Added soundux-9999.

This commit is contained in:
kimitsune 2021-03-06 22:33:48 +01:00
parent b670f9898f
commit 88a1582ffd
3 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1,2 @@
AUX soundux.desktop 229 BLAKE2B fc87e8694e8d169a0d78fec3a86bdf05c97f6c0399ef44f601d16de8ebfc2e27a3ac9387c4c6663b5dbf551803e38db389e5caf27d01a91bd7950d3ab510e98b SHA512 e1e197db05ada07b1c305ad9fd4f4401059331bddc7bf4fd1c239e993e971d59dee06b93281cecca96075603bfc59730a315547e4c11b1ea9621d7e5f7129884
EBUILD soundux-9999.ebuild 1258 BLAKE2B 0a3d2b132e0f2f3b307479d1086c3c9996d4fb662fdcfe45b3bba5eee6e711785ae180a681cf714923bcffd3c0b33cdeda1e18cc9a460bbeceb6ff45ba786693 SHA512 1aef89248762e3c4dd2bd23040723a51efd91d687933e42a40d94a6df2ccec1f518287716031655819f156986d1bef834811e4f4a8697f2db668d9a4f08053ef

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Version=1.0
Name=Soundux
GenericName=Soundboard
Exec=/usr/bin/soundux
Icon=soundux
Terminal=false
Categories=Audio;Music;Player;AudioVideo;
Comment=A universal soundboard using pulseaudio modules

View File

@ -0,0 +1,57 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils cmake-utils git-r3 desktop
DESCRIPTION="A cross-platform soundboard loud_sound"
HOMEPAGE="https://soundux.rocks/"
EGIT_REPO_URI="https://github.com/Soundux/Soundux.git"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=
IUSE=""
RESTRICT="test"
DEPEND="
x11-libs/libX11
x11-libs/libXi
x11-base/xorg-proto
net-libs/webkit-gtk
"
RDEPEND="${DEPEND}"
src_install() {
#emake DESTDIR="${D}" install
insopts -m644
newicon "${S}/assets/icon.png" "soundux.png"
domenu "${FILESDIR}/soundux.desktop"
mkdir -p "${D}/opt/${PN}/dist"
insinto "/opt/${PN}/"
into "/opt/${PN}/"
#This application actually expects to be next to its dist folder.. so we install everything manually in /opt and make a symlik to the binary in /usr/bin. Like this it works fine.
exeinto "/opt/${PN}/"
dostrip "${WORKDIR}/${P}_build/soundux"
doexe "${WORKDIR}/${P}_build/soundux"
dosym "/opt/${PN}/${PN}" "/usr/bin/${PN}"
doins -r "${S}/build/dist/"
}
pkg_postinst() {
xdg_desktop_database_update
}
pkg_postrm() {
xdg_desktop_database_update
}