Old thread:
http://www.dolphin-emu.com/forum/viewthr...#post_5775
I have a little gift for gentoo users:
I write a "virtual/dolphin-emu/dolphin-emu-9999.ebuild (I just see that I cannot attach it, hence see below):
ATTENTION: I call it virtual because IT DON'T INSTALL dolphin-emu, but all necessary dependencies to compile the svn. ( Hence I saved it as a virtual/... in my portage overlay)
BUT: This ebuild is work in progress: see comments in the ebuild.
I added some useflags, some of them works, some not, and what they do you can see if you have a look at the ebuild.
I had to at some symlinks for my gentoo (amd64), otherwise scons did not find the libs. ( see comments in the ebuild)
If somebody can answer my questions in the ebuild, please post it here. I edit the ebuild then.
And I have to say that I could build the svn today, but if I want to test it with a hombrew demo (http://www.wii-homebrew.com/downloads/de...lbrot.html) , it crashes ( I will post a own thread for this, I believe it has nothing to do with this ebuild. Should it work if I load the boot.dol or I'm wrong? )
Just copy the following to a file virtual/dolphin-emu/dolphin-emu-9999.ebuild in your portage overlay:
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/virtual/dolphin-emu/dolphin-emu.ebuild$
# IMPORTANT: THIS EBUILD DONT INSTALL DOLPHIN-EMU!
# THIS EBUILD ONLY MAKE SURE THE RIGHT DEPENDECIES TO COMPILE AND RUN DOLPHIN-EMU ARE INSTALLED
# YOU HAVE TO DOWNLOAD AND COMPILE DOLPHIN-EMU YOURSELF
DESCRIPTION="Virtual for Dolphin-emu (dependecies only)"
HOMEPAGE="www.dolphin-emu.com"
SRC_URI=""
#SRC_URI="http://dolphin-emu.googlecode.com/svn/trunk/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="wiimote portaudio sfml testgl"
#USEFLAGS DESCRIPTION:
# wiimote installs the bluez / bluetooth libs
# portaudio support - DOES NOT WORK
# sfml - DOES NOT WORK
# testgl is not a program but a scons option to enable experimental code - DOES NOT WORK
DEPEND=""
RDEPEND=">=dev-util/scons-0.98
>=media-libs/glew-1.5.0
>=x11-libs/wxGTK-2.8.0.0
>=sys-devel/gcc-4.2.0
>=media-libs/libsdl-1.2.0
dev-util/subversion
media-gfx/nvidia-cg-toolkit
virtual/opengl
virtual/glu
dev-util/pkgconfig
x11-libs/libXxf86vm
x11-libs/libXext
media-libs/libao
x11-libs/cairo
portaudio? ( media-libs/portaudio )
sfml? ( media-libs/libsfml )
wiimote? ( net-wireless/bluez-libs ) "
#MESSAGES:
ewarn "You may have to symlink the cg libs, for example run:"
ewarn "ln -s /opt/nvidia-cg-toolkit/lib/libCg.so /usr/local/lib/libCg.so"
ewarn "ln -s /opt/nvidia-cg-toolkit/lib/libCgGL.so /usr/local/lib/libCgGL.so"
ewarn "ln -s /opt/nvidia-cg-toolkit/include/Cg/ /usr/include/Cg"
ewarn "You may have to select wxwidgets, for example run:"
ewarn "eselect wxwidgets set gtk2-unicode-release-2.8"
eerror "USEFLAGS portaudio, sfml, testgl DO NOT WORK because:"
ewarn "testgl is not a program but a scons option to enable experimental code, you have to enable it if you compile the source (use scons gltest=1)"
ewarn "sfml is not in portage (for ebuild see gentoo bugzilla) / libs were not found by scons if installed"
ewarn "portaudio libs were not found by scons when I compiled the source, maybe some more symlinks are necessary?"
http://www.dolphin-emu.com/forum/viewthr...#post_5775
I have a little gift for gentoo users:
I write a "virtual/dolphin-emu/dolphin-emu-9999.ebuild (I just see that I cannot attach it, hence see below):
ATTENTION: I call it virtual because IT DON'T INSTALL dolphin-emu, but all necessary dependencies to compile the svn. ( Hence I saved it as a virtual/... in my portage overlay)
BUT: This ebuild is work in progress: see comments in the ebuild.
I added some useflags, some of them works, some not, and what they do you can see if you have a look at the ebuild.
I had to at some symlinks for my gentoo (amd64), otherwise scons did not find the libs. ( see comments in the ebuild)
If somebody can answer my questions in the ebuild, please post it here. I edit the ebuild then.
And I have to say that I could build the svn today, but if I want to test it with a hombrew demo (http://www.wii-homebrew.com/downloads/de...lbrot.html) , it crashes ( I will post a own thread for this, I believe it has nothing to do with this ebuild. Should it work if I load the boot.dol or I'm wrong? )
Just copy the following to a file virtual/dolphin-emu/dolphin-emu-9999.ebuild in your portage overlay:
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/virtual/dolphin-emu/dolphin-emu.ebuild$
# IMPORTANT: THIS EBUILD DONT INSTALL DOLPHIN-EMU!
# THIS EBUILD ONLY MAKE SURE THE RIGHT DEPENDECIES TO COMPILE AND RUN DOLPHIN-EMU ARE INSTALLED
# YOU HAVE TO DOWNLOAD AND COMPILE DOLPHIN-EMU YOURSELF
DESCRIPTION="Virtual for Dolphin-emu (dependecies only)"
HOMEPAGE="www.dolphin-emu.com"
SRC_URI=""
#SRC_URI="http://dolphin-emu.googlecode.com/svn/trunk/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="wiimote portaudio sfml testgl"
#USEFLAGS DESCRIPTION:
# wiimote installs the bluez / bluetooth libs
# portaudio support - DOES NOT WORK
# sfml - DOES NOT WORK
# testgl is not a program but a scons option to enable experimental code - DOES NOT WORK
DEPEND=""
RDEPEND=">=dev-util/scons-0.98
>=media-libs/glew-1.5.0
>=x11-libs/wxGTK-2.8.0.0
>=sys-devel/gcc-4.2.0
>=media-libs/libsdl-1.2.0
dev-util/subversion
media-gfx/nvidia-cg-toolkit
virtual/opengl
virtual/glu
dev-util/pkgconfig
x11-libs/libXxf86vm
x11-libs/libXext
media-libs/libao
x11-libs/cairo
portaudio? ( media-libs/portaudio )
sfml? ( media-libs/libsfml )
wiimote? ( net-wireless/bluez-libs ) "
#MESSAGES:
ewarn "You may have to symlink the cg libs, for example run:"
ewarn "ln -s /opt/nvidia-cg-toolkit/lib/libCg.so /usr/local/lib/libCg.so"
ewarn "ln -s /opt/nvidia-cg-toolkit/lib/libCgGL.so /usr/local/lib/libCgGL.so"
ewarn "ln -s /opt/nvidia-cg-toolkit/include/Cg/ /usr/include/Cg"
ewarn "You may have to select wxwidgets, for example run:"
ewarn "eselect wxwidgets set gtk2-unicode-release-2.8"
eerror "USEFLAGS portaudio, sfml, testgl DO NOT WORK because:"
ewarn "testgl is not a program but a scons option to enable experimental code, you have to enable it if you compile the source (use scons gltest=1)"
ewarn "sfml is not in portage (for ebuild see gentoo bugzilla) / libs were not found by scons if installed"
ewarn "portaudio libs were not found by scons when I compiled the source, maybe some more symlinks are necessary?"