summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/yoshimi/yoshimi-1.3.8.2-r1.ebuild (renamed from media-sound/yoshimi/yoshimi-1.3.8.2.ebuild)11
1 files changed, 4 insertions, 7 deletions
diff --git a/media-sound/yoshimi/yoshimi-1.3.8.2.ebuild b/media-sound/yoshimi/yoshimi-1.3.8.2-r1.ebuild
index 68b5a5fd0c34..a5ae15ce05e7 100644
--- a/media-sound/yoshimi/yoshimi-1.3.8.2.ebuild
+++ b/media-sound/yoshimi/yoshimi-1.3.8.2-r1.ebuild
@@ -37,23 +37,20 @@ PATCHES=(
"${FILESDIR}/${P}-underlinking.patch"
"${FILESDIR}/${PN}-1.1.0-desktop-version.patch"
)
-DOCS="../Changelog"
-
-S=${WORKDIR}/${P}/src
+CMAKE_USE_DIR="${WORKDIR}/${P}/src"
src_prepare() {
- cd .. || die
- default
-
+ mv Change{l,L}og || die
sed -i \
-e '/set (CMAKE_CXX_FLAGS_RELEASE/d' \
-e "s:lib/lv2:$(get_libdir)/lv2:" \
src/CMakeLists.txt || die
+ cmake-utils_src_prepare
}
src_configure() {
local mycmakeargs=(
- -DBuildLV2Plugin=$(usex lv2 ON OFF)
+ -DBuildLV2Plugin=$(usex lv2)
)
cmake-utils_src_configure
}