summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-07-05 22:29:46 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-07-05 22:29:55 +0200
commitbe98bd224e73ed749a270d19ef152ba36019adaa (patch)
tree8fe2af26a7625fcbb99b8d04d8dc523acb6ad24f /media-sound/lmms
parentprofiles/arch/arm: Mask portmidi[java] (diff)
downloadgentoo-be98bd224e73ed749a270d19ef152ba36019adaa.tar.gz
gentoo-be98bd224e73ed749a270d19ef152ba36019adaa.tar.bz2
gentoo-be98bd224e73ed749a270d19ef152ba36019adaa.zip
media-sound/lmms: Bump to version 1.2.2
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-sound/lmms')
-rw-r--r--media-sound/lmms/Manifest1
-rw-r--r--media-sound/lmms/lmms-1.2.2.ebuild108
2 files changed, 109 insertions, 0 deletions
diff --git a/media-sound/lmms/Manifest b/media-sound/lmms/Manifest
index f96ddd69c9c1..2565f68e2dfc 100644
--- a/media-sound/lmms/Manifest
+++ b/media-sound/lmms/Manifest
@@ -1 +1,2 @@
DIST lmms-1.2.1.tar.xz 14543092 BLAKE2B 23cdc201b32295634c5f50f258e5f63fb995cc4bbf7283c8230b35bc0c6ab26e36097860f574747747966e267c36b43d67b6e9e836a026351c48635c66a00aeb SHA512 7054d1592fdea60d76423a0260e941c217f50d2db9c4fcc35df20c8b58067c431ed9b264ef05e9f3f2cba84ca66870d1bf23da92b294a00ac6d567e3d3e771d6
+DIST lmms-1.2.2.tar.xz 22733960 BLAKE2B 8b561068194e9a4af8260675e784c25a92b6b2f731c29b677cbc16581306bbadcf27ea529adbcd735ff4adffedf3dd98ec7b2d89428a63ea600d022ecdae58e4 SHA512 df74d9e938f1c3807e9941b11db4ccfe9450e23b723c82774de15b7666ac39f1bfdd8519231e28849f994628190ecc92fa05d55bbc0b50a4421f2d183e729028
diff --git a/media-sound/lmms/lmms-1.2.2.ebuild b/media-sound/lmms/lmms-1.2.2.ebuild
new file mode 100644
index 000000000000..2c476fc93c5e
--- /dev/null
+++ b/media-sound/lmms/lmms-1.2.2.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# The order is important here! Both, cmake and xdg define src_prepare.
+# We need the one from cmake
+inherit xdg cmake
+
+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/lmms/releases/download/v${PV/_/-}/${PN}_${PV/_/-}.tar.xz -> ${P}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${P/_/-}"
+fi
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+
+IUSE="alsa debug fluidsynth jack libgig mp3 ogg portaudio pulseaudio sdl soundio stk vst"
+
+COMMON_DEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml: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 )
+ mp3? ( media-sound/lame )
+ 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? ( virtual/wine )
+"
+DEPEND="${COMMON_DEPEND}
+ dev-qt/qtx11extras:5
+"
+BDEPEND="
+ dev-qt/linguist-tools: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 )
+
+S="${WORKDIR}/${PN}"
+
+src_configure() {
+ local mycmakeargs+=(
+ -DUSE_WERROR=FALSE
+ -DWANT_CAPS=FALSE
+ -DWANT_TAP=FALSE
+ -DWANT_SWH=FALSE
+ -DWANT_CMT=FALSE
+ -DWANT_CALF=FALSE
+ -DWANT_QT5=TRUE
+ -DWANT_ALSA=$(usex alsa)
+ -DWANT_JACK=$(usex jack)
+ -DWANT_GIG=$(usex libgig)
+ -DWANT_MP3LAME=$(usex mp3)
+ -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_src_configure
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+}