summaryrefslogtreecommitdiff
blob: 9d4f9d2a131c47aac6d453223829b34bb2a98e59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Media Tag Tools - a mp3/ogg/flac tagger"
HOMEPAGE="http://mediatagtools.berlios.de"
SRC_URI="mirror:/berlios/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="=x11-libs/qt-3*
		>=media-libs/taglib-1.4"
RDEPEND="${DEPEND}"

src_compile() {
	cd "${S}"
	# Without this qmake find the wrong version of uic
	PATH="${QTDIR}/bin:${PATH}"
	# Asked around, the only way to ensure non-interactivity
	echo "${D}/usr/" | qmake || die "failed to configure"
	emake || die "failed to make"
}

src_install() {
	emake install INSTALL_ROOT="${D}/usr/" || die "make install failed"
}