commit: 952083b37611ce32456d00806f7f5d4cea747075 Author: Artemis Everfree <artemis <AT> artemis <DOT> sh> AuthorDate: Mon Dec 4 07:15:19 2023 +0000 Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh> CommitDate: Mon Dec 4 07:15:19 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=952083b3
media-sound/furnace: new package, add 0.6 Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh> media-sound/furnace/Manifest | 2 + media-sound/furnace/furnace-0.6.ebuild | 67 ++++++++++++++++++++++++++++++++++ media-sound/furnace/metadata.xml | 13 +++++++ 3 files changed, 82 insertions(+) diff --git a/media-sound/furnace/Manifest b/media-sound/furnace/Manifest new file mode 100644 index 0000000000..b4d2687364 --- /dev/null +++ b/media-sound/furnace/Manifest @@ -0,0 +1,2 @@ +DIST furnace-0.6-adpcm-ef7a217.tar.gz 5497 BLAKE2B 94c2cb035f57a47b8232a4c30887fd86c405218a36ab6d68b817e1237328c5c23e82514822cb9a3e07cd9bbf72e2f1f3eb109b0ac3a4eec9f4668bd1521b7c11 SHA512 40b6f042a56532681e731da8d63c28abd3d824ce660060bc7e296ff9d1ad994d358189fc441458a86eb1506bce47f8364b09ebe1a2d475d308345058b7f4bfb0 +DIST furnace-0.6.tar.gz 44552370 BLAKE2B fd91ab161e309d6c3637fa0c70ea3100f70da98e0044ced1743b0f5416cf6fd9f4f4d307c87776c0a4cfd202ff118d814409bd69f23445443c22265c0630b1fc SHA512 e24aca8e26961c53121869aafa041bf507748e4d4886761ca4a755ad31ba98ce228114009ffb34333d6737fe4759bfa47cd733457863c2f767c01686728c3798 diff --git a/media-sound/furnace/furnace-0.6.ebuild b/media-sound/furnace/furnace-0.6.ebuild new file mode 100644 index 0000000000..d667337a16 --- /dev/null +++ b/media-sound/furnace/furnace-0.6.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg-utils + +DESCRIPTION="a multi-system chiptune tracker compatible with DefleMask modules" +HOMEPAGE="https://github.com/tildearrow/furnace" + +# when performing updates, check whether the project has switched to a new +# version of adpcm. adpcm doesn't seem to update frequently. +SRC_URI=" + https://github.com/tildearrow/furnace/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/superctr/adpcm/archive/ef7a217154badc3b99978ac481b268c8aab67bd8.tar.gz -> ${P}-adpcm-ef7a217.tar.gz +" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="jack" + +RDEPEND=" + dev-libs/libfmt + media-libs/alsa-lib + media-libs/libglvnd + media-libs/libsdl2 + media-libs/libsndfile + media-libs/portaudio + media-libs/rtmidi + sci-libs/fftw + sys-libs/zlib + x11-themes/hicolor-icon-theme + jack? ( virtual/jack ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + # adpcm is a git submodule in-tree, and thus not included in the + # github-generated source bundle. We move it in here. + rmdir -v "${S}/extern/adpcm" || die "couldn't remove existing adpcm stub directory" + mv -v "${WORKDIR}/adpcm-"* "${S}/extern/adpcm" || die "failed to move adpcm directory into place" + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DBUILD_GUI=ON + -DSYSTEM_FFTW=ON + -DSYSTEM_FMT=ON + -DSYSTEM_LIBSNDFILE=ON + -DSYSTEM_PORTAUDIO=ON + -DSYSTEM_RTMIDI=ON + -DSYSTEM_ZLIB=ON + -DSYSTEM_SDL2=ON + -DWITH_JACK="$(usex jack ON OFF)" + ) + cmake_src_configure +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/media-sound/furnace/metadata.xml b/media-sound/furnace/metadata.xml new file mode 100644 index 0000000000..43b4ae19ad --- /dev/null +++ b/media-sound/furnace/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <description>Primary maintainer</description> + <name>Artemis Everfree</name> + </maintainer> + <upstream> + <remote-id type="github">tildearrow/furnace</remote-id> + </upstream> +</pkgmetadata> +
