diff options
author | Alexis Ballier <aballier@gentoo.org> | 2011-04-03 15:14:32 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2011-04-03 15:14:32 +0000 |
commit | 844f488e12b9bcf1849560ae07e6209d9b97cea2 (patch) | |
tree | 31fb9ca9b4eed0eaf701802c71e46beb5bbd2911 /media-sound/lmms | |
parent | x86 stable wrt security bug #360189 (diff) | |
download | gentoo-2-844f488e12b9bcf1849560ae07e6209d9b97cea2.tar.gz gentoo-2-844f488e12b9bcf1849560ae07e6209d9b97cea2.tar.bz2 gentoo-2-844f488e12b9bcf1849560ae07e6209d9b97cea2.zip |
version bump
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/lmms')
-rw-r--r-- | media-sound/lmms/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/lmms/files/lmms-0.4.10-unembedfltk.patch | 51 | ||||
-rw-r--r-- | media-sound/lmms/lmms-0.4.10.ebuild | 67 |
3 files changed, 125 insertions, 1 deletions
diff --git a/media-sound/lmms/ChangeLog b/media-sound/lmms/ChangeLog index ce426cf7b679..0ae8e8bd7067 100644 --- a/media-sound/lmms/ChangeLog +++ b/media-sound/lmms/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/lmms # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/lmms/ChangeLog,v 1.19 2011/03/20 20:10:10 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/lmms/ChangeLog,v 1.20 2011/04/03 15:14:32 aballier Exp $ + +*lmms-0.4.10 (03 Apr 2011) + + 03 Apr 2011; Alexis Ballier <aballier@gentoo.org> +lmms-0.4.10.ebuild, + +files/lmms-0.4.10-unembedfltk.patch: + version bump 20 Mar 2011; Justin Lecher <jlec@gentoo.org> lmms-0.4.9.ebuild, lmms-0.4.9-r1.ebuild, lmms-0.4.9-r2.ebuild, lmms-0.4.9-r3.ebuild: diff --git a/media-sound/lmms/files/lmms-0.4.10-unembedfltk.patch b/media-sound/lmms/files/lmms-0.4.10-unembedfltk.patch new file mode 100644 index 000000000000..8ed5e6fa82fb --- /dev/null +++ b/media-sound/lmms/files/lmms-0.4.10-unembedfltk.patch @@ -0,0 +1,51 @@ +Index: lmms-0.4.10/plugins/zynaddsubfx/CMakeLists.txt +=================================================================== +--- lmms-0.4.10.orig/plugins/zynaddsubfx/CMakeLists.txt ++++ lmms-0.4.10/plugins/zynaddsubfx/CMakeLists.txt +@@ -47,7 +47,8 @@ IF(LMMS_BUILD_WIN32) + ADD_DEFINITIONS(-DPTW32_STATIC_LIB) + ENDIF(LMMS_BUILD_WIN32) + +-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/fltk/ ${CMAKE_CURRENT_SOURCE_DIR} ${FFTW3F_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR} ) ++FIND_PACKAGE(FLTK) ++INCLUDE_DIRECTORIES(${FLTK_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${FFTW3F_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR} ) + + set(ZASF_CORE_LIBS + zynaddsubfx_input +@@ -100,7 +101,7 @@ SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL + SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) + ADD_EXECUTABLE(RemoteZynAddSubFx RemoteZynAddSubFx.cpp ${ZYN_SRC_GUI} ${WINRC}) + INSTALL(TARGETS RemoteZynAddSubFx RUNTIME DESTINATION ${PLUGIN_DIR}) +-TARGET_LINK_LIBRARIES(RemoteZynAddSubFx -lpthread -L${CMAKE_CURRENT_BINARY_DIR} -lZynAddSubFxCore ${CMAKE_CURRENT_BINARY_DIR}/fltk/lib/libfltk.a) ++TARGET_LINK_LIBRARIES(RemoteZynAddSubFx -lpthread -L${CMAKE_CURRENT_BINARY_DIR} -lZynAddSubFxCore ${FLTK_LIBRARIES}) + ADD_DEPENDENCIES(RemoteZynAddSubFx ZynAddSubFxCore) + + # link system libraries when on win32 +@@ -108,27 +109,10 @@ IF(LMMS_BUILD_WIN32) + TARGET_LINK_LIBRARIES(RemoteZynAddSubFx ${QT_LIBRARIES} -lole32 -luuid -lcomctl32 -lgdi32 -lws2_32) + ENDIF(LMMS_BUILD_WIN32) + +-# FLTK needs X +-IF(LMMS_BUILD_LINUX) +- FIND_PACKAGE(X11) +- FIND_PACKAGE(Freetype) +- TARGET_LINK_LIBRARIES(RemoteZynAddSubFx -ldl ${X11_LIBRARIES} ${X11_Xft_LIB} ${X11_Xinerama_LIB} ${FREETYPE_LIBRARY} -lfontconfig) +-ENDIF(LMMS_BUILD_LINUX) +- +- + IF(LMMS_BUILD_WIN32) + ADD_CUSTOM_COMMAND(TARGET ZynAddSubFxCore POST_BUILD COMMAND ${STRIP} ${CMAKE_CURRENT_BINARY_DIR}/libZynAddSubFxCore.dll) + ADD_CUSTOM_COMMAND(TARGET RemoteZynAddSubFx POST_BUILD COMMAND ${STRIP} ${CMAKE_CURRENT_BINARY_DIR}/RemoteZynAddSubFx.exe) + ENDIF(LMMS_BUILD_WIN32) + +-# build FLTK +-IF(LMMS_BUILD_WIN64) +- SET(FLTK_EXTRA_FLAGS "-DCMAKE_TOOLCHAIN_FILE=${CMAKE_SOURCE_DIR}/cmake/modules/Win64Toolchain.cmake") +-ELSEIF(LMMS_BUILD_WIN32) +- SET(FLTK_EXTRA_FLAGS "-DCMAKE_TOOLCHAIN_FILE=${CMAKE_SOURCE_DIR}/cmake/modules/Win32Toolchain.cmake") +-ENDIF(LMMS_BUILD_WIN64) +-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}) +- +-ADD_DEPENDENCIES(RemoteZynAddSubFx libfltk) + ENDIF(LMMS_HAVE_FFTW3F) + diff --git a/media-sound/lmms/lmms-0.4.10.ebuild b/media-sound/lmms/lmms-0.4.10.ebuild new file mode 100644 index 000000000000..8c34ef11c27b --- /dev/null +++ b/media-sound/lmms/lmms-0.4.10.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/lmms/lmms-0.4.10.ebuild,v 1.1 2011/04/03 15:14:32 aballier Exp $ + +EAPI="2" + +inherit eutils cmake-utils + +DESCRIPTION="Free alternative to popular programs such as Fruityloops, Cubase and Logic" +HOMEPAGE="http://lmms.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="alsa debug fftw fluidsynth jack ogg portaudio pulseaudio sdl stk vst" + +RDEPEND="x11-libs/qt-core:4 + x11-libs/qt-gui:4[accessibility] + >=media-libs/libsndfile-1.0.11 + >=media-libs/libsamplerate-0.1.7 + x11-libs/libXinerama + alsa? ( media-libs/alsa-lib ) + fftw? ( sci-libs/fftw:3.0 >=x11-libs/fltk-1.3.0_rc3:1 ) + jack? ( >=media-sound/jack-audio-connection-kit-0.99.0 ) + ogg? ( media-libs/libvorbis + media-libs/libogg ) + fluidsynth? ( media-sound/fluidsynth ) + portaudio? ( >=media-libs/portaudio-19_pre ) + pulseaudio? ( media-sound/pulseaudio ) + sdl? ( media-libs/libsdl + >=media-libs/sdl-sound-1.0.1 ) + stk? ( media-libs/stk ) + vst? ( app-emulation/wine )" +DEPEND="${RDEPEND} + >=dev-util/cmake-2.4.5" +RDEPEND="${RDEPEND} + media-plugins/swh-plugins + media-plugins/caps-plugins + media-plugins/tap-plugins + media-libs/ladspa-cmt" + +DOCS="README AUTHORS TODO" + +PATCHES=( "${FILESDIR}/${P}-unembedfltk.patch" ) + +src_configure() { + mycmakeargs="${mycmakeargs} + -DWANT_SYSTEM_SR=TRUE + -DWANT_CAPS=FALSE + -DWANT_TAP=FALSE + -DWANT_SWH=FALSE + -DWANT_CMT=FALSE + -DWANT_CALF=TRUE + $(cmake-utils_use_want alsa ALSA) + $(cmake-utils_use_want fftw FFTW3F) + $(cmake-utils_use_want jack JACK) + $(cmake-utils_use_want ogg OGGVORBIS) + $(cmake-utils_use_want portaudio PORTAUDIO) + $(cmake-utils_use_want pulseaudio PULSEAUDIO) + $(cmake-utils_use_want sdl SDL) + $(cmake-utils_use_want stk STK) + $(cmake-utils_use_want vst VST) + $(cmake-utils_use_want fluidsynth SF2)" + cmake-utils_src_configure +} |