• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 93 94 95 96 97 ... 117 Next »

Continued Thread: Gentoo Linux 64-bit
View New Posts | View Today's Posts

Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Continued Thread: Gentoo Linux 64-bit
03-25-2009, 12:57 AM
#1
n00ris
Unregistered
 
Old thread:

http://www.dolphin-emu.com/forum/viewthread.php?thread_id=1102&highlight=gentoo&pid=5775#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/demo/mandelbrot.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?"
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Continued Thread: Gentoo Linux 64-bit - n00ris - 03-25-2009, 12:57 AM
RE: Continued Thread: Gentoo Linux 64-bit - JttL - 04-13-2009, 08:24 PM
RE: Continued Thread: Gentoo Linux 64-bit - n00ris - 04-20-2009, 12:43 AM
RE: Continued Thread: Gentoo Linux 64-bit - epona - 04-20-2009, 06:20 PM
RE: Continued Thread: Gentoo Linux 64-bit - johanbcn - 08-31-2009, 01:27 AM
RE: Continued Thread: Gentoo Linux 64-bit - astrafall - 10-07-2009, 12:06 PM
RE: Continued Thread: Gentoo Linux 64-bit - n00ris - 12-13-2009, 02:32 AM
RE: Continued Thread: Gentoo Linux 64-bit - NeKit - 01-18-2010, 07:14 AM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode