Initial simplex-desktop package based off deb package

This commit is contained in:
TheK0tYaRa 2024-09-11 14:58:37 +03:00
commit 2f90cfb176
442 changed files with 20288 additions and 0 deletions

View file

@ -0,0 +1,46 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_11 )
DISABLE_AUTOFORMATTING=true
inherit desktop python-single-r1
DESCRIPTION="Downloads commodity market and other station data from the game Elite: Dangerous for use with all popular online and offline trading tools"
HOMEPAGE="https://github.com/EDCD/EDMarketConnector"
SRC_URI="https://github.com/EDCD/${PN}/archive/refs/tags/Release/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="
dev-python/certifi
dev-python/requests
dev-python/watchdog
dev-python/semantic_version
dev-lang/python[tk]
"
# dev-python/constants
RDEPEND="${PYTHON_DEPS} ${DEPEND}"
src_unpack() {
unpack ../distdir/${PN}-${PV}.tar.gz
mv ${PN}-Release-${PV} ${PN}-${PV}
}
src_install() {
mkdir constants
mv constants.py constants/__init__.py
python_newscript EDMarketConnector.py EDMarketConnector # yes?
# python_domodule EDMarketConnector.py EDMarketConnector # no
# doins -r # no
# make_desktop_entry ${PN} ${PN} ${PN} System
make_desktop_entry ${PN} ${PN} ${PN}.png System
}

View file

@ -0,0 +1 @@
DIST EDMarketConnector-5.4.1.tar.gz 1239961 BLAKE2B 6549eb90895b694d6de1fd95ebf08bc2a8aa23a6599730f283eead4f5ba742e8c7984aea8223c967f06454ff719fded799b18fda4f7198a8f57a2540bbf2e429 SHA512 4443db12632b0f254d092267239125be3025196cae774932aadd257c49622f763c315e7c80d0de74c8e496f392f2806525e16da493819d0461b68ce886d5fd15

View file

@ -0,0 +1,148 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# inherit lists eclasses to inherit functions from. For example, an ebuild
# that needs the eautoreconf function from autotools.eclass won't work
# without the following line:
#inherit autotools
#
# Eclasses tend to list descriptions of how to use their functions properly.
# Take a look at the eclass/ directory for more examples.
DESCRIPTION="A simple and easy to use mod manager for several games using Thunderstore"
HOMEPAGE="https://github.com/ebkr/r2modmanPlus"
SRC_URI="${HOMEPAGE}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
# Source directory; the dir where the sources can be found (automatically
# unpacked) inside ${WORKDIR}. The default value for S is ${WORKDIR}/${P}
# If you don't need to change it, leave the S= line out of the ebuild
# to keep it tidy.
S="${WORKDIR}/${PN}Plus-${PV}"
LICENSE="MIT"
# The SLOT variable is used to tell Portage if it's OK to keep multiple
# versions of the same package installed at the same time. For example,
# if we have a libfoo-1.2.2 and libfoo-1.3.2 (which is not compatible
# with 1.2.2), it would be optimal to instruct Portage to not remove
# libfoo-1.2.2 if we decide to upgrade to libfoo-1.3.2. To do this,
# we specify SLOT="1.2" in libfoo-1.2.2 and SLOT="1.3" in libfoo-1.3.2.
# emerge clean understands SLOTs, and will keep the most recent version
# of each SLOT and remove everything else.
# Note that normal applications should use SLOT="0" if possible, since
# there should only be exactly one version installed at a time.
# Do not use SLOT="", because the SLOT variable must not be empty.
SLOT="0"
KEYWORDS="~amd64"
# Comprehensive list of any and all USE flags leveraged in the ebuild,
# with some exceptions, e.g., ARCH specific flags like "amd64" or "ppc".
# Not needed if the ebuild doesn't use any USE flags.
IUSE=""
# A space delimited list of portage features to restrict. man 5 ebuild
# for details. Usually not needed.
#RESTRICT="strip"
# Run-time dependencies. Must be defined to whatever this depends on to run.
# Example:
# ssl? ( >=dev-libs/openssl-1.0.2q:0= )
# >=dev-lang/perl-5.24.3-r1
# It is advisable to use the >= syntax show above, to reflect what you
# had installed on your system when you tested the package. Then
# other users hopefully won't be caught without the right version of
# a dependency.
RDEPEND="
net-libs/nodejs:0/20
"
# Build-time dependencies that need to be binary compatible with the system
# being built (CHOST). These include libraries that we link against.
# The below is valid if the same run-time depends are required to compile.
DEPEND="
${RDEPEND}
sys-apps/yarn
"
# Build-time dependencies that are executed during the emerge process, and
# only need to be present in the native build system (CBUILD). Example:
#BDEPEND="virtual/pkgconfig"
#src_unpack() {
# unpack ${P}.tar.gz
#}
# The following src_configure function is implemented as default by portage, so
# you only need to call it if you need a different behaviour.
#src_configure() {
# Most open-source packages use GNU autoconf for configuration.
# The default, quickest (and preferred) way of running configure is:
#econf
#
# You could use something similar to the following lines to
# configure your package before compilation. The "|| die" portion
# at the end will stop the build process if the command fails.
# You should use this at the end of critical commands in the build
# process. (Hint: Most commands are critical, that is, the build
# process should abort if they aren't successful.)
#./configure \
# --host=${CHOST} \
# --prefix=/usr \
# --infodir=/usr/share/info \
# --mandir=/usr/share/man || die
# Note the use of --infodir and --mandir, above. This is to make
# this package FHS 2.2-compliant. For more information, see
# https://wiki.linuxfoundation.org/lsb/fhs
#}
# The following src_compile function is implemented as default by portage, so
# you only need to call it, if you need different behaviour.
src_compile() {
# emake is a script that calls the standard GNU make with parallel
# building options for speedier builds (especially on SMP systems).
# Try emake first. It might not work for some packages, because
# some makefiles have bugs related to parallelism, in these cases,
# use emake -j1 to limit make to a single process. The -j1 is a
# visual clue to others that the makefiles have bugs that have been
# worked around.
#emake
ls -la
yarn global add '@quasar/cli' || die
yarn install || die
yarn build-linux || die
}
# The following src_install function is implemented as default by portage, so
# you only need to call it, if you need different behaviour.
#src_install() {
# You must *personally verify* that this trick doesn't install
# anything outside of DESTDIR; do this by reading and
# understanding the install part of the Makefiles.
# This is the preferred way to install.
#emake DESTDIR="${D}" install
# When you hit a failure with emake, do not just use make. It is
# better to fix the Makefiles to allow proper parallelization.
# If you fail with that, use "emake -j1", it's still better than make.
# For Makefiles that don't make proper use of DESTDIR, setting
# prefix is often an alternative. However if you do this, then
# you also need to specify mandir and infodir, since they were
# passed to ./configure as absolute paths (overriding the prefix
# setting).
#emake \
# prefix="${D}"/usr \
# mandir="${D}"/usr/share/man \
# infodir="${D}"/usr/share/info \
# libdir="${D}"/usr/$(get_libdir) \
# install
# Again, verify the Makefiles! We don't want anything falling
# outside of ${D}.
#}

View file

@ -0,0 +1 @@
DIST r2modman-3.1.45.tar.gz 37124043 BLAKE2B 8d089c71bd5dfce76e362a2bb86d03b310bb85ef373b1ccb985b4a0836bbc75e9688d253d78c3100b924e8bd6808c8c9a292e4906e3019a7c478f9f933a5a553 SHA512 c8f5dcad2252f362f8ddd1f09ad34c75e15a8fe76e3fbb4f636cefeb9a707931c7813cd37b32ac4cfbe4c8c61836af56c006868e11133a73d4243a6a84edd094

View file

@ -0,0 +1,148 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# inherit lists eclasses to inherit functions from. For example, an ebuild
# that needs the eautoreconf function from autotools.eclass won't work
# without the following line:
#inherit autotools
#
# Eclasses tend to list descriptions of how to use their functions properly.
# Take a look at the eclass/ directory for more examples.
DESCRIPTION="A simple and easy to use mod manager for several games using Thunderstore"
HOMEPAGE="https://github.com/ebkr/r2modmanPlus"
SRC_URI="${HOMEPAGE}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
# Source directory; the dir where the sources can be found (automatically
# unpacked) inside ${WORKDIR}. The default value for S is ${WORKDIR}/${P}
# If you don't need to change it, leave the S= line out of the ebuild
# to keep it tidy.
S="${WORKDIR}/${PN}Plus-${PV}"
LICENSE="MIT"
# The SLOT variable is used to tell Portage if it's OK to keep multiple
# versions of the same package installed at the same time. For example,
# if we have a libfoo-1.2.2 and libfoo-1.3.2 (which is not compatible
# with 1.2.2), it would be optimal to instruct Portage to not remove
# libfoo-1.2.2 if we decide to upgrade to libfoo-1.3.2. To do this,
# we specify SLOT="1.2" in libfoo-1.2.2 and SLOT="1.3" in libfoo-1.3.2.
# emerge clean understands SLOTs, and will keep the most recent version
# of each SLOT and remove everything else.
# Note that normal applications should use SLOT="0" if possible, since
# there should only be exactly one version installed at a time.
# Do not use SLOT="", because the SLOT variable must not be empty.
SLOT="0"
KEYWORDS="~amd64"
# Comprehensive list of any and all USE flags leveraged in the ebuild,
# with some exceptions, e.g., ARCH specific flags like "amd64" or "ppc".
# Not needed if the ebuild doesn't use any USE flags.
IUSE=""
# A space delimited list of portage features to restrict. man 5 ebuild
# for details. Usually not needed.
#RESTRICT="strip"
# Run-time dependencies. Must be defined to whatever this depends on to run.
# Example:
# ssl? ( >=dev-libs/openssl-1.0.2q:0= )
# >=dev-lang/perl-5.24.3-r1
# It is advisable to use the >= syntax show above, to reflect what you
# had installed on your system when you tested the package. Then
# other users hopefully won't be caught without the right version of
# a dependency.
RDEPEND="
net-libs/nodejs:0/20
"
# Build-time dependencies that need to be binary compatible with the system
# being built (CHOST). These include libraries that we link against.
# The below is valid if the same run-time depends are required to compile.
DEPEND="
${RDEPEND}
sys-apps/yarn
"
# Build-time dependencies that are executed during the emerge process, and
# only need to be present in the native build system (CBUILD). Example:
#BDEPEND="virtual/pkgconfig"
#src_unpack() {
# unpack ${P}.tar.gz
#}
# The following src_configure function is implemented as default by portage, so
# you only need to call it if you need a different behaviour.
#src_configure() {
# Most open-source packages use GNU autoconf for configuration.
# The default, quickest (and preferred) way of running configure is:
#econf
#
# You could use something similar to the following lines to
# configure your package before compilation. The "|| die" portion
# at the end will stop the build process if the command fails.
# You should use this at the end of critical commands in the build
# process. (Hint: Most commands are critical, that is, the build
# process should abort if they aren't successful.)
#./configure \
# --host=${CHOST} \
# --prefix=/usr \
# --infodir=/usr/share/info \
# --mandir=/usr/share/man || die
# Note the use of --infodir and --mandir, above. This is to make
# this package FHS 2.2-compliant. For more information, see
# https://wiki.linuxfoundation.org/lsb/fhs
#}
# The following src_compile function is implemented as default by portage, so
# you only need to call it, if you need different behaviour.
src_compile() {
# emake is a script that calls the standard GNU make with parallel
# building options for speedier builds (especially on SMP systems).
# Try emake first. It might not work for some packages, because
# some makefiles have bugs related to parallelism, in these cases,
# use emake -j1 to limit make to a single process. The -j1 is a
# visual clue to others that the makefiles have bugs that have been
# worked around.
#emake
ls -la
yarn global add '@quasar/cli' || die
yarn install || die
yarn build-linux || die
}
# The following src_install function is implemented as default by portage, so
# you only need to call it, if you need different behaviour.
#src_install() {
# You must *personally verify* that this trick doesn't install
# anything outside of DESTDIR; do this by reading and
# understanding the install part of the Makefiles.
# This is the preferred way to install.
#emake DESTDIR="${D}" install
# When you hit a failure with emake, do not just use make. It is
# better to fix the Makefiles to allow proper parallelization.
# If you fail with that, use "emake -j1", it's still better than make.
# For Makefiles that don't make proper use of DESTDIR, setting
# prefix is often an alternative. However if you do this, then
# you also need to specify mandir and infodir, since they were
# passed to ./configure as absolute paths (overriding the prefix
# setting).
#emake \
# prefix="${D}"/usr \
# mandir="${D}"/usr/share/man \
# infodir="${D}"/usr/share/info \
# libdir="${D}"/usr/$(get_libdir) \
# install
# Again, verify the Makefiles! We don't want anything falling
# outside of ${D}.
#}

View file

@ -0,0 +1,3 @@
DIST sc-controller-0.4.8.9.tar.gz 2541647 BLAKE2B f4e4ebcd15f8c32f292293ea21a0c30655fedefba310991082ece3b9159b52700178a31da4b3e7a172e40fde4e718403c0945387f3781628e09fa1fc086eee93 SHA512 e0848d366f6f80c36670adcda717b792b6993e7383c01e969c0478cf187bcdb891ea9c434271f24e7f5dfc96d8f321f953f610bb8efeb6ed843b7cd069b9b18f
EBUILD sc-controller-0.4.8.9.ebuild 1309 BLAKE2B 4ad7caedf7b2385458e28265708bbcf034b2ef015c5b8adc77aca5a7a34cd41d20a47cd197604d09c0ee275f21e4be9210d66b6cf224dcbdf0431dc23b0fd5e1 SHA512 03fb3d48fbe922574a2cafd3ce3f841eb987ff8c9fcecdedb91087e27a1964b6fe989f47737d2d5dd8d2803279522b82e211a7d243ac8c7f71830d9d9d3ee572
MISC metadata.xml 341 BLAKE2B 8bfad400d398e07b5c8ba2c0a54c3fb3768d6748df641c4d2ad75a8032fd7f351f023acf791b9b61da0e70500cfdb1b669eaaa140f6351a851b6b2e23d3c5147 SHA512 4f17d6bd17da51eec7d7b90a3c72b9ef29bb6780dc4b67245ca4ce17a62128eb800ae1e519d2b136763c3c26cf89473fb23a7e878c1e4b19b116ed9546547f58

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
<upstream>
<remote-id type="github">Ryochan7/sc-controller</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,52 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_11 )
inherit distutils-r1 linux-info xdg
DESCRIPTION="User-mode driver and GTK-based GUI for Steam Controllers and others"
HOMEPAGE="https://github.com/Ryochan7/sc-controller/"
SRC_URI="https://github.com/Ryochan7/sc-controller/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2 BSD CC-BY-3.0 CC0-1.0 LGPL-2.1 MIT PSF-2 ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+udev wayland"
RDEPEND="
$(python_gen_cond_dep '
dev-python/pygobject[${PYTHON_USEDEP},cairo]
dev-python/pylibacl[${PYTHON_USEDEP}]
dev-python/python-evdev[${PYTHON_USEDEP}]
dev-python/vdf[${PYTHON_USEDEP}]')
gnome-base/librsvg[introspection]
virtual/libusb
x11-libs/gtk+:3[introspection]
udev? ( games-util/game-device-udev-rules )
wayland? ( gui-libs/gtk-layer-shell[introspection(+)] )
"
distutils_enable_tests pytest
pkg_setup() {
local CONFIG_CHECK="~INPUT_UINPUT"
linux-info_pkg_setup
python-single-r1_pkg_setup
}
src_prepare() {
default
# This test fails. Don't know why but seems unimportant.
rm -v tests/test_glade.py || die
}
src_install() {
distutils-r1_src_install
rm -r "${ED}"/usr/lib/udev/ || die
}

View file

@ -0,0 +1 @@
DIST steamtinkerlaunch-11.0.tar.gz 341943 BLAKE2B 90663ee02b820c16168f023811b2460ed435916b7fd1f8d164a85250b4b51db82efed45519b3f6e2a8880c5d6b8721fa2063a53ee0a36fdbe83fff69a32581c6 SHA512 855f2188afb6116f129e7614b0473782fdc2f448bc12d470eec09003099aead67d1562cbc0896d6d8d381c7846dd48486d7b174cb966ac581315d817917bfd1d

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<description>new maintainers welcome</description>
<name>Peter Levine</name>
<email>plevine457@gmail.com</email>
</maintainer>
<upstream>
<bugs-to>https://github.com/frostworx/steamtinkerlaunch/issues</bugs-to>
<changelog>https://github.com/frostworx/steamtinkerlaunch/wiki/Changelog</changelog>
<remote-id type="github">frostworx/steamtinkerlaunch</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,59 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit optfeature xdg
DESCRIPTION="Wrapper script for Steam custom launch options"
HOMEPAGE="https://github.com/frostworx/steamtinkerlaunch"
SRC_URI="https://github.com/frostworx/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=
RDEPEND="
app-arch/unzip
|| ( app-editors/vim-core dev-util/xxd )
x11-apps/xprop
x11-apps/xrandr
x11-apps/xwininfo
x11-misc/xdotool
>=gnome-extra/yad-7.2
"
src_prepare() {
default
sed -e 's|PREFIX := /usr|PREFIX := $(DESTDIR)/usr|g' \
-e "s|share/doc/${PN}|share/doc/${PF}|g" \
-e '/sed "s:^PREFIX/d' \
-i Makefile || die
}
pkg_postinst() {
xdg_pkg_postinst
optfeature "writing an strace log of the launched game" dev-util/strace
optfeature "using GameMode per game" games-util/gamemode
optfeature "using MangoHUD per game" games-util/mangohud
optfeature "using vkBasalt per game" games-util/vkbasalt
optfeature "winetricks support" app-emulation/winetricks
optfeature "playing regular games side-by-side in VR" media-gfx/vr-video-player
optfeature "using Nyrna per game" x11-misc/nyrna
optfeature "network monitoring" sys-apps/net-tools
optfeature "Boxtron support" games-engines/boxtron
optfeature "ScummVM support via Roberta" games-engines/scummvm
optfeature "wine support" virtual/wine
optfeature "GameScope support" games-util/gamescope
optfeature "Notifier" x11-libs/libnotify
optfeature "extracting the Cheat Engine setup archive" app-arch/innoextract
optfeature "a quick VR HMD presence check" sys-apps/usbutils
optfeature "extracting game names from the steam api" app-misc/jq
optfeature "scaling a custom installed game header picture and for converting game icons" media-gfx/imagemagick
optfeature "extracting SpecialK archives" app-arch/p7zip
}