blob: eb8bb11206493b211a4a7c892acc8aa96d9c0eae (
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
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop xdg
DESCRIPTION="Open source polyphonic software synthesizer with lots of modulation"
HOMEPAGE="https://tytel.org/helm/"
SRC_URI="https://github.com/mtytel/helm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64"
IUSE=""
DEPEND="
media-libs/alsa-lib
media-libs/freetype
media-libs/lv2
virtual/jack
virtual/opengl
x11-libs/libX11
x11-libs/libXcursor
x11-libs/libXext
x11-libs/libXinerama
x11-libs/libXrandr"
RDEPEND="${DEPEND}
!app-admin/helm
"
DOCS=( changelog README.md )
PATCHES=(
"${FILESDIR}/${P}-nomancompress.patch"
"${FILESDIR}/${P}-fix-gcc91.patch"
)
src_prepare() {
default
sed -e "s|/usr/lib/|/usr/$(get_libdir)/|" -i Makefile || die "Failed to fix libdir"
sed -e "s|^\(CHANGES.*\)/|\1-${PVR}|" -i Makefile || die "Failed to fix doc path"
}
src_compile() {
emake PREFIX=/usr all
}
src_install() {
default
make_desktop_entry /usr/bin/helm Helm /usr/share/helm/icons/helm_icon_32_1x.png
}
|