summaryrefslogtreecommitdiffstats
path: root/packages/games-misc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/games-misc')
-rw-r--r--packages/games-misc/hydra-launcher/hydra-launcher-4.1.6.exheres-087
-rw-r--r--packages/games-misc/prismlauncher/prismlauncher-11.1.1.exheres-063
2 files changed, 150 insertions, 0 deletions
diff --git a/packages/games-misc/hydra-launcher/hydra-launcher-4.1.6.exheres-0 b/packages/games-misc/hydra-launcher/hydra-launcher-4.1.6.exheres-0
new file mode 100644
index 0000000..f12714b
--- /dev/null
+++ b/packages/games-misc/hydra-launcher/hydra-launcher-4.1.6.exheres-0
@@ -0,0 +1,87 @@
+# Copyright 2026 Gurov <thuggerthugger1@duck.com>
+# Distributed under the terms of the GNU General Public License v2
+
+require freedesktop-desktop freedesktop-mime gtk-icon-cache
+
+SUMMARY="Open-source gaming platform and launcher"
+HOMEPAGE="https://github.com/hydralauncher/hydra"
+DOWNLOADS="${HOMEPAGE}/releases/download/v${PV}/hydralauncher_${PV}_amd64.deb -> ${PNV}.deb"
+
+LICENCES="MIT"
+SLOT="0"
+PLATFORMS="~amd64"
+RESTRICT="mirror strip test"
+
+DEPENDENCIES="
+ build:
+ app-arch/libarchive
+
+ run:
+ dev-libs/at-spi2-core
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/libsecret
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/fontconfig
+ net-misc/aria2
+ net-print/cups
+ sys-apps/dbus
+ sys-apps/util-linux
+ sys-libs/zlib
+ sys-sound/alsa-lib
+ x11-apps/xdg-utils
+ x11-dri/libdrm
+ x11-dri/mesa
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2.0
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXScrnSaver
+ x11-libs/libXtst
+ x11-libs/libxcb
+ x11-libs/libnotify
+ x11-libs/pango
+"
+
+WORK="${WORKBASE}/${PNV}"
+
+pkg_setup() {
+ exdirectory --allow /opt
+}
+
+src_unpack() {
+ edo mkdir -p "${WORK}"
+ edo bsdtar -xOf "${FETCHEDDIR}/${PNV}.deb" data.tar.xz > "${WORKBASE}/data.tar.xz"
+ edo tar -xf "${WORKBASE}/data.tar.xz" -C "${WORK}"
+}
+
+src_install() {
+ edo mkdir -p "${IMAGE}/opt/Hydra"
+ edo cp -a "${WORK}/opt/Hydra/." "${IMAGE}/opt/Hydra/"
+
+ insinto /usr/share/applications
+ doins "${WORK}/usr/share/applications/hydralauncher.desktop"
+ insinto /usr/share/icons/hicolor/512x512/apps
+ doins "${WORK}/usr/share/icons/hicolor/512x512/apps/hydralauncher.png"
+
+ dodir /usr/$(exhost --target)/bin
+ dosym /opt/Hydra/hydralauncher /usr/$(exhost --target)/bin/hydralauncher
+}
+
+pkg_postinst() {
+ freedesktop-mime_pkg_postinst
+ freedesktop-desktop_pkg_postinst
+ gtk-icon-cache_pkg_postinst
+}
+
+pkg_postrm() {
+ freedesktop-mime_pkg_postrm
+ freedesktop-desktop_pkg_postrm
+ gtk-icon-cache_pkg_postrm
+}
diff --git a/packages/games-misc/prismlauncher/prismlauncher-11.1.1.exheres-0 b/packages/games-misc/prismlauncher/prismlauncher-11.1.1.exheres-0
new file mode 100644
index 0000000..7e2a005
--- /dev/null
+++ b/packages/games-misc/prismlauncher/prismlauncher-11.1.1.exheres-0
@@ -0,0 +1,63 @@
+# Copyright 2026 Gurov <thuggerthugger1@duck.com>
+# Distributed under the terms of the GNU General Public License v2
+
+require cmake freedesktop-desktop freedesktop-mime gtk-icon-cache
+
+SUMMARY="Minecraft launcher with ability to manage multiple instances"
+HOMEPAGE="https://prismlauncher.org https://github.com/PrismLauncher/PrismLauncher"
+DOWNLOADS="https://github.com/PrismLauncher/PrismLauncher/releases/download/${PV}/PrismLauncher-${PV}.tar.gz -> ${PNV}.tar.gz"
+
+LICENCES="Apache-2.0 Batch GPL-3 LGPL-2+ LGPL-3+ MIT OFL-1.1"
+SLOT="0"
+PLATFORMS="~amd64"
+
+DEPENDENCIES="
+ build:
+ app-doc/scdoc
+ kde-frameworks/extra-cmake-modules
+ sys-libs/vulkan-headers
+ virtual/jdk:17
+ virtual/pkg-config
+
+ build+run:
+ app-arch/libarchive
+ app-text/cmark
+ dev-cpp/tomlplusplus
+ media-libs/qrencode
+ sys-apps/gamemode
+ sys-apps/pciutils
+ sys-libs/zlib
+ x11-dri/mesa
+ x11-libs/qtbase:6[gui][vulkan]
+ x11-libs/qtnetworkauth:6
+ x11-libs/qtsvg:6
+
+ run:
+ x11-libs/qtimageformats:6
+
+ suggestion:
+ virtual/jre:* [[ description = [ System Java for running Minecraft, otherwise use the built-in Java downloader ] ]]
+"
+
+CMAKE_SOURCE="${WORKBASE}/PrismLauncher-${PV}"
+
+CMAKE_SRC_CONFIGURE_PARAMS=(
+ -DLauncher_BUILD_PLATFORM=Exherbo
+ -DLauncher_ENABLE_JAVA_DOWNLOADER=ON
+)
+
+CMAKE_SRC_CONFIGURE_TESTS=(
+ '-DBUILD_TESTING=ON -DBUILD_TESTING=OFF'
+)
+
+pkg_postinst() {
+ freedesktop-mime_pkg_postinst
+ freedesktop-desktop_pkg_postinst
+ gtk-icon-cache_pkg_postinst
+}
+
+pkg_postrm() {
+ freedesktop-mime_pkg_postrm
+ freedesktop-desktop_pkg_postrm
+ gtk-icon-cache_pkg_postrm
+}