blob: 27c550dfebdab5d5f9109ddd39083afaa4eaf7b9 (
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
44
45
46
47
48
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3kult/mp3kult-0.7-r2.ebuild,v 1.2 2005/09/04 10:38:22 flameeyes Exp $
IUSE=""
DESCRIPTION="Mp3Kult organizes your mp3/ogg collection in a Mysql database."
HOMEPAGE="http://mp3kult.sourceforge.net"
SRC_URI="mirror://sourceforge/mp3kult/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ~sparc ~amd64"
DEPEND=">=dev-db/mysql-3.22.32
kde-base/kdelibs
>=media-libs/id3lib-3.7.13
>=media-libs/libogg-1.0
>=media-libs/libvorbis-1.0"
src_compile() {
export CXXFLAGS="${CXXFLAGS} -DUSE_OLD_FUNCTIONS=1"
# For whatever reason defining USE_OLD_FUNCTIONS causes
# link errors for ssl; the next line fixes it.
### borrowed from kde.eclass #
#
# fix the sandbox errors "can't writ to .kde or .qt" problems.
# this is a fake homedir that is writeable under the sandbox,
# so that the build process can do anything it wants with it.
REALHOME="$HOME"
mkdir -p $T/fakehome/.kde
mkdir -p $T/fakehome/.qt
export HOME="$T/fakehome"
addwrite "${QTDIR}/etc/settings"
# things that should access the real homedir
[[ -d "$REALHOME/.ccache" ]] && ln -sf "$REALHOME/.ccache" "$HOME/"
export LDFLAGS="-lssl"
econf || die
emake || die
}
src_install () {
einstall || die
dodoc AUTHORS MANUAL NEWS README
}
|