summaryrefslogtreecommitdiff
blob: f47ffd6cfa3c28d4327634c56d4a69dc4a9e08c3 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3

inherit qt4-r2 subversion

DESCRIPTION="UMPlayer is cross-platform and installer packages are available for
the Windows, Mac and GNU / Linux operating systems. It is completely free to use
and distribute so feel free to share UMPlayer with all your friends."
HOMEPAGE="http://www.umplayer.com"
SRC_URI=""

ESVN_REPO_URI="https://${PN}.svn.sourceforge.net/svnroot/${PN}/${PN}/trunk@r181"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86 mingw32"
IUSE=""

RDEPEND="
"
DEPEND="${RDEPEND}"

src_prepare() {
	sed -i -e 's/\$(QMAKE).\$(QMAKE_OPTS).\&\&.//' Makefile || die "Sed failed!"
	sed -i -e 's/PREFIX=\/usr\/local/PREFIX=\/usr/' Makefile || die "Sed failed!"
}

src_configure() {
	cd src/
	eqmake4
}

src_compile() {
	emake || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" PREFIX="/usr" install || die
}