Changeset 118213 for trunk/dports
- Timestamp:
- Mar 25, 2014, 10:18:13 PM (10 years ago)
- Location:
- trunk/dports/multimedia/lmms
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/multimedia/lmms/Portfile
r118210 r118213 3 3 4 4 PortSystem 1.0 5 PortGroup app 1.0 5 6 PortGroup cmake 1.0 6 7 PortGroup qt4 1.0 … … 10 11 11 12 name lmms 12 version 0.4.1513 version 1.0.0 13 14 categories multimedia 14 15 maintainers ryandesign openmaintainer … … 25 26 platforms darwin 26 27 master_sites sourceforge:project/lmms/lmms/${version} 28 use_bzip2 yes 29 distfiles ${name}-${version}-src${extract.suffix} 27 30 28 31 # https://sourceforge.net/p/lmms/bugs/571/ 29 32 use_parallel_build no 30 use_bzip2 yes31 33 32 checksums rmd160 d660769cda53e0d6ca15f2e578478e8f27dbb851\33 sha256 0104caaea8adf7b51b0fc4ff2ab26364d1da5751a8fcbf6772704c8ef57a020b34 checksums rmd160 4cee3b94ad70f297067b0572424a350e6f2a85fc \ 35 sha256 4949cac86ef311165bf75bc66ce3862e26c72d313809d924c932741d2421e7b5 34 36 35 depends_lib-append port:libsndfile \ 36 port:libsdl \ 37 port:portaudio \ 38 port:fftw-3-single \ 37 depends_lib-append port:fftw-3-single \ 38 path:lib/libfltk.dylib:fltk \ 39 39 port:fluidsynth \ 40 40 port:jack \ 41 path:lib/libfltk.dylib:fltk 41 port:libogg \ 42 port:libsamplerate \ 43 port:libsdl \ 44 port:libsndfile \ 45 port:libvorbis \ 46 port:portaudio \ 47 port:pulseaudio \ 48 port:xorg-libXext 42 49 43 patchfiles patch-plugins-zynaddsubfx-CMakeLists.txt.diff \ 50 patchfiles patch-CMakeLists.txt \ 51 patch-plugins-dynamics_processor-dynamics_processor.cpp.diff \ 52 patch-plugins-LadspaEffect-calf-CMakeLists.txt.diff \ 53 patch-plugins-zynaddsubfx-CMakeLists.txt.diff \ 44 54 patch-plugins-zynaddsubfx-ZynAddSubFx.cpp.diff 45 55 … … 50 60 compiler.blacklist *clang* 51 61 52 # Use bundled libsamplerate due to link problems with the external library 53 configure.args-append -DWANT_SYSTEM_SR=OFF 54 # Disable VST because it is not supported on OS X 55 configure.args-append -DWANT_VST=OFF 62 configure.args-append -DWANT_ALSA=OFF \ 63 -DWANT_JACK=ON \ 64 -DWANT_OGGVORBIS=ON \ 65 -DWANT_PORTAUDIO=ON \ 66 -DWANT_PULSEAUDIO=ON \ 67 -DWANT_SDL=ON \ 68 -DWANT_STK=OFF \ 69 -DWANT_VST=OFF 56 70 57 configure.args-append -DWANT_ALSA=OFF \ 58 -DWANT_PULSEAUDIO=OFF \ 59 -DWANT_SDL=ON \ 60 -DWANT_OGGVORBIS=ON \ 61 -DWANT_STK=OFF \ 62 -DWANT_JACK=ON 71 app.name LMMS 72 app.icon ${worksrcpath}/data/lmms.png 63 73 64 74 platform darwin 8 { -
trunk/dports/multimedia/lmms/files/patch-plugins-zynaddsubfx-CMakeLists.txt.diff
r114860 r118213 1 --- plugins/zynaddsubfx/CMakeLists.txt.orig 201 3-06-11 15:57:16.000000000 -05002 +++ plugins/zynaddsubfx/CMakeLists.txt 201 3-12-17 22:11:14.000000000 -06001 --- plugins/zynaddsubfx/CMakeLists.txt.orig 2014-03-23 18:00:39.000000000 -0500 2 +++ plugins/zynaddsubfx/CMakeLists.txt 2014-03-25 15:46:36.000000000 -0500 3 3 @@ -21,6 +21,7 @@ 4 ${CMAKE_CURRENT_SOURCE_DIR}/src/UI/BankUI.cc4 "${CMAKE_CURRENT_SOURCE_DIR}/src/UI/BankUI.cc" 5 5 ) 6 6 … … 9 9 # definitions for ZynAddSubFX 10 10 IF(LMMS_BUILD_LINUX OR LMMS_BUILD_APPLE) 11 @@ -45,7 +46,7 @@12 ADD_DEFINITIONS(-DPTW32_STATIC_LIB)13 ENDIF(LMMS_BUILD_WIN32)14 15 -INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/fltk/ ${CMAKE_CURRENT_SOURCE_DIR} ${FFTW3F_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR} )16 +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ${FFTW3F_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR} )17 18 set(ZASF_CORE_LIBS19 zynaddsubfx_input20 @@ -98,7 +99,7 @@21 SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)22 ADD_EXECUTABLE(RemoteZynAddSubFx RemoteZynAddSubFx.cpp ${ZYN_SRC_GUI} ${WINRC})23 INSTALL(TARGETS RemoteZynAddSubFx RUNTIME DESTINATION ${PLUGIN_DIR})24 -TARGET_LINK_LIBRARIES(RemoteZynAddSubFx -lpthread -L${CMAKE_CURRENT_BINARY_DIR} -lZynAddSubFxCore ${CMAKE_CURRENT_BINARY_DIR}/fltk/lib/libfltk.a)25 +TARGET_LINK_LIBRARIES(RemoteZynAddSubFx -lpthread -L${CMAKE_CURRENT_BINARY_DIR} -lZynAddSubFxCore -lfltk)26 ADD_DEPENDENCIES(RemoteZynAddSubFx ZynAddSubFxCore)27 28 # link system libraries when on win3229 @@ -119,12 +120,3 @@30 ADD_CUSTOM_COMMAND(TARGET RemoteZynAddSubFx POST_BUILD COMMAND ${STRIP} ${CMAKE_CURRENT_BINARY_DIR}/RemoteZynAddSubFx.exe)31 ENDIF(LMMS_BUILD_WIN32)32 33 -# build FLTK34 -IF(LMMS_BUILD_WIN64)35 - SET(FLTK_EXTRA_FLAGS "-DCMAKE_TOOLCHAIN_FILE=${CMAKE_SOURCE_DIR}/cmake/modules/Win64Toolchain.cmake")36 -ELSEIF(LMMS_BUILD_WIN32)37 - SET(FLTK_EXTRA_FLAGS "-DCMAKE_TOOLCHAIN_FILE=${CMAKE_SOURCE_DIR}/cmake/modules/Win32Toolchain.cmake")38 -ENDIF(LMMS_BUILD_WIN64)39 -ADD_CUSTOM_TARGET(libfltk COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/fltk && cd ${CMAKE_CURRENT_BINARY_DIR}/fltk && ${CMAKE_COMMAND} ${CMAKE_CURRENT_SOURCE_DIR}/fltk ${FLTK_EXTRA_FLAGS} -DCMAKE_MODULE_PATH=${CMAKE_SOURCE_DIR}/cmake/modules/ -DFLTK_USE_SYSTEM_ZLIB:BOOL=ON -DFLTK_USE_SYSTEM_JPEG:BOOL=ON -DFLTK_USE_SYSTEM_PNG:BOOL=ON -DOPTION_BUILD_EXAMPLES:BOOL=OFF -DCMAKE_BUILD_TYPE=release && ${CMAKE_BUILD_TOOL})40 -41 -ADD_DEPENDENCIES(RemoteZynAddSubFx libfltk)
Note: See TracChangeset
for help on using the changeset viewer.