A split C++ daemon client and QT GUI client for the SoulSeek network
Created attachment 40135 [details] museek ebuild
Created attachment 40136 [details, diff] patch removes ogg support to museek build code if USE flags dictate it so
Created attachment 40137 [details, diff] patch adds online notification to museeq
The ebuild doesn't have correct header - please have a look at common ebuild mistakes in developer documentation on http://www.gentoo.org
Comment on attachment 40135 [details] museek ebuild # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ > >Name="museek" >DESCRIPTION="A split C++ daemon client and QT GUI client for the Soulseek network" >HOMEPAGE="<A href="http://museek.thegraveyard.org/" class="linkification-ext">http://museek.thegraveyard.org/</A>" >SRC_URI="<A href="http://museek.thegraveyard.org/" class="linkification-ext">http://museek.thegraveyard.org/</A>${Name}-${PV}.tar.bz2" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="x86" >IUSE="qsa qt oggvorbis" #fam >DEPEND="dev-cpp/libxmlpp > qt? >=x11-libs/qt-3.2 > dev-lang/swig > dev-lang/python > oggvorbis? ( media-libs/libogg media-libs/libvorbis ) > qsa? ( >=dev-libs/qsa-1.1 ) > dev-util/scons" ># fam? ( app-admin/fam ) > >RDEPEND="dev-cpp/libxmlpp > qt? >=x11-libs/qt-3.2 > dev-lang/python > oggvorbis? ( media-libs/libogg media-libs/libvorbis ) > qsa? ( >=dev-libs/qsa-1.1 )" > >src_compile() { > local myconf="" > if use qt; then > epatch ${FILESDIR}/onlinealert-${Name}-${PV}-${PR}.patch > else > myconf="${myconf} MUSEEQ=0" > fi > use oggvorbis || epatch ${FILESDIR}/noogg-${Name}-${PV}-${PR}.patch > use qsa || myconf="${myconf} QSA=0" > > scons ${myconf} PREFIX=/usr DESTDIR=${D} >} >src_install() { > scons DESTDIR=${D} install >}
Comment on attachment 40135 [details] museek ebuild ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: > >Name="museek" >DESCRIPTION="A split C++ daemon client and QT GUI client for the Soulseek network" >HOMEPAGE="<A href="http://museek.thegraveyard.org/" class="linkification-ext">http://museek.thegraveyard.org/</A>" >SRC_URI="<A href="http://museek.thegraveyard.org/$" class="linkification-ext">http://museek.thegraveyard.org/$</A>{Name}-${PV}.tar.bz2" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="x86" >IUSE="qsa qt oggvorbis" #fam >DEPEND="dev-cpp/libxmlpp > qt? >=x11-libs/qt-3.2 > dev-lang/swig > dev-lang/python > oggvorbis? ( media-libs/libogg media-libs/libvorbis ) > qsa? ( >=dev-libs/qsa-1.1 ) > dev-util/scons" ># fam? ( app-admin/fam ) > >RDEPEND="dev-cpp/libxmlpp > qt? >=x11-libs/qt-3.2 > dev-lang/python > oggvorbis? ( media-libs/libogg media-libs/libvorbis ) > qsa? ( >=dev-libs/qsa-1.1 )" > >src_compile() { > local myconf="" > if use qt; then > epatch ${FILESDIR}/onlinealert-${Name}-${PV}-${PR}.patch > else > myconf="${myconf} MUSEEQ=0" > fi > use oggvorbis || epatch ${FILESDIR}/noogg-${Name}-${PV}-${PR}.patch > use qsa || myconf="${myconf} QSA=0" > > scons ${myconf} PREFIX=/usr DESTDIR=${D} >} >src_install() { > scons DESTDIR=${D} install >}
Shouldn't the ebuild inherit something like distutils ?? I get a warning that "epatch" command cannot be found ... Added inherit distutils at the beginning of the ebuild ...
Wasn't epatch part of eutils.eclass ?
Yup, my mistake
Another thing, there should be a "|| die" after scons in case it fails, like it did for me.
- the ebuild header is invalid
- the ebuild header is invalid¹ - remove Name="museek" - replace ${Name}-${PV} with ${P} - ${Name}-${PV}-${PR} == ${PF}, but usually it suffices when the patch has $PV in it's filename - keyword should be ~x86 [1] http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3
daelstorm, could you please at least update the header information and as many things Carlo pointed out as you can? Post your updated ebuild and we'll run through it. I'd be happy to add it to portage as soon as we get it cleaned up a bit.
Please reopen if you can at least update the header information.