blob: 3a4f384196d3edca34d28320a1ed0d026939855d (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools xdg
DESCRIPTION="A graphical music visualization plugin similar to milkdrop"
HOMEPAGE="https://github.com/projectM-visualizer/projectm"
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/projectM-visualizer/projectm.git"
inherit git-r3
else
MY_PV="${PV/_/-}"
SRC_URI="https://github.com/projectM-visualizer/projectm/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86"
S=${WORKDIR}/projectm-${MY_PV}/
fi
LICENSE="LGPL-2"
SLOT="0/2"
IUSE="gles2 jack pulseaudio qt5 sdl"
REQUIRED_USE="
jack? ( qt5 )
pulseaudio? ( qt5 )
"
RDEPEND="
media-libs/glm
media-libs/libglvnd[X(+)]
jack? (
virtual/jack
)
qt5? (
dev-qt/qtcore:5
dev-qt/qtdeclarative:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtopengl:5
)
pulseaudio? (
media-libs/libpulse
)
sdl? ( >=media-libs/libsdl2-2.0.5 )
sys-libs/zlib"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
"
src_prepare() {
default
eautoreconf
}
src_configure() {
local myeconfargs=(
$(use_enable gles2 gles)
$(use_enable jack)
$(use_enable qt5 qt)
$(use_enable pulseaudio)
$(use_enable sdl)
--enable-emscripten=no
)
econf "${myeconfargs[@]}"
}
src_install() {
default
find "${ED}" -name '*.la' -delete || die
find "${ED}" -name '*.a' -delete || die
}
|