sView is a Stereoscopic media player HOMEPAGE="http://www.sview.ru/" Add this ebuild in portage. http://pastebin.com/QGZ6nvhB Reproducible: Always # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 inherit eutils DESCRIPTION="Stereoscopic media player" HOMEPAGE="http://www.sview.ru/" SRC_URI="https://launchpad.net/~sview/+archive/stable/+files/${PN}_${PV}-1%7Eprecise.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 x86" IUSE="custom-cflags" RDEPEND="x11-libs/gtk+:2 >=media-libs/glew-1.5.0 media-libs/openal media-libs/mesa" DEPEND="${RDEPEND}" RESTRICT="strip" S="${WORKDIR}/${PN}-${PV}-1" src_prepare() { if use custom-cflags; then cd "${S}" sed -i -e 's/CXXFLAGS = -O3 -std=c++0x -Wall -fPIC -mmmx -msse `pkg-config gtk+-2.0 --cflags` $(INC)/CXXFLAGS = -O3 -std=c++0x -Wall -fPIC -mmmx -msse $(CFLAGS) `pkg-config gtk+-2.0 --cflags` $(INC)/' Makefile || die emake CFLAGS="${CFLAGS}" || die "emake failed" fi } src_install() { emake DESTDIR="${D}" install || die "emake install failed" }
Created attachment 312893 [details] sview-12.05.ebuild
Comment on attachment 312893 [details] sview-12.05.ebuild That's not a patch.
I tried the 12.09 which ended like this : g++ -O3 -std=c++0x -Wall -fPIC -mmmx -msse `pkg-config gtk+-2.0 --cflags` -I3rdparty/include -Iinclude -c -o StSettings/StConfigImpl.o StSettings/StConfigImpl.cpp StSettings/StConfigImpl.cpp:19:25: fatal error: libconfig.h++: No such file or directory compilation terminated. make: *** [StSettings/StConfigImpl.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from include/StTemplates/StArray.h:13:0, from include/StTemplates/StArrayList.h:12, from include/StGLWidgets/StGLTextArea.h:12, from include/StGLWidgets/StGLMenu.h:12, from include/StGLWidgets/StGLDevicesMenu.h:12, from StGLWidgets/StGLDevicesMenu.cpp:9: include/StStrings/StStringUnicode.h: In static member function ‘static size_t StQuickSort<Type>::partition(Type*, size_t, size_t) [with Type = StStereoDeviceInfo, size_t = long unsigned int]’: include/StStrings/StStringUnicode.h:51:13: warning: ‘temp.StStereoDeviceInfo::stringId.StStringUnicode<char>::mySize’ may be used uninitialized in this function [-Wuninitialized] include/StTemplates/StTemplates.h:51:10: note: ‘temp.StStereoDeviceInfo::stringId.StStringUnicode<char>::mySize’ was declared here include/StStrings/StStringUnicode.inl:263:5: warning: ‘temp.StStereoDeviceInfo::stringId.StStringUnicode<char>::myLength’ may be used uninitialized in this function [-Wuninitialized] include/StTemplates/StTemplates.h:51:10: note: ‘temp.StStereoDeviceInfo::stringId.StStringUnicode<char>::myLength’ was declared here emake failed And then I also tried the 12.05 with the same result. It's really great to see such a great program for gentoo : thank you very much !!!
*** Bug 641458 has been marked as a duplicate of this bug. ***