diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-05-08 13:09:35 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-05-08 13:09:35 +0000 |
commit | 03b8ef41242e6c955fd52995b8f5a51f8681bf65 (patch) | |
tree | d602afdd8e1144e6658e566c86e57128c12432ce /media-sound/lmms | |
parent | Fix build at -O0 with recent glibcs, (diff) | |
download | gentoo-2-03b8ef41242e6c955fd52995b8f5a51f8681bf65.tar.gz gentoo-2-03b8ef41242e6c955fd52995b8f5a51f8681bf65.tar.bz2 gentoo-2-03b8ef41242e6c955fd52995b8f5a51f8681bf65.zip |
version bump, bug #467862
(Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'media-sound/lmms')
-rw-r--r-- | media-sound/lmms/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/lmms/files/lmms-0.4.14-unembedfltk.patch | 49 | ||||
-rw-r--r-- | media-sound/lmms/lmms-0.4.14.ebuild | 68 |
3 files changed, 124 insertions, 1 deletions
diff --git a/media-sound/lmms/ChangeLog b/media-sound/lmms/ChangeLog index 21d901b290c9..e41fe4252c66 100644 --- a/media-sound/lmms/ChangeLog +++ b/media-sound/lmms/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/lmms # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/lmms/ChangeLog,v 1.27 2013/03/17 15:38:55 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/lmms/ChangeLog,v 1.28 2013/05/08 13:09:35 aballier Exp $ + +*lmms-0.4.14 (08 May 2013) + + 08 May 2013; Alexis Ballier <aballier@gentoo.org> +lmms-0.4.14.ebuild, + +files/lmms-0.4.14-unembedfltk.patch: + version bump, bug #467862 17 Mar 2013; Markos Chandras <hwoarang@gentoo.org> metadata.xml: Add proxy-maintainers to metadata.xml diff --git a/media-sound/lmms/files/lmms-0.4.14-unembedfltk.patch b/media-sound/lmms/files/lmms-0.4.14-unembedfltk.patch new file mode 100644 index 000000000000..62e6f512eeea --- /dev/null +++ b/media-sound/lmms/files/lmms-0.4.14-unembedfltk.patch @@ -0,0 +1,49 @@ +Index: lmms-0.4.14/plugins/zynaddsubfx/CMakeLists.txt +=================================================================== +--- lmms-0.4.14.orig/plugins/zynaddsubfx/CMakeLists.txt ++++ lmms-0.4.14/plugins/zynaddsubfx/CMakeLists.txt +@@ -45,7 +45,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 +@@ -98,7 +99,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 +@@ -106,25 +107,7 @@ 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) diff --git a/media-sound/lmms/lmms-0.4.14.ebuild b/media-sound/lmms/lmms-0.4.14.ebuild new file mode 100644 index 000000000000..da64677ac0d2 --- /dev/null +++ b/media-sound/lmms/lmms-0.4.14.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/lmms/lmms-0.4.14.ebuild,v 1.1 2013/05/08 13:09:35 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 fluidsynth jack ogg portaudio pulseaudio sdl stk vst" + +RDEPEND="dev-qt/qtcore:4 + dev-qt/qtgui:4[accessibility] + >=media-libs/libsndfile-1.0.11 + >=media-libs/libsamplerate-0.1.7 + x11-libs/libXinerama + alsa? ( media-libs/alsa-lib ) + 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}/${PN}-0.4.14-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 + -DCMAKE_INSTALL_LIBDIR=$(get_libdir) + $(cmake-utils_use_want alsa ALSA) + $(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 +} |