media-sound/zynaddsubfx: drop 3.0.6-r5

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner 2025-05-24 00:53:39 +02:00
parent 979fd0558e
commit a34b6005f5
No known key found for this signature in database
GPG Key ID: AE591BBC73E4DD5E
2 changed files with 0 additions and 112 deletions

View File

@ -1,20 +0,0 @@
MasterUI.cxx:2377:3: error: 'fl_open_display' was not declared ...
Other files are using x.H, but that header is deprecated and the
correct one is platform.H. fl_display that it alse needs platform.H
for is X-specific, so this likely cannot work without fltk[X] at
the moment.
(next revision of the ebuild removes fltk, so it won't matter much)
--- a/src/UI/MasterUI.fl
+++ b/src/UI/MasterUI.fl
@@ -76,6 +76,9 @@
decl {\#include "common.H"} {public local
}
+decl {\#include "FL/platform.H"} {public local
+}
+
decl {\#if USE_NSM
\#include "NSM.H"
extern NSM_Client *nsm;

View File

@ -1,92 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake flag-o-matic
DESCRIPTION="Software synthesizer capable of making a countless number of instruments"
HOMEPAGE="https://zynaddsubfx.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/zynaddsubfx/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="+alsa doc dssi +fltk jack lash portaudio"
REQUIRED_USE="|| ( alsa jack portaudio )"
DEPEND="
dev-libs/mxml:0
media-libs/liblo
sci-libs/fftw:3.0
sys-libs/zlib
alsa? ( media-libs/alsa-lib )
doc? ( dev-texlive/texlive-fontutils )
dssi? ( media-libs/dssi )
fltk? (
x11-libs/fltk:1=[X(+)]
x11-libs/libX11
x11-libs/libXpm
)
jack? ( virtual/jack )
lash? ( media-sound/lash )
portaudio? ( media-libs/portaudio )
"
RDEPEND="${DEPEND}"
BDEPEND="
dev-lang/ruby:*
virtual/pkgconfig
doc? ( app-text/doxygen )
"
PATCHES=(
"${FILESDIR}"/${P}-docs.patch
"${FILESDIR}"/${P}-stdint.patch
"${FILESDIR}"/${P}-fltk1.4.patch
)
DOCS=( AUTHORS.txt NEWS.txt README.adoc )
src_prepare() {
cmake_src_prepare
if ! use dssi; then
sed -i -e '/pkg_search_module.*DSSI/s/^/#DONT/' src/CMakeLists.txt || die
fi
if ! use jack; then
sed -e '/pkg_check_modules.*JACK/s/^/#DONT/' -i {rtosc,src}/CMakeLists.txt || die
fi
if ! use lash; then
sed -i -e '/pkg_search_module.*LASH/s/^/#DONT/' src/CMakeLists.txt || die
fi
if ! use portaudio; then
sed -i -e '/pkg_check_modules.*PORTAUDIO/s/^/#DONT/' src/CMakeLists.txt || die
fi
# FIXME upstream: sandbox error
sed -i -e '/add_subdirectory(bash-completion)/d' doc/CMakeLists.txt || die
}
src_configure() {
append-cxxflags -std=c++11
local mycmakeargs=(
-DPluginLibDir=$(get_libdir)
$(cmake_use_find_package alsa Alsa)
$(cmake_use_find_package doc Doxygen)
$(cmake_use_find_package fltk FLTK)
)
cmake_src_configure
}
src_compile() {
cmake_src_compile
use doc && cmake_src_compile doc
}
src_install() {
use doc && local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
cmake_src_install
insinto /usr/share/${PN}
doins -r instruments/*
}