Hopefully don't install extra SoundTouch libraries in Looper

This commit is contained in:
Zachary Hall 2024-09-28 16:22:59 -07:00
parent 010ed464fd
commit 2d8982888c

View file

@ -31,7 +31,7 @@ HOMEPAGE="https://complecwaft.com/catmeow/neko-player/"
# Point to any required sources; these will be automatically downloaded by
# Portage.
EGIT_REPO_URI="https://complecwaft.com/catmeow/neko-player.git"
EGIT_SUBMODULES=(subprojects/vgmstream subprojects/SDL-Mixer-X backends/ui/imgui/imgui backends/imgui/IconFontsCppHeaders subprojects/jsoncpp)
EGIT_SUBMODULES=(subprojects/vgmstream subprojects/SDL-Mixer-X backends/ui/imgui/imgui backends/imgui/IconFontsCppHeaders subprojects/jsoncpp subprojects/soundtouch)
# Source directory; the dir where the sources can be found (automatically
# unpacked) inside ${WORKDIR}. The default value for S is ${WORKDIR}/${P}
# If you don't need to change it, leave the S= line out of the ebuild
@ -98,7 +98,7 @@ RESTRICT="network-sandbox"
# Build-time dependencies that need to be binary compatible with the system
# being built (CHOST). These include libraries that we link against.
# The below is valid if the same run-time depends are required to compile.
DEPEND="media-libs/libsdl2 media-libs/sdl2-image media-libs/libsoundtouch dev-libs/jsoncpp media-sound/fluidsynth media-sound/mpg123 media-libs/libogg media-libs/opus media-libs/flac media-sound/wavpack media-libs/libmodplug dev-cpp/sdbus-c++ dev-libs/libfmt dev-libs/protobuf"
DEPEND="media-libs/libsdl2 media-libs/sdl2-image dev-libs/jsoncpp media-sound/fluidsynth media-sound/mpg123 media-libs/libogg media-libs/opus media-libs/flac media-sound/wavpack media-libs/libmodplug dev-cpp/sdbus-c++ dev-libs/libfmt dev-libs/protobuf"
# Build-time dependencies that are executed during the emerge process, and
# only need to be present in the native build system (CBUILD). Example:
@ -107,7 +107,7 @@ BDEPEND="virtual/pkgconfig"
# The following src_configure function is implemented as default by portage, so
# you only need to call it if you need a different behaviour.
src_configure() {
declare -a mycmakeargs=( -DDISABLE_GTK_UI=ON -DBUILD_SOUNDTOUCH=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo )
declare -a mycmakeargs=( -DDISABLE_GTK_UI=ON -DBUILD_SOUNDTOUCH=ON -DBUILD_SHARED_LIBS=OFF -DSOUNDSTRETCH=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo )
# Most open-source packages use GNU autoconf for configuration.
cmake_src_configure
}
@ -128,7 +128,11 @@ src_configure() {
# The following src_install function is implemented as default by portage, so
# you only need to call it, if you need different behaviour.
#src_install() {
src_install() {
cmake_src_install
rm -r "${D}/usr/include"
rm -r "${D}/usr/lib/cmake"
rm -r "${D}/usr/lib/pkgconfig"
# You must *personally verify* that this trick doesn't install
# anything outside of DESTDIR; do this by reading and
# understanding the install part of the Makefiles.
@ -152,7 +156,7 @@ src_configure() {
# install
# Again, verify the Makefiles! We don't want anything falling
# outside of ${D}.
#}
}
src_postinst() {
xdg_desktop_database_update
}