Сравнение lsp-plugins-1.1.29 с lsp-plugins-1.2.3

/usr/portage/media-libs/lsp-plugins/lsp-plugins-1.2.3.ebuild 2023-10-09 14:52:31.700368406 +0300
1
# Copyright 2019-2021 Gentoo Authors
1
# Copyright 2019-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
inherit xdg
6
inherit flag-o-matic xdg
7 7

  
8 8
DESCRIPTION="Linux Studio Plugins"
9 9
HOMEPAGE="https://lsp-plug.in"
10 10

  
11
if [[ ${PV} == *9999 ]];then
11
if [[ ${PV} == *9999 ]]; then
12 12
	inherit git-r3
13
	SRC_URI=""
14 13
	EGIT_REPO_URI="https://github.com/sadko4u/lsp-plugins"
15 14
	EGIT_BRANCH="devel"
16 15
else
17
	SRC_URI="https://github.com/sadko4u/lsp-plugins/archive/${PV}.tar.gz -> ${P}.tar.gz"
18
	KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
16
	SRC_URI="https://github.com/sadko4u/${PN}/releases/download/${PV}/${PN}-src-${PV}.tar.gz -> ${P}.tar.gz"
17
	KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
18
	S="${WORKDIR}/${PN}"
19 19
fi
20 20

  
21 21
LICENSE="LGPL-3"
22 22
SLOT="0"
23
IUSE="doc jack ladspa +lv2 test"
23
IUSE="doc jack ladspa +lv2 test vst X"
24 24
REQUIRED_USE="|| ( jack ladspa lv2 )
25 25
	test? ( jack )"
26 26

  
27 27
RESTRICT="!test? ( test )"
28 28

  
29
BDEPEND="doc? ( dev-lang/php:* )"
29 30
DEPEND="
30
	dev-libs/expat
31
	media-libs/libsndfile
32 31
	media-libs/libglvnd[X]
33
	doc? ( dev-lang/php:* )
32
	media-libs/libsndfile
34 33
	jack? (
34
		media-libs/freetype
35 35
		virtual/jack
36 36
		x11-libs/cairo[X]
37
		x11-libs/libX11
38
		x11-libs/libXrandr
37 39
	)
38 40
	ladspa? ( media-libs/ladspa-sdk )
39 41
	lv2? (
42
		media-libs/freetype
40 43
		media-libs/lv2
41 44
		x11-libs/cairo[X]
45
		x11-libs/libX11
46
		x11-libs/libXrandr
47
	)
48
	vst? (
49
		media-libs/freetype
50
		x11-libs/cairo[X]
51
		x11-libs/libX11
52
		x11-libs/libXrandr
42 53
	)
43 54
"
44 55
RDEPEND="${DEPEND}"
45
BDEPEND=""
46

  
47
PATCHES=(
48
	"${FILESDIR}"/${PN}-1.1.29_armv8a-dsp.patch
49
)
50 56

  
51
src_compile() {
57
src_configure() {
52 58
	use doc && MODULES+="doc"
53 59
	use jack && MODULES+=" jack"
54 60
	use ladspa && MODULES+=" ladspa"
55 61
	use lv2 && MODULES+=" lv2"
56
	emake BUILD_MODULES="${MODULES}"
62
	use vst && MODULES+=" vst2"
63
	use X && MODULES+=" xdg"
64
	emake \
65
		FEATURES="${MODULES}" \
66
		PREFIX="/usr" \
67
		LIBDIR="/usr/$(get_libdir)" \
68
		CFLAGS_EXT="${CFLAGS}" \
69
		CXXFLAGS_EXT="${CXXFLAGS}" \
70
		LDFLAGS_EXT="$(raw-ldflags)" \
71
		VERBOSE=1 \
72
		config
73
}
74

  
75
src_compile() {
76
	emake \
77
		FEATURES="${MODULES}" \
78
		PREFIX="/usr" \
79
		LIBDIR="/usr/$(get_libdir)" \
80
		CFLAGS_EXT="${CFLAGS}" \
81
		CXXFLAGS_EXT="${CXXFLAGS}" \
82
		LDFLAGS_EXT="$(raw-ldflags)" \
83
		VERBOSE=1
57 84
}
58 85

  
59 86
src_install() {
60
	emake PREFIX="/usr" DESTDIR="${ED}" LIB_PATH="/usr/$(get_libdir)" install
87
	emake PREFIX="/usr" DESTDIR="${ED}" LIB_PATH="/usr/$(get_libdir)" VERBOSE=1 install
61 88
}
Спасибо!