Hopefully don't install extra SoundTouch libraries in Looper
This commit is contained in:
parent
010ed464fd
commit
2d8982888c
1 changed files with 9 additions and 5 deletions
|
@ -31,7 +31,7 @@ HOMEPAGE="https://complecwaft.com/catmeow/neko-player/"
|
||||||
# Point to any required sources; these will be automatically downloaded by
|
# Point to any required sources; these will be automatically downloaded by
|
||||||
# Portage.
|
# Portage.
|
||||||
EGIT_REPO_URI="https://complecwaft.com/catmeow/neko-player.git"
|
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
|
# Source directory; the dir where the sources can be found (automatically
|
||||||
# unpacked) inside ${WORKDIR}. The default value for S is ${WORKDIR}/${P}
|
# 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
|
# 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
|
# Build-time dependencies that need to be binary compatible with the system
|
||||||
# being built (CHOST). These include libraries that we link against.
|
# being built (CHOST). These include libraries that we link against.
|
||||||
# The below is valid if the same run-time depends are required to compile.
|
# 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
|
# Build-time dependencies that are executed during the emerge process, and
|
||||||
# only need to be present in the native build system (CBUILD). Example:
|
# 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
|
# The following src_configure function is implemented as default by portage, so
|
||||||
# you only need to call it if you need a different behaviour.
|
# you only need to call it if you need a different behaviour.
|
||||||
src_configure() {
|
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.
|
# Most open-source packages use GNU autoconf for configuration.
|
||||||
cmake_src_configure
|
cmake_src_configure
|
||||||
}
|
}
|
||||||
|
@ -128,7 +128,11 @@ src_configure() {
|
||||||
|
|
||||||
# The following src_install function is implemented as default by portage, so
|
# The following src_install function is implemented as default by portage, so
|
||||||
# you only need to call it, if you need different behaviour.
|
# 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
|
# You must *personally verify* that this trick doesn't install
|
||||||
# anything outside of DESTDIR; do this by reading and
|
# anything outside of DESTDIR; do this by reading and
|
||||||
# understanding the install part of the Makefiles.
|
# understanding the install part of the Makefiles.
|
||||||
|
@ -152,7 +156,7 @@ src_configure() {
|
||||||
# install
|
# install
|
||||||
# Again, verify the Makefiles! We don't want anything falling
|
# Again, verify the Makefiles! We don't want anything falling
|
||||||
# outside of ${D}.
|
# outside of ${D}.
|
||||||
#}
|
}
|
||||||
src_postinst() {
|
src_postinst() {
|
||||||
xdg_desktop_database_update
|
xdg_desktop_database_update
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue