mirror of
https://github.com/gentoo-mirror/steam-overlay.git
synced 2025-04-18 23:39:01 -04:00
README update; renamed (app)indicator and dbusmenu to avoid conflicts with ebuilds in main tree, see #71
This commit is contained in:
parent
5408ac4a43
commit
00c76db372
@ -18,6 +18,15 @@ Usage
|
||||
* Emerge `steam-meta` ebuild
|
||||
* Start the client by executing `steam`
|
||||
|
||||
Notes for AMD64
|
||||
---------------
|
||||
|
||||
This overlay depends on the split multilib packages that (partially) replace the emul-linux-x86* packages
|
||||
([background](http://kicherer.org/joomla/index.php/en/blog/liste/29-transition-of-emul-packages-to-true-multilib)). In order to use
|
||||
them, you have to unmask certain ebuilds and enable the ```abi_x86_32``` use flag. For convenience, we provide the multilib-keywords
|
||||
file that can be placed in the ```/etc/portage/package.keywords/``` directory. For recent packages, you also have to add
|
||||
```-abi_x86_32``` to ```/etc/portage/profile/use.mask```.
|
||||
|
||||
Troubleshooting Steam
|
||||
---------------------
|
||||
|
||||
|
@ -7,26 +7,29 @@ inherit eutils autotools multilib-minimal
|
||||
|
||||
AYATANA_VALA_VERSION=0.16
|
||||
|
||||
MY_PN=${PN/libappindicator2/libappindicator}
|
||||
MY_P=${P/libappindicator2/libappindicator}
|
||||
|
||||
DESCRIPTION="A library to allow applications to export a menu into the Unity Menu bar"
|
||||
HOMEPAGE="http://launchpad.net/libappindicator"
|
||||
SRC_URI="http://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz"
|
||||
SRC_URI="http://launchpad.net/${MY_PN}/${PV%.*}/${PV}/+download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1 LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+introspection gtk3"
|
||||
IUSE="+introspection"
|
||||
|
||||
RDEPEND=">=dev-libs/dbus-glib-0.98
|
||||
>=dev-libs/glib-2.26
|
||||
=dev-libs/libdbusmenu-0.6.2-r1[gtk3=,gtk,${MULTILIB_USEDEP}]
|
||||
=dev-libs/libindicator-12.10.0-r1[gtk3=,${MULTILIB_USEDEP}]
|
||||
gtk3? ( >=x11-libs/gtk+-3.2:3 )
|
||||
!gtk3? ( >=x11-libs/gtk+-2.18:2 )
|
||||
=dev-libs/libdbusmenu2-0.6.2[gtk,${MULTILIB_USEDEP}]
|
||||
=dev-libs/libindicator2-12.10.0[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/gtk+-2.18:2
|
||||
introspection? ( >=dev-libs/gobject-introspection-1[${MULTILIB_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
introspection? ( dev-lang/vala:${AYATANA_VALA_VERSION}[vapigen] )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
ECONF_SOURCE=${S}
|
||||
|
||||
src_prepare() {
|
||||
@ -44,11 +47,16 @@ multilib_src_configure() {
|
||||
export APPINDICATOR_PYTHON_CFLAGS=' '
|
||||
export APPINDICATOR_PYTHON_LIBS=' '
|
||||
|
||||
export PKG_CONFIG=pkg-config
|
||||
export PKG_CONFIG_PATH=/opt/steam-runtime/usr/$(get_libdir)/pkgconfig/
|
||||
|
||||
use introspection && export VALAC="$(type -P valac-${AYATANA_VALA_VERSION})"
|
||||
|
||||
use gtk3 && GTK_SWITCH="--with-gtk=3" || GTK_SWITCH="--with-gtk=2"
|
||||
GTK_SWITCH="--with-gtk=2"
|
||||
|
||||
econf \
|
||||
--prefix=/opt/steam-runtime/ \
|
||||
--libdir=/opt/steam-runtime/usr/$(get_libdir) \
|
||||
--disable-silent-rules \
|
||||
--disable-static \
|
||||
--with-html-dir=/usr/share/doc/${PF}/html \
|
@ -6,22 +6,24 @@ EAPI=5
|
||||
|
||||
AYATANA_VALA_VERSION=0.16
|
||||
|
||||
MY_PN=${PN/libdbusmenu2/libdbusmenu}
|
||||
MY_P=${P/libdbusmenu2/libdbusmenu}
|
||||
|
||||
inherit eutils flag-o-matic multilib-minimal
|
||||
|
||||
DESCRIPTION="Library to pass menu structure across DBus"
|
||||
HOMEPAGE="http://launchpad.net/dbusmenu"
|
||||
SRC_URI="http://launchpad.net/${PN/lib}/${PV%.*}/${PV}/+download/${P}.tar.gz"
|
||||
SRC_URI="http://launchpad.net/${MY_PN/lib}/${PV%.*}/${PV}/+download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1 LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug gtk gtk3 +introspection"
|
||||
IUSE="debug gtk +introspection"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.32
|
||||
>=dev-libs/dbus-glib-0.100
|
||||
dev-libs/libxml2
|
||||
gtk3? ( >=x11-libs/gtk+-3.2:3 )
|
||||
!gtk3? ( gtk? ( >=x11-libs/gtk+-2.18:2 ) )
|
||||
gtk? ( >=x11-libs/gtk+-2.18:2 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
@ -29,19 +31,23 @@ DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig
|
||||
introspection? ( dev-lang/vala:${AYATANA_VALA_VERSION}[vapigen] )"
|
||||
REQUIRED_USE="gtk3? ( gtk )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
ECONF_SOURCE=${S}
|
||||
|
||||
multilib_src_configure() {
|
||||
append-flags -Wno-error #414323
|
||||
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/share/pkgconfig/
|
||||
|
||||
export PKG_CONFIG=pkg-config
|
||||
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/share/pkgconfig/:/usr/$(get_libdir)/pkgconfig/
|
||||
|
||||
use introspection && export VALA_API_GEN="$(type -P vapigen-${AYATANA_VALA_VERSION})"
|
||||
use gtk3 && GTK_SWITCH="--with-gtk=3" || GTK_SWITCH="--with-gtk=2"
|
||||
GTK_SWITCH="--with-gtk=2"
|
||||
|
||||
# dumper extra tool is only for GTK+-2.x, tests use valgrind which is stupid
|
||||
econf \
|
||||
--prefix=/opt/steam-runtime/ \
|
||||
--libdir=/opt/steam-runtime/usr/$(get_libdir) \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--disable-static \
|
||||
--disable-silent-rules \
|
@ -6,18 +6,20 @@ EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic virtualx multilib-minimal
|
||||
|
||||
MY_PN=${PN/libindicator2/libindicator}
|
||||
MY_P=${P/libindicator2/libindicator}
|
||||
|
||||
DESCRIPTION="A set of symbols and convience functions that all indicators would like to use"
|
||||
HOMEPAGE="http://launchpad.net/libindicator"
|
||||
SRC_URI="http://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz"
|
||||
SRC_URI="http://launchpad.net/${MY_PN}/${PV%.*}/${PV}/+download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test gtk3"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.22
|
||||
gtk3? ( >=x11-libs/gtk+-3.2:3 )
|
||||
!gtk3? ( >=x11-libs/gtk+-2.18:2 )
|
||||
>=x11-libs/gtk+-2.18:2
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
@ -26,14 +28,17 @@ DEPEND="${RDEPEND}
|
||||
x11-proto/xproto[${MULTILIB_USEDEP}]
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
ECONF_SOURCE=${S}
|
||||
|
||||
multilib_src_configure() {
|
||||
append-flags -Wno-error
|
||||
|
||||
use gtk3 && GTK_SWITCH="--with-gtk=3" || GTK_SWITCH="--with-gtk=2"
|
||||
GTK_SWITCH="--with-gtk=2"
|
||||
|
||||
econf \
|
||||
--prefix=/opt/steam-runtime/ \
|
||||
--libdir=/opt/steam-runtime/usr/$(get_libdir) \
|
||||
--disable-silent-rules \
|
||||
--disable-static \
|
||||
${GTK_SWITCH}
|
@ -0,0 +1,118 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit pax-utils
|
||||
|
||||
# Please report bugs/suggestions on: https://github.com/anyc/steam-overlay
|
||||
# or come to #gentoo-gamerlay in freenode IRC
|
||||
|
||||
DESCRIPTION="Meta package for Valve's native Steam client"
|
||||
HOMEPAGE="http://steampowered.com"
|
||||
SRC_URI=""
|
||||
LICENSE="metapackage"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="flash trayicon video_cards_intel"
|
||||
|
||||
RDEPEND="
|
||||
virtual/opengl
|
||||
|
||||
media-fonts/font-mutt-misc
|
||||
|| ( media-fonts/font-bitstream-100dpi media-fonts/font-adobe-100dpi )
|
||||
|
||||
amd64? (
|
||||
>=sys-devel/gcc-4.6.0[multilib]
|
||||
>=sys-libs/glibc-2.15[multilib]
|
||||
media-libs/libsdl2[abi_x86_32]
|
||||
app-emulation/steam-runtime-bin
|
||||
|
||||
>=app-emulation/emul-linux-x86-baselibs-20121202
|
||||
>=app-emulation/emul-linux-x86-gtklibs-20121202
|
||||
>=app-emulation/emul-linux-x86-opengl-20121202
|
||||
>=app-emulation/emul-linux-x86-sdl-20121202
|
||||
>=app-emulation/emul-linux-x86-soundlibs-20121202
|
||||
|| (
|
||||
>=app-emulation/emul-linux-x86-xlibs-20121202
|
||||
(
|
||||
x11-libs/libX11[abi_x86_32]
|
||||
x11-libs/libXcomposite[abi_x86_32]
|
||||
x11-libs/libXcursor[abi_x86_32]
|
||||
x11-libs/libXdamage[abi_x86_32]
|
||||
x11-libs/libXext[abi_x86_32]
|
||||
x11-libs/libXfixes[abi_x86_32]
|
||||
media-libs/fontconfig[abi_x86_32]
|
||||
media-libs/freetype[abi_x86_32]
|
||||
x11-libs/libXi[abi_x86_32]
|
||||
x11-libs/libXinerama[abi_x86_32]
|
||||
x11-libs/libXrandr[abi_x86_32]
|
||||
x11-libs/libXrender[abi_x86_32]
|
||||
)
|
||||
)
|
||||
|
||||
trayicon? ( dev-libs/libappindicator2[abi_x86_32] )
|
||||
|
||||
flash? ( www-plugins/adobe-flash[32bit] )
|
||||
)
|
||||
x86? (
|
||||
dev-libs/glib:2
|
||||
dev-libs/libgcrypt
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
media-libs/libjpeg-turbo
|
||||
media-libs/libogg
|
||||
media-libs/libpng:1.2
|
||||
media-libs/libsdl2
|
||||
media-libs/libtheora
|
||||
media-libs/libvorbis
|
||||
media-libs/openal
|
||||
media-sound/pulseaudio
|
||||
net-misc/curl
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
>=sys-devel/gcc-4.6.0
|
||||
>=sys-libs/glibc-2.15
|
||||
>=sys-libs/zlib-1.2.4
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/gtk+:2
|
||||
>=x11-libs/libX11-1.5
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/pango
|
||||
>=x11-libs/pixman-0.24.4
|
||||
|
||||
trayicon? ( dev-libs/libappindicator2 )
|
||||
flash? ( www-plugins/adobe-flash )
|
||||
video_cards_intel? ( >=media-libs/mesa-9 )
|
||||
)"
|
||||
|
||||
pkg_postinst() {
|
||||
elog "This is only a meta package that pulls in the required"
|
||||
elog "dependencies for the steam client."
|
||||
elog ""
|
||||
|
||||
if use flash; then
|
||||
elog "In order to use flash, link the 32bit libflashplayer.so to"
|
||||
elog "\${STEAM_FOLDER}/ubuntu12_32/plugins/"
|
||||
elog ""
|
||||
fi
|
||||
|
||||
if host-is-pax; then
|
||||
elog "If you're using PAX, please see:"
|
||||
elog "http://wiki.gentoo.org/wiki/Steam#Hardened_Gentoo"
|
||||
elog ""
|
||||
fi
|
||||
|
||||
ewarn "The steam client and the games are not controlled by"
|
||||
ewarn "portage. Updates are handled by the client itself."
|
||||
}
|
@ -13,7 +13,7 @@ SRC_URI=""
|
||||
LICENSE="metapackage"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="s3tc mono testdeps video_cards_intel video_cards_fglrx video_cards_nouveau
|
||||
video_cards_nvidia video_cards_radeon"
|
||||
|
||||
|
@ -32,11 +32,12 @@ sys-libs/steam-runtime-libselinux
|
||||
=media-libs/jasper-1.900.1-r6
|
||||
=media-libs/libexif-0.6.21-r1
|
||||
=media-libs/openal-1.15.1-r1
|
||||
#media-libs/libsdl:2 ~amd64
|
||||
|
||||
=dev-libs/libappindicator-12.10.0-r1 ~amd64
|
||||
=dev-libs/libdbusmenu-0.6.2-r1 ~amd64
|
||||
=dev-libs/libindicator-12.10.0-r1 ~amd64
|
||||
media-libs/libsdl2 **
|
||||
|
||||
dev-libs/libappindicator2
|
||||
dev-libs/libdbusmenu2
|
||||
dev-libs/libindicator2
|
||||
|
||||
#######
|
||||
# multilib
|
||||
@ -116,7 +117,7 @@ sys-libs/steam-runtime-libselinux
|
||||
=media-libs/libsamplerate-0.1.8-r1 ~amd64
|
||||
=media-libs/speex-1.2_rc1-r2 ~amd64
|
||||
=media-libs/libdvdnav-4.2.0-r1 ~amd64
|
||||
=media-libs/libpng-1.6.3-r1 ~amd64
|
||||
=media-libs/libpng-1.6.6 ~amd64
|
||||
=media-sound/musepack-tools-465-r1 ~amd64
|
||||
=virtual/jpeg-0-r1 ~amd64
|
||||
=sys-libs/zlib-1.2.8-r1 ~amd64
|
||||
@ -162,8 +163,7 @@ sys-libs/steam-runtime-libselinux
|
||||
=dev-libs/expat-2.1.0-r3 ~amd64
|
||||
=kde-base/gwenview-4.10.5-r1 ~amd64
|
||||
|
||||
#=sys-fs/udev-206-r1 ~amd64
|
||||
=virtual/udev-206-r2 ~amd64
|
||||
=virtual/udev-206-r3 ~amd64
|
||||
=dev-libs/libusbx-1.0.16-r3 ~amd64
|
||||
=virtual/libusb-0-r1 ~amd64
|
||||
=sys-apps/kmod-14-r1 ~amd64
|
||||
@ -204,6 +204,4 @@ sys-libs/steam-runtime-libselinux
|
||||
=sys-libs/gpm-1.20.7-r2 ~amd64
|
||||
=media-libs/tiff-4.0.3-r5 ~amd64
|
||||
|
||||
media-libs/libsdl2 **
|
||||
|
||||
=media-libs/fontconfig-2.10.92 ~amd64
|
||||
|
Loading…
x
Reference in New Issue
Block a user