diff options
author | Jack <xxjack12xx@gmail.com> | 2021-10-27 08:18:00 +0000 |
---|---|---|
committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2021-10-30 09:43:03 +0000 |
commit | e9eb4687c7ca4e78a1fcc86ee071230ab16df350 (patch) | |
tree | b278d7c3deb89b96e4d2c7c1f6a54b036647788e /audio/audacity/files/patch-cmake-proxies_cmake-modules_Findlibmp3lame.cmake | |
parent | 6e5a9229f617b618a03fcfe40ed7efc58c9d2cc3 (diff) | |
download | ports-e9eb4687c7ca4e78a1fcc86ee071230ab16df350.tar.gz ports-e9eb4687c7ca4e78a1fcc86ee071230ab16df350.zip |
audio/audacity: Upgrade to 3.0.5
ChangeLog: https://wiki.audacityteam.org/wiki/Release_Notes_3.0.4
While here:
* Pet linters
* Add gdkpixbuf2 depdendency
PR: 258107
Reported by: xxjack12xx@gmail.com (maintainer)
Reviewed by: diizzy@, nc@, tatsuki_makino@hotmail.com
Diffstat (limited to 'audio/audacity/files/patch-cmake-proxies_cmake-modules_Findlibmp3lame.cmake')
-rw-r--r-- | audio/audacity/files/patch-cmake-proxies_cmake-modules_Findlibmp3lame.cmake | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/audio/audacity/files/patch-cmake-proxies_cmake-modules_Findlibmp3lame.cmake b/audio/audacity/files/patch-cmake-proxies_cmake-modules_Findlibmp3lame.cmake new file mode 100644 index 000000000000..04ba97036acb --- /dev/null +++ b/audio/audacity/files/patch-cmake-proxies_cmake-modules_Findlibmp3lame.cmake @@ -0,0 +1,32 @@ +--- cmake-proxies/cmake-modules/Findlibmp3lame.cmake.orig 2021-08-27 22:30:58 UTC ++++ cmake-proxies/cmake-modules/Findlibmp3lame.cmake +@@ -0,0 +1,29 @@ ++#[[ ++A module to look for libmp3lame ++]] ++ ++if( NOT libmp3lame_FOUND ) ++ find_path( libmp3lame_INCLUDE_DIR lame/lame.h ) ++ find_library( libmp3lame_LIBRARIES NAMES mp3lame ) ++ ++ if( libmp3lame_INCLUDE_DIR AND libmp3lame_LIBRARIES ) ++ set( libmp3lame_FOUND Yes ) ++ endif() ++ ++ if( libmp3lame_FOUND ) ++ if( NOT libmp3lame_FIND_QUIETLY ) ++ message( STATUS "Found lame: \n\tlibmp3lame_INCLUDE_DIR: ${libmp3lame_INCLUDE_DIR}\n\tlibmp3lame_LIBRARIES: ${libmp3lame_LIBRARIES}" ) ++ endif() ++ ++ if( NOT TARGET libmp3lame::libmp3lame ) ++ add_library( libmp3lame::libmp3lame INTERFACE IMPORTED GLOBAL) ++ ++ target_include_directories( libmp3lame::libmp3lame INTERFACE ${libmp3lame_INCLUDE_DIR} ) ++ target_link_libraries( libmp3lame::libmp3lame INTERFACE ${libmp3lame_LIBRARIES} ) ++ endif() ++ else() ++ if( libmp3lame_FIND_REQUIRED ) ++ message( FATAL_ERROR "Could not find libmp3lame") ++ endif() ++ endif() ++endif() |