diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
commit | 2719f73b6813d11d13a9650cdd2ab8ec6e69385d (patch) | |
tree | 8c816148bcbd22757d892089c989ae614eae4f5a /media-libs/liblscp/liblscp-9999.ebuild | |
parent | 0f558761aa2dee1017b4751e4017205e015a9560 (diff) |
gentoo resync : 09.07.2022
Diffstat (limited to 'media-libs/liblscp/liblscp-9999.ebuild')
-rw-r--r-- | media-libs/liblscp/liblscp-9999.ebuild | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/media-libs/liblscp/liblscp-9999.ebuild b/media-libs/liblscp/liblscp-9999.ebuild index f456569bf546..5d0c3733b0ff 100644 --- a/media-libs/liblscp/liblscp-9999.ebuild +++ b/media-libs/liblscp/liblscp-9999.ebuild @@ -1,36 +1,37 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit autotools subversion +inherit cmake DESCRIPTION="C++ library for the Linux Sampler control protocol" HOMEPAGE="https://www.linuxsampler.org" -ESVN_REPO_URI="https://svn.linuxsampler.org/svn/liblscp/trunk" + +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" -KEYWORDS="" IUSE="doc" BDEPEND="doc? ( app-doc/doxygen )" -DOCS=( AUTHORS ChangeLog TODO NEWS README ) - -src_prepare() { - default +PATCHES=( + "${FILESDIR}/${PN}-0.9.6-conditional.patch" +) - emake -f Makefile.git - eautoreconf -} +DOCS=( ChangeLog README ) src_configure() { - econf --disable-static -} - -src_install() { - use doc && local HTML_DOCS=( doc/html/. ) - default - find "${D}" -name '*.la' -delete || die + local mycmakeargs=( + -DBUILD_DOC=$(usex doc) + ) + cmake_src_configure } |