Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Muine SVN ebuild, a little help?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Schizoid
Apprentice
Apprentice


Joined: 11 Apr 2003
Posts: 267

PostPosted: Tue Sep 04, 2007 12:01 pm    Post subject: Muine SVN ebuild, a little help? Reply with quote

Code:

# Distributed under the terms of the GNU General Public License v2

inherit autotool subversion

ESVN_REPO_URI="http://svn.gnome.org/svn/muine/trunk"
ESVN_PROJECT="muine"

DESCRIPTION="A music player for GNOME (source from SVN)"
HOMEPAGE="http://www.muine-player.org"
SRC_URI=""
IUSE="mad ogg flac"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
RDEPEND=">=dev-lang/mono-1.1.18
   >=dev-dotnet/gtk-sharp-2.10.0
   >=media-libs/libid3tag-0.15.0b
   >=media-libs/libvorbis-1
   sys-libs/gdbm
   >=gnome-base/gconf-2
   >=gnome-base/gnome-vfs-2
   >=x11-libs/gtk+-2.6.0
   media-libs/flac"
DEPEND="${RDEPEND}
   dev-util/pkgconfig
   app-text/scrollkeeper"

DOCS="AUTHORS COPYING ChangeLog INSTALL MAINTAINERS NEWS README TODO"

src_unpack() {
   subversion_src_unpack
}

src_compile() {
   S=${WORKDIR}/${P}
   cd ${S}
   ./autogen.sh --prefix=/usr
   make
}

src_install() {
   S=${WORKDIR}/${P}/
   cd ${S} || die
   emake || die
   make DESTDIR="${D}" install || die
}


Please don't laugh. I made this for my personal use, just thought I would share. I hacked up the CVS ebuild from fluidportage, so some of the required versions are probably wrong. I also have no idea what I am doing and I don't know how it works.

This works for me. Downloads, compiles, installs, and runs file. The one problem I have is that I have to use FEATURES="-sandbox". Is this a bad sign?

The reason I made this is because my album database seems to get screwed up every few days. I don't know why this is happening. Hopefully the cvs will fix it.
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Tue Sep 04, 2007 8:53 pm    Post subject: Reply with quote

try this
Code:

# Distributed under the terms of the GNU General Public License v2

inherit eutils subversion

ESVN_REPO_URI="http://svn.gnome.org/svn/muine/trunk"
ESVN_PROJECT="muine"

DESCRIPTION="A music player for GNOME (source from SVN)"
HOMEPAGE="http://www.muine-player.org"

IUSE="mad ogg flac"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
#>=dev-lang/mono-1.1.18

RDEPEND=">=dev-lang/mono-1.1.18
   >=dev-dotnet/gtk-sharp-2.10.0
   >=media-libs/libid3tag-0.15.0b
   >=media-libs/libvorbis-1
   sys-libs/gdbm
   >=gnome-base/gconf-2
   >=gnome-base/gnome-vfs-2
   >=x11-libs/gtk+-2.6.0
   media-libs/flac"
DEPEND="${RDEPEND}
   dev-util/pkgconfig
   app-text/scrollkeeper"

DOCS="AUTHORS COPYING ChangeLog INSTALL MAINTAINERS NEWS README TODO"


S=${WORKDIR}/${P}

src_unpack() {
   subversion_src_unpack
}

src_compile() {
   cd ${S}
   ./autogen.sh
   econf || die
   emake || die
}

src_install() {
   einstall || die
}

I cant test it coz I dont have gnome
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum