blob: 834c876cf36e40ca21b42be35d0a3e8d2f1baa94 (
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
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="C++ library for the Linux Sampler control protocol"
HOMEPAGE="https://www.linuxsampler.org"
if [[ ${PV} == "9999" ]] ; then
inherit subversion
ESVN_REPO_URI="https://svn.linuxsampler.org/svn/liblscp/trunk"
else
SRC_URI="https://www.rncbc.org/archive/${P}.tar.gz
https://download.linuxsampler.org/packages/${P}.tar.gz"
KEYWORDS="amd64 ~ppc ~x86"
fi
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="doc"
BDEPEND="doc? ( app-doc/doxygen )"
PATCHES=(
"${FILESDIR}/${PN}-0.9.6-conditional.patch"
)
DOCS=( ChangeLog README )
src_configure() {
local mycmakeargs=(
-DBUILD_DOC=$(usex doc)
)
cmake_src_configure
}
|