Diff lmms-1.2.2-r3 with a lmms-9999
/usr/portage/media-sound/lmms/lmms-9999.ebuild 2025-02-03 17:39:34.150671640 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
inherit cmake flag-o-matic xdg |
|
6 |
inherit cmake xdg |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Cross-platform music production software" |
9 | 9 |
HOMEPAGE="https://lmms.io" |
... | ... | |
12 | 12 |
inherit git-r3 |
13 | 13 |
else |
14 | 14 |
SRC_URI="https://github.com/LMMS/lmms/releases/download/v${PV/_/-}/${PN}_${PV/_/-}.tar.xz" |
15 |
KEYWORDS="amd64 x86" |
|
16 |
S="${WORKDIR}/${P/_/-}" |
|
15 |
S="${WORKDIR}/${PN}" |
|
16 |
KEYWORDS="~amd64 ~x86" |
|
17 | 17 |
fi |
18 | 18 | |
19 |
S="${WORKDIR}/${PN}" |
|
20 | ||
21 | 19 |
LICENSE="GPL-2 LGPL-2" |
22 | 20 |
SLOT="0" |
23 | 21 | |
24 | 22 |
IUSE="alsa debug fluidsynth jack libgig mp3 ogg portaudio pulseaudio sdl soundio stk test vst" |
25 | 23 | |
26 |
# FAIL! : AutomatableModelTest::LinkTests() 'm1Changed' returned FALSE. () |
|
27 |
# |
|
28 |
# Did not previously pass, did not previously run. Maintain status quo. |
|
29 |
# Fixed upstream in git. |
|
30 |
RESTRICT="test" |
|
24 |
RESTRICT="!test? ( test )" |
|
31 | 25 | |
32 | 26 |
COMMON_DEPEND=" |
33 | 27 |
dev-qt/qtcore:5 |
... | ... | |
76 | 70 |
DOCS=( README.md doc/AUTHORS ) |
77 | 71 | |
78 | 72 |
PATCHES=( |
79 |
"${FILESDIR}/${PN}-1.2.2-no_compress_man.patch" #733284 |
|
80 |
"${FILESDIR}/${PN}-1.2.2-plugin-path.patch" #907285 |
|
81 |
"${FILESDIR}/${PN}-1.2.2-kwidgetsaddons.patch" |
|
73 |
"${FILESDIR}/${PN}-9999-no_compress_man.patch" #733284 |
|
74 |
"${FILESDIR}/${PN}-9999-plugin-path.patch" #907285 |
|
82 | 75 |
) |
83 | 76 | |
84 | 77 |
src_prepare() { |
... | ... | |
90 | 83 |
} |
91 | 84 | |
92 | 85 |
src_configure() { |
93 |
# -Werror=odr |
|
94 |
# https://bugs.gentoo.org/860867 |
|
95 |
# https://github.com/LMMS/lmms/pull/6174 |
|
96 |
# |
|
97 |
# Fixed upstream, remove whenever they finally release a new version. |
|
98 |
filter-lto |
|
99 | ||
100 | 86 |
local mycmakeargs=( |
101 | 87 |
-DUSE_WERROR=FALSE |
102 | 88 |
-DWANT_CAPS=FALSE |
... | ... | |
104 | 90 |
-DWANT_SWH=FALSE |
105 | 91 |
-DWANT_CMT=FALSE |
106 | 92 |
-DWANT_CALF=FALSE |
107 |
-DWANT_QT5=TRUE |
|
108 | 93 |
-DWANT_ALSA=$(usex alsa) |
109 | 94 |
-DWANT_JACK=$(usex jack) |
110 | 95 |
-DWANT_GIG=$(usex libgig) |
... | ... | |
123 | 108 |
} |
124 | 109 | |
125 | 110 |
src_test() { |
126 |
# does not use ctest |
|
127 |
cmake_build tests/tests |
|
128 |
"${BUILD_DIR}"/tests/tests || die |
|
129 | ||
111 |
# tests are hidden inside a subdir and ctest does not detect them without |
|
112 |
# running inside that subdir |
|
113 |
local BUILD_DIR="${BUILD_DIR}/tests" |
|
114 |
cmake_src_test |
|
130 | 115 |
} |