diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2024-11-29 11:02:56 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-11-29 11:02:56 +0100 |
commit | fc571bfd98e5482285d20442e63b16e4497aa2f8 (patch) | |
tree | 3cb41805ef27c37940103d40fcd848ebb9ed2f00 /media-sound | |
parent | media-sound/strawberry: bump to 1.2.2, dropped 1.2.1 (diff) | |
download | gentoo-fc571bfd98e5482285d20442e63b16e4497aa2f8.tar.gz gentoo-fc571bfd98e5482285d20442e63b16e4497aa2f8.tar.bz2 gentoo-fc571bfd98e5482285d20442e63b16e4497aa2f8.zip |
media-sound/milkytracker: bump to 1.05.00
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/milkytracker/Manifest | 1 | ||||
-rw-r--r-- | media-sound/milkytracker/milkytracker-1.05.00.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/media-sound/milkytracker/Manifest b/media-sound/milkytracker/Manifest index f624777ce10c..5257496dbdc8 100644 --- a/media-sound/milkytracker/Manifest +++ b/media-sound/milkytracker/Manifest @@ -1 +1,2 @@ DIST milkytracker-1.04.00.tar.gz 3756275 BLAKE2B da4885592ae4aae87080c8979f92a77b05cb3cc4594fe328346deef949375ad3abb1910f5cc834f41b6d7278312deff45550300b96e3afbd89eedebe1fadd854 SHA512 5a41fa07d51880e220f15ff3f50e73b999931c875d31e627233669f5a07dfd38621478b8ec27b2242aa4ae6143a0d2ad51627a366fd366256331b71c47ad25da +DIST milkytracker-1.05.00.tar.gz 3787509 BLAKE2B f45e1277ce0ee41c7ceba9ce6da67d623c4e1490482bdbcf74c353fee393c1dfe625757d2b711f7ca5c4db8e2b06d12f520dee21147f5ea5c94d9a5583458e35 SHA512 06b2919b40194babb07f35cee224054366af82ecbba78d2e292fa9f097d44ad8bca4fb1b9e13ef7d959941d4669d8859dbc9306716e6ce8b19a16fc2093748fd diff --git a/media-sound/milkytracker/milkytracker-1.05.00.ebuild b/media-sound/milkytracker/milkytracker-1.05.00.ebuild new file mode 100644 index 000000000000..bb25b1831691 --- /dev/null +++ b/media-sound/milkytracker/milkytracker-1.05.00.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake desktop flag-o-matic xdg + +DESCRIPTION="FastTracker 2 inspired music tracker" +HOMEPAGE="https://milkytracker.titandemo.org/" +SRC_URI="https://github.com/milkytracker/MilkyTracker/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/MilkyTracker-${PV}" + +LICENSE="|| ( GPL-3 MPL-1.1 ) AIFFWriter.m BSD GPL-3 GPL-3+ LGPL-2.1+ MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="alsa jack" + +RDEPEND=" + dev-libs/zziplib + media-libs/libsdl2[X] + sys-libs/zlib + alsa? ( + media-libs/alsa-lib + media-libs/rtmidi + ) + jack? ( virtual/jack )" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-1.04.00-cxx-std.patch +) + +src_prepare() { + cmake_src_prepare +} + +src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/860870 + # https://github.com/milkytracker/MilkyTracker/issues/340 + filter-lto + + local mycmakeargs=( + $(cmake_use_find_package alsa ALSA) + $(cmake_use_find_package jack JACK) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + newicon resources/pictures/carton.png ${PN}.png + make_desktop_entry ${PN} MilkyTracker ${PN} \ + "AudioVideo;Audio;Sequencer" +} |