aedi: update flac build options

do not build programs and tests, and remove related code and .gitignore entry
This commit is contained in:
alexey.lysiuk 2022-09-10 10:42:33 +03:00
parent 96ef1befe0
commit 0be800b3da
2 changed files with 2 additions and 4 deletions

View file

@ -82,10 +82,10 @@ class FlacTarget(CMakeStaticDependencyTarget):
def configure(self, state: BuildState):
opts = state.options
opts['CMAKE_EXE_LINKER_FLAGS'] = f'-framework CoreFoundation -L{state.lib_path}'
opts['BUILD_CXXLIBS'] = 'NO'
opts['BUILD_EXAMPLES'] = 'NO'
opts['OGG_PACKAGE'] = 'ogg'
opts['BUILD_PROGRAMS'] = 'NO'
opts['BUILD_TESTING'] = 'NO'
super().configure(state)
@ -93,7 +93,6 @@ class FlacTarget(CMakeStaticDependencyTarget):
super().post_build(state)
shutil.copytree(state.install_path / 'share/FLAC/cmake', state.install_path / 'lib/cmake/FLAC')
self.keep_module_target(state, 'FLAC::FLAC')
class FluidSynthTarget(CMakeStaticDependencyTarget):

1
deps/.gitignore vendored
View file

@ -4,7 +4,6 @@
# Libraries, tier 1
/bzip2/bin/
/bzip2/man/
/flac/bin/
/flac/include/FLAC++/
/fluidsynth/bin/
/glib/bin/gdbus*