Search:  
Gentoo Wiki

Ucpt:Media-sound/picard/picard-0.5.0_pre2.ebuild

Image:Ebuild_file.png Media-sound/picard/picard-0.5.0 pre2.ebuild

Download - Bugs - Discussion - History

Back to the Index
DESCRIPTION="The next generation MusicBrainz tagger"
SRC_URI="https://helixcommunity.org/download.php/1413/picard-0.5.0-test2.tar.gz"
HOMEPAGE="http://wiki.musicbrainz.org/PicardTagger"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=dev-python/python-musicbrainz-1.03_beta
	>=dev-python/wxpython-2.6.0
	>=media-libs/tunepimp-0.4.0_pre5"

S=${WORKDIR}/picard-0.5.0-test2

INSTALLDIR="/opt/picard"


src_install() {

#One should do some checks wether wxpython is compiled with the unicode useflag or not, as it is required for picard to work.

	dodir ${INSTALLDIR}


	insinto ${INSTALLDIR}
	doins -r ${S}/*

	



	
	fperms 755 /opt/picard/tagger.py
	
	dodir /usr/bin
	dosym ${INSTALLDIR}/tagger.py /usr/bin/picard



}
pkg_postinst() {
	einfo 	
	einfo Run \'picard\' to start the tagger
	einfo
	einfo Remember to set the BROWSER environment variable to your favourite browser 
	einfo and that it has to contain \'%s\' and end with \'\&\' using the export command
	einfo Example:
	einfo export BROWSER=\'opera -newpage %s \&\'
	einfo
}


#
Retrieved from "http://www.gentoo-wiki.info/Ucpt:Media-sound/picard/picard-0.5.0_pre2.ebuild"

Last modified: Sat, 29 Oct 2005 13:29:00 +0000 Hits: 3,423