diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-30 13:14:10 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-30 13:14:10 +0000 |
commit | be3b27c21c5761f8ff9688e4d468045abaddb9c4 (patch) | |
tree | dda69b93e438e718aefefc19b5393aae50a650cd /media-sound | |
parent | 170de61465af51be213eb93e0da4077f06fe7506 (diff) |
gentoo auto-resync : 30:03:2024 - 13:14:10
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/Manifest.gz | bin | 57580 -> 57591 bytes | |||
-rw-r--r-- | media-sound/alsa-scarlett-gui/Manifest | 7 | ||||
-rw-r--r-- | media-sound/alsa-scarlett-gui/alsa-scarlett-gui-0.4.0.ebuild (renamed from media-sound/alsa-scarlett-gui/alsa-scarlett-gui-0.3.3-r1.ebuild) | 8 | ||||
-rw-r--r-- | media-sound/alsa-scarlett-gui/files/alsa-scarlett-gui-0.3.3-cflags.patch | 32 | ||||
-rw-r--r-- | media-sound/alsa-scarlett-gui/files/alsa-scarlett-gui-0.3.3-fabs.patch | 33 | ||||
-rw-r--r-- | media-sound/alsa-scarlett-gui/files/alsa-scarlett-gui-0.4.0-no-Werror.patch | 11 | ||||
-rw-r--r-- | media-sound/fluidsynth/Manifest | 2 | ||||
-rw-r--r-- | media-sound/fluidsynth/fluidsynth-2.3.5.ebuild | 149 | ||||
-rw-r--r-- | media-sound/schismtracker/Manifest | 2 | ||||
-rw-r--r-- | media-sound/schismtracker/schismtracker-20240328.ebuild | 47 |
10 files changed, 219 insertions, 72 deletions
diff --git a/media-sound/Manifest.gz b/media-sound/Manifest.gz Binary files differindex 9545ead80a1f..25ba2ccf50da 100644 --- a/media-sound/Manifest.gz +++ b/media-sound/Manifest.gz diff --git a/media-sound/alsa-scarlett-gui/Manifest b/media-sound/alsa-scarlett-gui/Manifest index f037ba2d4804..f430b3885902 100644 --- a/media-sound/alsa-scarlett-gui/Manifest +++ b/media-sound/alsa-scarlett-gui/Manifest @@ -1,5 +1,4 @@ -AUX alsa-scarlett-gui-0.3.3-cflags.patch 1071 BLAKE2B 994958c3e4395229f0b9c31eac5e9050f46d98241224fba8c09b31e2cdfda91bff762a4c72c7f5441010f7d60e48a0942c51e4430d0190f6b167d753defffc02 SHA512 a7dd3cfd4318858d733dafeeaf6ea52de91b10e7d0cc8392295b7a0020745b7ed0edad8fb8e7892ff4bc81187f627c144e08beb364f881bcdd7b91686b5e8e8c -AUX alsa-scarlett-gui-0.3.3-fabs.patch 1165 BLAKE2B a5da1ef2709b94c4bb83cf2b097baef61176d359642c009de1927d72f0b7bd49a082801f13f1c68d8e6bfa62030195ad631f94f08a9153dc5de71ff01202a8cb SHA512 440e70e63de07def071f18db14c0be98483cb2839ab4f572c000ce4f1dd9aa8aa915aa9c13fbdca7dd94764f0edfed30248caf1629604d619794c54109f1ed68 -DIST alsa-scarlett-gui-0.3.3.tar.gz 3113190 BLAKE2B 16128c8795c4a4ebd9d711f64dad1dd0e38ba17e34a50d17cf43b8ce454409ee2a5bc817120d5b421b367d3f1e5ef0f9f7868fb1109af6edb8d820579cad7b14 SHA512 38b0e8cb0bb1d9039463d7635ee81ad1ae477628b885f5f1f3601c163369ff59c7effbba140fb761b26dca7cf9c0f6b5a3f8db0b68a8c604078fe8f08cea082f -EBUILD alsa-scarlett-gui-0.3.3-r1.ebuild 622 BLAKE2B b27e814cdb268dd928842b6cae287e97a31d0ecf84cef1cdb071f38994e9d319665d7fdc40a5b979f0ee080e242cb49d1d50c096c4e49a75429a6fb89140ec76 SHA512 73c7db7f2827d28c8cab1906d75c42047ce074667f0782d53e63b5108b8985b1d36be15b808fe5e582b3311c328138ed4a08ba20dbf69f5d9597c087665da56d +AUX alsa-scarlett-gui-0.4.0-no-Werror.patch 332 BLAKE2B 571f7774182bbce3cfdbcb6a00848628845990252fba243f876d4e2bc0879cf4374fed30c6338003a4403f231e1dec599a090a5a0b29db3f0162fed3223ab187 SHA512 ab27e16a46caf509d6b428262962d4df5122ebfd092f13069e66c128b98433780452fb4babd0116f1bfadb2900f451c8a1f069b4d93a9bf8979ee28cbc3c686a +DIST alsa-scarlett-gui-0.4.0.tar.gz 3434771 BLAKE2B 5bdab633a8271e99eec06aac8b9629ad50eb9a4cf892fe962f30848fc7644036093056d0db75f60accd13757dbeb578c0cfa365aa6dcd2655985564e1039a7d9 SHA512 9cc316f153cd197823295dc57012931f75b3cb06f9ea87661853626e3d9326ce1a433adfb8af23bcdc1e76f9ab59d2175bee9e3d02da0b4a7b3365caf734e1e2 +EBUILD alsa-scarlett-gui-0.4.0.ebuild 616 BLAKE2B 87071f9f2f0244e7d246e0655bfe97d6c47c098aa0209e03d5c3116c7b2fff744b68a03ebcd585aa30c6496c4e7ff1b96346d9b5ba0fd15a6f9aae49ff62cd36 SHA512 f0dbe8a9611ad9beb57b8d873a08b92c8a6f36a2a636fbd5ba7d9ebe53d6cc2cab290a7c517d357561bcc257dbf5b32219f65bea6a9fe0e26d11ea99823ace10 MISC metadata.xml 453 BLAKE2B 6de6fb3e0f17b2e5e760efb9a429afae2b96b2825d597a8d13232c93bcbe1f2cecf16804c66931be07fac9af3944a7293299cbdef6325cc20407b3e16a23032c SHA512 f7f52d3834a241b92a46ec49d1560dc273ece1fc86abe1dfcb492f04efa53e5af7f156d229f17f76dcccbc8566df32889b30a650d31979234b2fed52a170b92f diff --git a/media-sound/alsa-scarlett-gui/alsa-scarlett-gui-0.3.3-r1.ebuild b/media-sound/alsa-scarlett-gui/alsa-scarlett-gui-0.4.0.ebuild index 8f4c27ffd11c..0961a09d3b1e 100644 --- a/media-sound/alsa-scarlett-gui/alsa-scarlett-gui-0.3.3-r1.ebuild +++ b/media-sound/alsa-scarlett-gui/alsa-scarlett-gui-0.4.0.ebuild @@ -1,8 +1,10 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +inherit xdg + DESCRIPTION="A UI for Focusrite Scarlett and Clarett audio interfaces" HOMEPAGE="https://github.com/geoffreybennett/alsa-scarlett-gui" SRC_URI="https://github.com/geoffreybennett/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" @@ -20,9 +22,9 @@ RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" PATCHES=( - "${FILESDIR}"/"${P}"-cflags.patch - "${FILESDIR}"/"${P}"-fabs.patch + "${FILESDIR}/${PN}-0.4.0-no-Werror.patch" ) + MAKEOPTS="${MAKEOPTS} -C src" export PREFIX="/usr" diff --git a/media-sound/alsa-scarlett-gui/files/alsa-scarlett-gui-0.3.3-cflags.patch b/media-sound/alsa-scarlett-gui/files/alsa-scarlett-gui-0.3.3-cflags.patch deleted file mode 100644 index 696df40d6269..000000000000 --- a/media-sound/alsa-scarlett-gui/files/alsa-scarlett-gui-0.3.3-cflags.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 00c84902e508c20c61b003a64f772cfe82f18d43 Mon Sep 17 00:00:00 2001 -From: "Jason A. Donenfeld" <Jason@zx2c4.com> -Date: Fri, 1 Dec 2023 04:39:56 +0100 -Subject: [PATCH] Makefile: prefer distro cflags if specified - -The compilation flags that are necessary for building and part of the -developer's intentions belong in the `+=` section, but the base flags -that distros like to override belong in a `?=` section, so that build -systems using their own are respected. - -Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> ---- - src/Makefile | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/Makefile b/src/Makefile -index 2c9d51b..bba8d42 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -12,7 +12,8 @@ VERSION := $(shell \ - DEPDIR := .deps - DEPFLAGS = -MT $@ -MMD -MP -MF $(DEPDIR)/$*.d - --CFLAGS += -Wall -Werror -ggdb -fno-omit-frame-pointer -O2 -D_FORTIFY_SOURCE=2 -+CFLAGS ?= -ggdb -fno-omit-frame-pointer -O2 -+CFLAGS += -Wall -Werror -D_FORTIFY_SOURCE=2 - CFLAGS += -DVERSION=\"$(VERSION)\" - CFLAGS += -Wno-error=deprecated-declarations - --- -2.42.0 - diff --git a/media-sound/alsa-scarlett-gui/files/alsa-scarlett-gui-0.3.3-fabs.patch b/media-sound/alsa-scarlett-gui/files/alsa-scarlett-gui-0.3.3-fabs.patch deleted file mode 100644 index 31f21bed199a..000000000000 --- a/media-sound/alsa-scarlett-gui/files/alsa-scarlett-gui-0.3.3-fabs.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 883541a1073e5bd2f8a8f759db56e48d90a2f448 Mon Sep 17 00:00:00 2001 -From: "Jason A. Donenfeld" <Jason@zx2c4.com> -Date: Tue, 5 Dec 2023 00:00:34 +0100 -Subject: [PATCH] gtkdial: use fabs() for double - -Passing a double to abs() truncates it to an integer, which is probably -not intended, and also causes fatal errors on clang. - -Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> ---- - src/gtkdial.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/src/gtkdial.c b/src/gtkdial.c -index ce06515..931b06b 100644 ---- a/src/gtkdial.c -+++ b/src/gtkdial.c -@@ -832,9 +832,9 @@ gtk_dial_scroll_controller_scroll (GtkEventControllerScroll *scroll, - double dy, - GtkDial *dial) - { -- double delta = dx ? dx : dy; -- if (abs(delta) > 1) -- delta *= abs(delta); -+ double delta = dx ? dx : dy, absolute_delta = fabs(delta); -+ if (absolute_delta > 1) -+ delta *= absolute_delta; - double step = -gtk_adjustment_get_step_increment(dial->adj)*delta; - - set_value(dial, gtk_adjustment_get_value(dial->adj) + step); --- -2.42.0 - diff --git a/media-sound/alsa-scarlett-gui/files/alsa-scarlett-gui-0.4.0-no-Werror.patch b/media-sound/alsa-scarlett-gui/files/alsa-scarlett-gui-0.4.0-no-Werror.patch new file mode 100644 index 000000000000..e6c98f5c4889 --- /dev/null +++ b/media-sound/alsa-scarlett-gui/files/alsa-scarlett-gui-0.4.0-no-Werror.patch @@ -0,0 +1,11 @@ +--- a/src/Makefile ++++ b/src/Makefile +@@ -13,7 +13,7 @@ DEPDIR := .deps + DEPFLAGS = -MT $@ -MMD -MP -MF $(DEPDIR)/$*.d + + CFLAGS ?= -ggdb -fno-omit-frame-pointer -O2 +-CFLAGS += -Wall -Werror -D_FORTIFY_SOURCE=2 ++CFLAGS += -Wall -D_FORTIFY_SOURCE=2 + CFLAGS += -DVERSION=\"$(VERSION)\" + CFLAGS += -Wno-error=deprecated-declarations + diff --git a/media-sound/fluidsynth/Manifest b/media-sound/fluidsynth/Manifest index 29b2b835a1c3..49391400de14 100644 --- a/media-sound/fluidsynth/Manifest +++ b/media-sound/fluidsynth/Manifest @@ -1,3 +1,5 @@ DIST fluidsynth-2.3.4.tar.gz 1775291 BLAKE2B 5146c1f0243ac1fcc3d4f29ea65bb03b326c59bf9de1f53def447f4a924c7fdde31f8b33300051d2e7765087fb8bbdba3643b03c537e3366b02ca42b3b9d4311 SHA512 79891116d78b9be1c38bce9e5759b9bb732c3d8ee31c6e57d1a3e2b5548879b91d19582e73ee7fb0fd243beba3bf1bbc341a26aab0b6440eef36fc55dce3e8b0 +DIST fluidsynth-2.3.5.tar.gz 1775448 BLAKE2B 11f04d2a508f54c4bd03c867e81528f36eeb5698ad017d7fe778349b5ab91dc9e518d426d2394e748344795b8c1bf86eeaee97294ad66974db07587d0a80797a SHA512 35eaea8c1709ebbd5dee8f3946ab59c39afe31d92b972a44013fa23987aa48936f7d1326d5bda81c6e66f02bf988e48601367d49276a4dd78dbca7a2571f5e57 EBUILD fluidsynth-2.3.4-r1.ebuild 4017 BLAKE2B 12a779cdbca3bcb05c428d57a9f063634cc72870f0baf954096af7b3235ea284d0971054e0721194570a28777172ac4bd49b657882182569fe12a01a5c85d3fb SHA512 f83ce5a5250de7153e4407878ba1af8baf46ded702a009b75ecebb0c352ac6530891e73f38bfe89975d0abef5d973c73f0d58d20d49b21a3359afff4d036c78f +EBUILD fluidsynth-2.3.5.ebuild 4024 BLAKE2B 78d6321b7184fa8ed7323d93f246d3c308ae1d31e7de6898234a96e7c75e9670eb737c3e73615d5de4544bff71c567e47e09c2f4e5dc4f6f06936f7378484995 SHA512 e26780e755275b83f553d49e0ca0018d8cd1ef9c041a4eff1314d24cf863ac4d2749ad5af4d75ac42f9360a184320a2a9a4d9197f8676fac87f47133d7f2aadc MISC metadata.xml 509 BLAKE2B f94b91d9486a14757aa47e69269d6321fb330556f24ac0d2d47d7734bc28164d9cff5d7ff7728aa6d59606006bc4bfa090662b9dd087a6bf36ae23660604938a SHA512 7bf5aeb69570ef736dc6a1a3d652449b0142978ee5e6ed9902d4f851deea87c8fb94bee821ee9ae93bc529411f336288021718490e86c2815de5d30111bd3b28 diff --git a/media-sound/fluidsynth/fluidsynth-2.3.5.ebuild b/media-sound/fluidsynth/fluidsynth-2.3.5.ebuild new file mode 100644 index 000000000000..6a33c564f64d --- /dev/null +++ b/media-sound/fluidsynth/fluidsynth-2.3.5.ebuild @@ -0,0 +1,149 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib multibuild systemd toolchain-funcs + +DESCRIPTION="Software real-time synthesizer based on the Soundfont 2 specifications" +HOMEPAGE="https://www.fluidsynth.org" +SRC_URI="https://github.com/FluidSynth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0/3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="alsa dbus debug doc ipv6 jack ladspa lash network oss pipewire portaudio pulseaudio +readline sdl +sndfile systemd threads" + +BDEPEND=" + virtual/pkgconfig + doc? ( + app-text/doxygen + dev-libs/libxslt + ) +" +DEPEND=" + dev-libs/glib:2[${MULTILIB_USEDEP}] + alsa? ( + media-libs/alsa-lib[${MULTILIB_USEDEP}] + lash? ( media-sound/lash[${MULTILIB_USEDEP}] ) + ) + dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] ) + jack? ( virtual/jack[${MULTILIB_USEDEP}] ) + ladspa? ( + media-libs/ladspa-sdk[${MULTILIB_USEDEP}] + media-plugins/cmt-plugins[${MULTILIB_USEDEP}] + ) + pipewire? ( + media-video/pipewire:0=[${MULTILIB_USEDEP}] + ) + portaudio? ( media-libs/portaudio[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] ) + readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] ) + sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] ) + sndfile? ( media-libs/libsndfile[${MULTILIB_USEDEP}] ) +" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS ChangeLog README.md THANKS TODO doc/fluidsynth-v20-devdoc.txt ) + +src_prepare() { + # https://bugs.gentoo.org/833979#c17 + sed -i "/CONFIGURE_COMMAND/{n;s/$/ -DCMAKE_C_COMPILER=$(tc-getBUILD_CC)/}" \ + src/CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -Denable-alsa=$(usex alsa) + -Denable-aufile=ON + -Denable-dbus=$(usex dbus) + -Denable-dsound=OFF # Windows + -Denable-floats=OFF # loat instead of double for DSP samples + -Denable-fpe-check=$(usex debug) + -Denable-ipv6=$(usex ipv6) + -Denable-jack=$(usex jack) + -Denable-ladspa=$(usex ladspa) + -Denable-libinstpatch=OFF # https://github.com/swami/libinstpatch + -Denable-midishare=OFF # http://midishare.sourceforge.net/ + -Denable-network=$(usex network) + -Denable-opensles=OFF + -Denable-oboe=OFF # requires OpenSLES and/or AAudio + -Denable-oss=$(usex oss) + -Denable-libsndfile=$(usex sndfile) + -Denable-portaudio=$(usex portaudio) + -Denable-profiling=$(usex debug) + -Denable-pulseaudio=$(usex pulseaudio) + -Denable-pipewire=$(usex pipewire) + -Denable-readline=$(usex readline) + -Denable-sdl2=$(usex sdl) + -Denable-systemd=$(usex systemd) + -Denable-threads=$(usex threads) + -Denable-trap-on-fpe=$(usex debug) + -Denable-ubsan=OFF # compile and link against UBSan (for debugging fluidsynth internals) + -Denable-waveout=OFF # Windows + -Denable-winmidi=OFF # Windows + $(cmake_use_find_package doc Doxygen) + ) + + if use alsa; then + mycmakeargs+=( -Denable-lash=$(usex lash) ) + else + mycmakeargs+=( -Denable-lash=OFF ) + fi + + if use systemd; then + mycmakeargs+=( -DFLUID_DAEMON_ENV_FILE="/etc/fluidsynth.conf" ) + fi + + cmake-multilib_src_configure +} + +compile_doxygen_doc() { + multilib_is_native_abi && cmake_build doxygen +} + +src_compile() { + cmake-multilib_src_compile + use doc && multilib_foreach_abi compile_doxygen_doc +} + +install_doxygen_doc() { + if multilib_is_native_abi; then + docinto . + dodoc -r "${BUILD_DIR}/doc/api/html" + fi +} + +install_systemd_files() { + if multilib_is_native_abi; then + systemd_dounit "${BUILD_DIR}/fluidsynth.service" + insinto /etc + doins "${BUILD_DIR}/fluidsynth.conf" + fi +} + +multilib_src_test() { + eninja check +} + +src_install() { + cmake-multilib_src_install + + docinto pdf + dodoc doc/*.pdf + + docinto examples + dodoc doc/examples/*.c + + if use doc; then + multilib_foreach_abi install_doxygen_doc + fi + if use systemd; then + multilib_foreach_abi install_systemd_files + + elog "When using fluidsynth as a systemd service, make sure" + elog "to configure your fluidsynth settings globally in " + elog "/etc/fluidsynth.conf or per-user in ~/.config/fluidsynth" + fi +} diff --git a/media-sound/schismtracker/Manifest b/media-sound/schismtracker/Manifest index 7fe5e9c50ae5..6cfca24a6988 100644 --- a/media-sound/schismtracker/Manifest +++ b/media-sound/schismtracker/Manifest @@ -1,5 +1,7 @@ DIST schismtracker-20240129.source.tar.gz 1400110 BLAKE2B df6f84ca08670c45a9085970ab3e3b2fd52eddd20c1ccdc983acb0c8cc04737a78d130648e460c95f7f1553d6f9b787a9ad0dfbcf6fbf81de52f28953b740c75 SHA512 fa80ec394fa3fd603dd0ef4703edff2fda0ce8f8100343dbf3bdfb7fc48e2633b42ac3a6205fb5c08873a217f0eb301b6b529b540b96ce5d685c5aa3dd082707 DIST schismtracker-20240308.source.tar.gz 1162477 BLAKE2B bfb7028322cfaccdfd5f253d90f5b609ba514421c3daae742de9dbe4b4d7a2a8fa5e85cfc85e1dcc8aeceac9d9c286e7ec5787ff071ceeab329008249e1644d8 SHA512 4a23e3c90ff464980c94e2b44a8ca4f7b41c4abc57061d022f8ff6cf2c1098ffd76f202f4ad00ae5256ca7c8a3c8fbd1c2bc7869a81828a611e219da03974f11 +DIST schismtracker-20240328.source.tar.gz 1162427 BLAKE2B fe7b0337d4d3260242c30d6d6abb9cf94d88e0e4f48390499bbc27c2293f18c3db1da2ec0f3d1acc4b0912d80b48370feb7c9acefe88c2a10781726442b692c5 SHA512 83ed2e4cb9c872bb1678e32dea7195f240df6509b7f031708b8101c7a94337cafc50333ae70641f1eabab1c49dd8420443f3c5ae544317f22b8df15122c02e54 EBUILD schismtracker-20240129.ebuild 1327 BLAKE2B d64dc1dafbcbadbe6e5257de1806653f663a1534af42fc872b6dc5d4d277412b9e0819e8559d0da01b3c8c30d83a7d306c9bd0c1ea2ac04157eae8be5625a648 SHA512 4ec77fee019fc2bba2db332d1a1c381073882a88e80beb85c741058161d28b965277a436ce37ef3d5b73447784aafa594103d3af1d871c85cc0416c52e9e87bc EBUILD schismtracker-20240308.ebuild 1319 BLAKE2B 23c25a3721c9794cb88eef64bc0423656fc9169d2863d4093b59f2b400fd88c91e811e92480e6851cbc5cadb27c7b6d109b790edc7c31018cf6a4a9f2521942d SHA512 d2d6925adfae5952afee421c38bd3788d64228e51a6a50be108350d0f5417fe58a4512c23dde412316db1f24e759fed1135c33c52876eff28164c5e868f783fc +EBUILD schismtracker-20240328.ebuild 1319 BLAKE2B 23c25a3721c9794cb88eef64bc0423656fc9169d2863d4093b59f2b400fd88c91e811e92480e6851cbc5cadb27c7b6d109b790edc7c31018cf6a4a9f2521942d SHA512 d2d6925adfae5952afee421c38bd3788d64228e51a6a50be108350d0f5417fe58a4512c23dde412316db1f24e759fed1135c33c52876eff28164c5e868f783fc MISC metadata.xml 356 BLAKE2B d0dafca63357e3b8b2fd8658b79f4f3e62202273f63dd59fbe1cdd7255a66ac2199854ee1adc870cb5b82ae18c294e65a5504163347920480e851a914dcc1fb6 SHA512 5c0f821a6f33b5a06ea18319e989c38714d2cc06bd2049b4e52fef62fdfe93b2e1a2e2c97c4776ebcd9cc10ecd3039b1f805faf5acc63cd20d60d3b4d05d4e3d diff --git a/media-sound/schismtracker/schismtracker-20240328.ebuild b/media-sound/schismtracker/schismtracker-20240328.ebuild new file mode 100644 index 000000000000..9f693420ffe6 --- /dev/null +++ b/media-sound/schismtracker/schismtracker-20240328.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop xdg + +DESCRIPTION="Free implementation of Impulse Tracker, a tool used to create high quality music" +HOMEPAGE="http://schismtracker.org/" +SRC_URI="https://github.com/schismtracker/schismtracker/releases/download/${PV}/${P}.source.tar.gz" + +LICENSE="GPL-2 LGPL-2 public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=media-libs/libsdl2-2.0.5[X] + x11-libs/libX11 + x11-libs/libXv +" +DEPEND="${RDEPEND} + virtual/os-headers + x11-base/xorg-proto +" + +src_prepare() { + default + + # workaround for temporary files (missing directory). Fixes: + # sh ./scripts/build-font.sh . font/default-lower.fnt font/default-upper-alt.fnt \ + # font/default-upper-itf.fnt font/half-width.fnt >auto/default-font.c + # /bin/sh: auto/default-font.c: No such file or directory + mkdir auto || die + + # sys-devel/binutils[multitarget] provides ${CHOST}-windres + # wine provides /usr/bin/windres + # and schismtracker fails to use it properly: + # sys/win32/schismres.rc:2:20: fatal error: winver.h: No such file or directory + [[ ${CHOST} = *mingw32* ]] || export WINDRES= ac_cv_prog_WINDRES= ac_cv_prog_ac_ct_WINDRES= +} + +src_install() { + default + + domenu sys/fd.org/*.desktop + doicon icons/schism{,-itf}-icon-128.png +} |