summaryrefslogtreecommitdiff
blob: cd2786b8a7b54cdbf04bc589afe9ec72cfff8fc6 (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-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit autotools

DESCRIPTION="Command line MP3 player"
HOMEPAGE="http://konst.org.ua/en/orpheus"
SRC_URI="http://konst.org.ua/download/${P}.tar.gz"

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

RDEPEND="sys-libs/ncurses:0=
	media-libs/libvorbis
	media-sound/mpg123
	media-sound/vorbis-tools[ogg123]"
DEPEND="${RDEPEND}"

PATCHES=(
	"${FILESDIR}"/1.5-amd64.patch
	"${FILESDIR}"/101_fix-buffer-overflow.diff
	"${FILESDIR}"/${P}-fix-buildsystem.patch
	"${FILESDIR}"/${P}-cppflags.patch
	"${FILESDIR}"/${P}-bufsize.patch
	"${FILESDIR}"/${P}-gcc47.patch
	"${FILESDIR}"/${P}-constify.patch
)

src_prepare() {
	default

	cp config.rpath kkstrtext-0.1/ || die

	mv configure.{in,ac} || die
	mv kkstrtext-0.1/configure.{in,ac} || die
	mv kkconsui-0.1/configure.{in,ac} || die

	eautoreconf
}