Hopefully use custom CMake flags with build, instead of overriding the user option.
This commit is contained in:
parent
fa453e33dd
commit
010ed464fd
1 changed files with 4 additions and 20 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue