Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eigenes ebuild für media-sound/flacon erstellen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message

Joined: 25 Nov 2003
Posts: 3189
Location: Berlin

PostPosted: Thu Jan 07, 2010 4:48 pm    Post subject: eigenes ebuild für media-sound/flacon erstellen Reply with quote

flacon-0.5.ebuild funktioniert nicht. Es soll alles aus 113388-flacon-0.5.tgz in /usr/share/flacon kopiert werden. /usr/share/flacon/ soll ausführbar gemacht und nach /usr/bin/flacon verlinkt werden.
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header

inherit eutils python


DESCRIPTION="Facon extracts individual tracks from one big audio file containing the entire album of music and saves them as separate audio files"

KEYWORDS="~x86 ~amd64"
IUSE="flac mac wavpack lame"


# * python
# * PyQt
# * PyKDE
# * shntool
# * flac (optional, for decoding and encoding FLAC files)
# * mac (optional, for decoding APE files)
# * wavpack (optional, for decoding WV files)
# * oggenc (optional, for encoding OGG files)
# * lame (optional, for encoding MP3 files)
# * metaflac (optional, for FLAC replay gain)
# * vorbisgain (optional, for OGG replay gain)
# * mp3gain (optional, for MP3 replay gain)



#Interface languages:
# * English
# * Russian
# Installation.
# Written in Python, Flacon uses some external programs (see requires), which is why you’ve got to install these programs.
# To test the program, just extract the archive and run the file
# To install the program, execute: sudo make install.

src_install() {
#       dobin "${PN}.py" || die
#       dosym "/usr/bin/${PN}.py" "/usr/bin/${PN}" || die
         insinto "/usr/share/${PN}"
#         doins *.py || die
         doins *.* || die
#        insinto /usr/share/${PN}
#        doicon misc/${PN}-32x32.png || die "doicon failed"

        insinto /usr/share/icons/hicolor/32x32/apps
        newins "misc/${PN}-32x32.png" "${MY_PN}.png" || die

        dobin "${PN}.py" || die
        dosym "/usr/share/${PN}/${PN}.py" "/usr/bin/${PN}" || die
        use fperms u+s "/usr/share/${PN}/${PN}.py"

##        make_desktop_entry flacon Flacon ${PN}-32x32.png "Qt;AudioVideo;Audio" \
##              || die "make_desktop_entry failed"

        domenu "misc/${PN}.desktop" || die
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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