summaryrefslogtreecommitdiff
path: root/app-emulation/linux-steam-integration
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-07 00:31:13 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-07 00:31:13 +0000
commit6e76818b36c241ec194e661feff6b9ff76c7b24b (patch)
tree413f67b0d54427f75d00ed2359176a40e2251d36 /app-emulation/linux-steam-integration
parent978c210b9e6d03aa154c99eded6e30b823e395ff (diff)
app-emulation/steam-native-runtime : new package
Diffstat (limited to 'app-emulation/linux-steam-integration')
-rw-r--r--app-emulation/linux-steam-integration/Manifest1
-rw-r--r--app-emulation/linux-steam-integration/files/bzip2.patch12
-rw-r--r--app-emulation/linux-steam-integration/linux-steam-integration-0.7.3.ebuild35
3 files changed, 48 insertions, 0 deletions
diff --git a/app-emulation/linux-steam-integration/Manifest b/app-emulation/linux-steam-integration/Manifest
new file mode 100644
index 00000000..809748ae
--- /dev/null
+++ b/app-emulation/linux-steam-integration/Manifest
@@ -0,0 +1 @@
+DIST linux-steam-integration-0.7.3.tar.xz 188732 BLAKE2B 93f95947d70f03ad44e4851574bb6aaea032ca2d90147ea8b25f97a20d7c372a86470aa03d67b859b60087084ded2f73a15f3fdf201a2936c779a7e552d5140d SHA512 b68ae89c5e93d6424fe1b91666cac32c241f7f3cff24cf7f4f6b1ad57c1d537fbce60a6d64999c7e568f1f29152a44a7366d100c7ad1a70cdb1e0a8fb7cf8b6a
diff --git a/app-emulation/linux-steam-integration/files/bzip2.patch b/app-emulation/linux-steam-integration/files/bzip2.patch
new file mode 100644
index 00000000..4a1d42d2
--- /dev/null
+++ b/app-emulation/linux-steam-integration/files/bzip2.patch
@@ -0,0 +1,12 @@
+diff -Nur a/src/intercept/main.c b/src/intercept/main.c
+--- a/src/intercept/main.c 2019-01-15 12:00:18.000000000 +0000
++++ b/src/intercept/main.c 2020-01-06 00:18:30.413665541 +0000
+@@ -323,7 +323,7 @@
+ "libcurl-gnutls.so.4",
+ "libcurl.so.4",
+
+- "libbz2.so.1.0.6",
++ "libbz2.so.1.0",
+
+ "libudev.so.1",
+ };
diff --git a/app-emulation/linux-steam-integration/linux-steam-integration-0.7.3.ebuild b/app-emulation/linux-steam-integration/linux-steam-integration-0.7.3.ebuild
new file mode 100644
index 00000000..92912dfd
--- /dev/null
+++ b/app-emulation/linux-steam-integration/linux-steam-integration-0.7.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit meson multilib-minimal
+
+DESCRIPTION="Helper for enabling better Steam integration on Linux"
+HOMEPAGE="https://github.com/clearlinux/linux-steam-integration"
+SRC_URI="https://github.com/clearlinux/"${PN}"/releases/download/v"${PV}"/"${P}".tar.xz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="app-emulation/steam"
+DEPEND="x11-libs/gtk+:3
+ virtual/pkgconfig[${MULTILIB_USEDEP}]"
+
+PATCHES=( "${FILESDIR}"/bzip2.patch )
+
+multilib_src_configure() {
+ local emesonargs=(
+ -Dwith-shim=co-exist \
+ -Dwith-frontend=true \
+ -Dwith-steam-binary=/usr/bin/steam \
+ -Dwith-new-libcxx-abi=true
+ )
+ meson_src_configure
+}
+
+multilib_src_install() {
+ meson_src_install
+}