From 010ed464fd60f5371444e5d0c2d9189feb64db2a Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Sat, 28 Sep 2024 16:14:27 -0700 Subject: [PATCH] Hopefully use custom CMake flags with build, instead of overriding the user option. --- media-sound/looper/looper-9999.ebuild | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/media-sound/looper/looper-9999.ebuild b/media-sound/looper/looper-9999.ebuild index 58b5d64..6a47a15 100644 --- a/media-sound/looper/looper-9999.ebuild +++ b/media-sound/looper/looper-9999.ebuild @@ -104,29 +104,13 @@ DEPEND="media-libs/libsdl2 media-libs/sdl2-image media-libs/libsoundtouch dev-li # only need to be present in the native build system (CBUILD). Example: BDEPEND="virtual/pkgconfig" -MYCMAKEARGS=( "-DDISABLE_GTK_UI=ON" "-DBUILD_SOUNDTOUCH=ON" "-DCMAKE_BUILD_TYPE=RelWithDebInfo") # 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() { +src_configure() { + declare -a mycmakeargs=( -DDISABLE_GTK_UI=ON -DBUILD_SOUNDTOUCH=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo ) # Most open-source packages use GNU autoconf for configuration. - # The default, quickest (and preferred) way of running configure is: - #econf - # - # You could use something similar to the following lines to - # configure your package before compilation. The "|| die" portion - # at the end will stop the build process if the command fails. - # You should use this at the end of critical commands in the build - # process. (Hint: Most commands are critical, that is, the build - # process should abort if they aren't successful.) - #./configure \ - # --host=${CHOST} \ - # --prefix=/usr \ - # --infodir=/usr/share/info \ - # --mandir=/usr/share/man || die - # Note the use of --infodir and --mandir, above. This is to make - # this package FHS 2.2-compliant. For more information, see - # https://wiki.linuxfoundation.org/lsb/fhs -#} + cmake_src_configure +} # The following src_compile function is implemented as default by portage, so # you only need to call it, if you need different behaviour.