media-sound/lmms: Bump to version 1.2.0_rc4
authorLars Wendler <polynomial-c@gentoo.org>
Thu, 30 Nov 2017 21:30:33 +0000 (22:30 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 30 Nov 2017 21:40:03 +0000 (22:40 +0100)
Package-Manager: Portage-2.3.16, Repoman-2.3.6

media-sound/lmms/Manifest
media-sound/lmms/lmms-1.2.0_rc4.ebuild [new file with mode: 0644]

index d5fa9d70bb94911069f8d1cafdeef0aeec9dc1d2..bd8d5a74f44e02046bb1998099b2e605d2b35fbf 100644 (file)
@@ -1 +1,2 @@
 DIST lmms-1.1.90.tar.gz 16580373 SHA256 007a4b7a6c7c09bd9e4262af0f03aafb8f0e4a627d88cfa80b845202f675cc4b SHA512 4e8bc4ec70c613b69ff14e463860e6f86236cb7b238529d41c4e9cc1b9642590110d1d07f87b9e2a4e139454c3a1f851f95a5eaef12e95660b50dd6ea17aa486 WHIRLPOOL 495de690f69d2e00c7d2f99e81384e189bf235aec6911f94029be984552856be3aa19f1a5f66293e97deadacc22dbd3cbbc0d2d7a42e7111484edf9d65c196fa
+DIST lmms-1.2.0_rc4.tar.gz 16596115 BLAKE2B ec8a132f900417749899b084915d31348e267aebcded218d919559f195ce4826091bc3576932d2fa9115c2e040ba73b84db05eeaca3fbcf33b930791241de990 SHA512 8f102f2a4f157da1b8477d4f73bd5b86e7d11453491f6764deed1c61654c0836e612e19d1dac33d154ed9d1b0a0c65084a0537be832c94e72b904264269b6a96
diff --git a/media-sound/lmms/lmms-1.2.0_rc4.ebuild b/media-sound/lmms/lmms-1.2.0_rc4.ebuild
new file mode 100644 (file)
index 0000000..1782844
--- /dev/null
@@ -0,0 +1,98 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils xdg-utils
+
+DESCRIPTION="Cross-platform music production software"
+HOMEPAGE="https://lmms.io"
+if [[ ${PV} == "9999" ]]; then
+       EGIT_REPO_URI="https://github.com/LMMS/lmms.git"
+       inherit git-r3
+else
+       SRC_URI="https://github.com/LMMS/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+       S="${WORKDIR}/${P/_/-}"
+fi
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+
+IUSE="alsa debug fluidsynth jack libgig ogg portaudio pulseaudio sdl soundio stk vst"
+
+COMMON_DEPEND="
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5
+       >=media-libs/libsamplerate-0.1.8
+       >=media-libs/libsndfile-1.0.11
+       sci-libs/fftw:3.0
+       sys-libs/zlib
+       >=x11-libs/fltk-1.3.0_rc3:1
+       alsa? ( media-libs/alsa-lib )
+       fluidsynth? ( media-sound/fluidsynth )
+       jack? ( virtual/jack )
+       libgig? ( media-libs/libgig )
+       ogg? (
+               media-libs/libogg
+               media-libs/libvorbis
+       )
+       portaudio? ( >=media-libs/portaudio-19_pre )
+       pulseaudio? ( media-sound/pulseaudio )
+       sdl? (
+               media-libs/libsdl
+               >=media-libs/sdl-sound-1.0.1
+       )
+       soundio? ( media-libs/libsoundio )
+       stk? ( media-libs/stk )
+       vst? ( || ( app-emulation/wine virtual/wine ) )
+"
+DEPEND="${COMMON_DEPEND}
+       dev-qt/linguist-tools:5
+       >=dev-util/cmake-2.4.5
+"
+RDEPEND="${COMMON_DEPEND}
+       media-libs/ladspa-cmt
+       media-plugins/calf
+       media-plugins/caps-plugins
+       media-plugins/swh-plugins
+       media-plugins/tap-plugins
+"
+
+DOCS=( README.md doc/AUTHORS )
+
+src_configure() {
+       local mycmakeargs+=(
+               -DUSE_WERROR=FALSE
+               -DWANT_SYSTEM_SR=TRUE
+               -DWANT_CAPS=FALSE
+               -DWANT_TAP=FALSE
+               -DWANT_SWH=FALSE
+               -DWANT_CMT=FALSE
+               -DWANT_CALF=FALSE
+               -DWANT_QT5=TRUE
+               -DCMAKE_INSTALL_LIBDIR=$(get_libdir)
+               -DWANT_ALSA=$(usex alsa)
+               -DWANT_JACK=$(usex jack)
+               -DWANT_GIG=$(usex libgig)
+               -DWANT_OGGVORBIS=$(usex ogg)
+               -DWANT_PORTAUDIO=$(usex portaudio)
+               -DWANT_PULSEAUDIO=$(usex pulseaudio)
+               -DWANT_SDL=$(usex sdl)
+               -DWANT_SOUNDIO=$(usex soundio)
+               -DWANT_STK=$(usex stk)
+               -DWANT_VST=$(usex vst)
+               -DWANT_SF2=$(usex fluidsynth)
+       )
+       cmake-utils_src_configure
+}
+
+pkg_postinst() {
+       xdg_mimeinfo_database_update
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       xdg_mimeinfo_database_update
+       xdg_desktop_database_update
+}