summaryrefslogtreecommitdiff
blob: e6131f18f55adfe550cb16add83484fcfe56b4d8 (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-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="5"

inherit versionator eutils

MY_PV="$(get_version_component_range 1-3)-$(get_version_component_range 4)"
DESCRIPTION="Collection of audio tools (SvOlli's Little Audio Related Thingies)"
HOMEPAGE="http://svolli.org/software/slart/"
SRC_URI="http://svolli.org/download.php/software/slart/${PN}-${MY_PV}.tar.bz2"

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

DEPEND="
	app-arch/bzip2
	app-misc/lirc
	dev-qt/qtcore
	dev-qt/qtgui
	dev-qt/qtsql
	media-libs/flac
	media-libs/libogg
	media-libs/libvorbis
	media-sound/lame
	sys-devel/gcc[cxx]
	"
RDEPEND="${DEPEND}
	<media-sound/dermixd-2"

S="${WORKDIR}"/${PN}-${MY_PV}

src_prepare() {
	epatch "${FILESDIR}"/${P}-*.patch
}

src_install() {
	emake DESTDIR="${D}" PREFIX=/usr install || die
	rm "${D}"/usr/share/applications/slart-stripped.desktop || die
}