summaryrefslogtreecommitdiff
path: root/app-emulation/steam/steam-1.0.0.61.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-06 00:03:00 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-06 00:03:00 +0000
commit5e7eca5594bdb7c3dbade3f8c6c78c2b6d7ee05b (patch)
tree4cff25df6ad4c4be083350c6aaed5114e1811a26 /app-emulation/steam/steam-1.0.0.61.ebuild
parentd5499544c8ec56e707bfe81c64e2b71f0bd77512 (diff)
app-emulation/steam : version bump
Diffstat (limited to 'app-emulation/steam/steam-1.0.0.61.ebuild')
-rw-r--r--app-emulation/steam/steam-1.0.0.61.ebuild70
1 files changed, 70 insertions, 0 deletions
diff --git a/app-emulation/steam/steam-1.0.0.61.ebuild b/app-emulation/steam/steam-1.0.0.61.ebuild
new file mode 100644
index 00000000..5179c792
--- /dev/null
+++ b/app-emulation/steam/steam-1.0.0.61.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+
+EAPI=6
+
+inherit eutils
+
+DESCRIPTION="Digital distribution client bootstrap package"
+HOMEPAGE="http://steampowered.com/"
+SRC_URI="http://repo.steampowered.com/"${PN}"/pool/"${PN}"/s/"${PN}"/"${PN}"_"${PV}".tar.gz"
+
+LICENSE="custom"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ virtual/ttf-fonts
+ dev-util/desktop-file-utils
+ x11-themes/hicolor-icon-theme
+ net-misc/curl
+ sys-apps/dbus
+ sys-apps/gentoo-functions
+ media-libs/freetype
+ x11-libs/gdk-pixbuf
+ gnome-extra/zenity
+ amd64? (
+ media-libs/alsa-lib[abi_x86_32(-)]
+ media-libs/mesa[abi_x86_32(-)]
+ x11-libs/libX11[abi_x86_32(-)]
+ x11-libs/libxcb[abi_x86_32(-)]
+ )
+ x86? (
+ media-libs/alsa-lib
+ media-libs/mesa
+ x11-libs/libX11
+ x11-libs/libxcb
+ )"
+
+S="${WORKDIR}"/"${PN}"
+
+PATCHES=( "${FILESDIR}/redcore-${PN}.patch" )
+
+src_prepare() {
+ default
+ sed -r 's|("0666")|"0660", TAG+="uaccess"|g' -i lib/udev/rules.d/60-steam-input.rules
+ sed -r 's|("misc")|\1, OPTIONS+="static_node=uinput"|g' -i lib/udev/rules.d/60-steam-input.rules
+ sed -r 's|(, TAG\+="uaccess")|, MODE="0660"\1|g' -i lib/udev/rules.d/60-steam-vr.rules
+}
+
+src_install() {
+ # make install
+ emake DESTDIR="${D}" install
+
+ # inject our wrapper binary
+ dobin "${FILESDIR}"/redcore-steam
+
+ # blank steamdeps because apt-get
+ rm -rf "${D}"/usr/bin/steamdeps
+ dosym /bin/true /usr/bin/steamdeps
+
+ # docs
+ rm -rf "${D}"/usr/share/doc/"${PN}"
+ dodoc steam_subscriber_agreement.txt
+
+ # udev rules
+ insinto usr/lib/udev/rules.d
+ newins lib/udev/rules.d/60-steam-input.rules 70-steam-input.rules
+ newins lib/udev/rules.d/60-steam-vr.rules 70-steam-vr.rules
+}