Changeset 118213


Ignore:
Timestamp:
Mar 25, 2014, 10:18:13 PM (7 years ago)
Author:
ryandesign@…
Message:

lmms: update to 1.0.0; add dependencies; use app portgroup

Location:
trunk/dports/multimedia/lmms
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/multimedia/lmms/Portfile

    r118210 r118213  
    33
    44PortSystem          1.0
     5PortGroup           app 1.0
    56PortGroup           cmake 1.0
    67PortGroup           qt4 1.0
     
    1011
    1112name                lmms
    12 version             0.4.15
     13version             1.0.0
    1314categories          multimedia
    1415maintainers         ryandesign openmaintainer
     
    2526platforms           darwin
    2627master_sites        sourceforge:project/lmms/lmms/${version}
     28use_bzip2           yes
     29distfiles           ${name}-${version}-src${extract.suffix}
    2730
    2831# https://sourceforge.net/p/lmms/bugs/571/
    2932use_parallel_build  no
    30 use_bzip2           yes
    3133
    32 checksums           rmd160  d660769cda53e0d6ca15f2e578478e8f27dbb851 \
    33                     sha256  0104caaea8adf7b51b0fc4ff2ab26364d1da5751a8fcbf6772704c8ef57a020b
     34checksums           rmd160  4cee3b94ad70f297067b0572424a350e6f2a85fc \
     35                    sha256  4949cac86ef311165bf75bc66ce3862e26c72d313809d924c932741d2421e7b5
    3436
    35 depends_lib-append  port:libsndfile \
    36                     port:libsdl \
    37                     port:portaudio \
    38                     port:fftw-3-single \
     37depends_lib-append  port:fftw-3-single \
     38                    path:lib/libfltk.dylib:fltk \
    3939                    port:fluidsynth \
    4040                    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
    4249
    43 patchfiles          patch-plugins-zynaddsubfx-CMakeLists.txt.diff \
     50patchfiles          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 \
    4454                    patch-plugins-zynaddsubfx-ZynAddSubFx.cpp.diff
    4555
     
    5060compiler.blacklist *clang*
    5161
    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
     62configure.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
    5670
    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
     71app.name                LMMS
     72app.icon                ${worksrcpath}/data/lmms.png
    6373
    6474platform darwin 8 {
  • trunk/dports/multimedia/lmms/files/patch-plugins-zynaddsubfx-CMakeLists.txt.diff

    r114860 r118213  
    1 --- plugins/zynaddsubfx/CMakeLists.txt.orig     2013-06-11 15:57:16.000000000 -0500
    2 +++ plugins/zynaddsubfx/CMakeLists.txt  2013-12-17 22:11:14.000000000 -0600
     1--- 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
    33@@ -21,6 +21,7 @@
    4         ${CMAKE_CURRENT_SOURCE_DIR}/src/UI/BankUI.cc
     4        "${CMAKE_CURRENT_SOURCE_DIR}/src/UI/BankUI.cc"
    55 )
    66 
     
    99 # definitions for ZynAddSubFX
    1010 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_LIBS
    19      zynaddsubfx_input
    20 @@ -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 win32
    29 @@ -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 FLTK
    34 -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.