Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/zynaddsubfx/, media-sound/zynaddsubfx/files/
Date: Thu, 22 Sep 2022 06:09:04
Message-Id: 1663826938.1e9433c933a02d0a2526ea67d7fd3d276de85681.fordfrog@gentoo
1 commit: 1e9433c933a02d0a2526ea67d7fd3d276de85681
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 22 06:08:47 2022 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 22 06:08:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e9433c9
7
8 media-sound/zynaddsubfx: dropped obsolete 3.0.5
9
10 Bug: https://bugs.gentoo.org/871342
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-sound/zynaddsubfx/Manifest | 1 -
14 .../files/zynaddsubfx-3.0.5-cmake.patch | 15 ----
15 .../zynaddsubfx/files/zynaddsubfx-3.0.5-docs.patch | 12 ---
16 media-sound/zynaddsubfx/zynaddsubfx-3.0.5.ebuild | 90 ----------------------
17 4 files changed, 118 deletions(-)
18
19 diff --git a/media-sound/zynaddsubfx/Manifest b/media-sound/zynaddsubfx/Manifest
20 index 64dfea5bacae..899fdbeb6639 100644
21 --- a/media-sound/zynaddsubfx/Manifest
22 +++ b/media-sound/zynaddsubfx/Manifest
23 @@ -1,2 +1 @@
24 -DIST zynaddsubfx-3.0.5.tar.bz2 8141703 BLAKE2B 61f28a62d5ef8c17b5e38febb8ad1ecd40c80f87b26d90804131b97b57534adf5ad96a1f54980b75fd5e71185e2d5376a7df35696c7bcfd593b5d8e34bd2e386 SHA512 1e4d5a6393937e6c7103e6d0e97df76f2d129350854c2f338aa888591091b1508c63e9b52c8e5a176e282ff2f6b72c6a87de54875c412771aff26e8ece2c84e8
25 DIST zynaddsubfx-3.0.6.tar.bz2 10001014 BLAKE2B 4adbeffb9bc0bd77bf81a6734f5c26fc676426e644e27cebb8e54e8d74d869c0e1b468782cd1a64aacef8f9b788d434a8d30a194944650eea03c4fd146ee7bf7 SHA512 86311f00d97e20c7eb22a46c99736c56765ed9737e728ef380a324e4a92c731086ed74f5d7bfeae104b690ab1ee1b40bfb8f240bc4c46f8afd47308ec48cbcea
26
27 diff --git a/media-sound/zynaddsubfx/files/zynaddsubfx-3.0.5-cmake.patch b/media-sound/zynaddsubfx/files/zynaddsubfx-3.0.5-cmake.patch
28 deleted file mode 100644
29 index 8fbcf9aca56a..000000000000
30 --- a/media-sound/zynaddsubfx/files/zynaddsubfx-3.0.5-cmake.patch
31 +++ /dev/null
32 @@ -1,15 +0,0 @@
33 -Fix missing CMake include
34 -
35 -Authored by:  Simon van der Veldt 2020-09-30
36 -Committed by:  Mark McCurry 2020-10-03
37 -
38 ---- a/src/Nio/CMakeLists.txt
39 -+++ b/src/Nio/CMakeLists.txt
40 -@@ -21,6 +21,7 @@
41 - add_definitions(-DIN_DEFAULT="${DefaultInput}")
42 -
43 - if(JackEnable)
44 -+ include(CheckIncludeFiles)
45 - include_directories(${JACK_INCLUDE_DIR})
46 - list(APPEND zynaddsubfx_nio_SRCS JackEngine.cpp JackMultiEngine.cpp)
47 - list(APPEND zynaddsubfx_nio_lib ${JACK_LIBRARIES})
48
49 diff --git a/media-sound/zynaddsubfx/files/zynaddsubfx-3.0.5-docs.patch b/media-sound/zynaddsubfx/files/zynaddsubfx-3.0.5-docs.patch
50 deleted file mode 100644
51 index 44060eaf4824..000000000000
52 --- a/media-sound/zynaddsubfx/files/zynaddsubfx-3.0.5-docs.patch
53 +++ /dev/null
54 @@ -1,12 +0,0 @@
55 ---- a/CMakeLists.txt
56 -+++ b/CMakeLists.txt
57 -@@ -28,9 +28,6 @@ include(CTestConfig.cmake)
58 - add_subdirectory(src)
59 - add_subdirectory(doc) # Doxygen only
60 -
61 --install(FILES AUTHORS.txt COPYING HISTORY.txt README.adoc
62 -- DESTINATION share/doc/zynaddsubfx
63 -- )
64 - install(FILES zynaddsubfx-jack-multi.desktop zynaddsubfx-jack.desktop zynaddsubfx-alsa.desktop zynaddsubfx-oss.desktop
65 - DESTINATION share/applications)
66 - install(FILES zynaddsubfx.svg
67
68 diff --git a/media-sound/zynaddsubfx/zynaddsubfx-3.0.5.ebuild b/media-sound/zynaddsubfx/zynaddsubfx-3.0.5.ebuild
69 deleted file mode 100644
70 index 36d58edcadf9..000000000000
71 --- a/media-sound/zynaddsubfx/zynaddsubfx-3.0.5.ebuild
72 +++ /dev/null
73 @@ -1,90 +0,0 @@
74 -# Copyright 1999-2021 Gentoo Authors
75 -# Distributed under the terms of the GNU General Public License v2
76 -
77 -EAPI=7
78 -
79 -inherit cmake flag-o-matic
80 -
81 -DESCRIPTION="Software synthesizer capable of making a countless number of instruments"
82 -HOMEPAGE="http://zynaddsubfx.sourceforge.net/"
83 -SRC_URI="mirror://sourceforge/zynaddsubfx/${P}.tar.bz2"
84 -
85 -LICENSE="GPL-2"
86 -SLOT="0"
87 -KEYWORDS="amd64 ~ppc x86"
88 -IUSE="alsa doc dssi +fltk jack lash portaudio"
89 -
90 -REQUIRED_USE="|| ( alsa jack portaudio )"
91 -
92 -BDEPEND="
93 - virtual/pkgconfig
94 - doc? ( app-doc/doxygen )
95 -"
96 -DEPEND="
97 - >=dev-libs/mxml-2.2.1
98 - media-libs/liblo
99 - sci-libs/fftw:3.0
100 - sys-libs/zlib
101 - alsa? ( media-libs/alsa-lib )
102 - dssi? ( media-libs/dssi )
103 - fltk? (
104 - >=x11-libs/fltk-1.3:1
105 - x11-libs/libX11
106 - x11-libs/libXpm
107 - )
108 - jack? ( virtual/jack )
109 - lash? ( media-sound/lash )
110 - portaudio? ( media-libs/portaudio )
111 -"
112 -RDEPEND="${DEPEND}"
113 -
114 -PATCHES=(
115 - "${FILESDIR}"/${P}-docs.patch
116 - "${FILESDIR}"/${P}-cmake.patch # bug 761823
117 -)
118 -
119 -DOCS=( ChangeLog HISTORY.txt README.adoc )
120 -
121 -src_prepare() {
122 - cmake_src_prepare
123 -
124 - if ! use dssi; then
125 - sed -i -e '/pkg_search_module.*DSSI/s/^/#DONT/' src/CMakeLists.txt || die
126 - fi
127 - if ! use jack; then
128 - sed -e '/pkg_check_modules.*JACK/s/^/#DONT/' -i {rtosc,src}/CMakeLists.txt || die
129 - fi
130 - if ! use lash; then
131 - sed -i -e '/pkg_search_module.*LASH/s/^/#DONT/' src/CMakeLists.txt || die
132 - fi
133 - if ! use portaudio; then
134 - sed -i -e '/pkg_check_modules.*PORTAUDIO/s/^/#DONT/' src/CMakeLists.txt || die
135 - fi
136 -
137 - # FIXME upstream: sandbox error
138 - sed -i -e '/add_subdirectory(bash-completion)/d' doc/CMakeLists.txt || die
139 -}
140 -
141 -src_configure() {
142 - append-cxxflags -std=c++11
143 -
144 - local mycmakeargs=(
145 - -DPluginLibDir=$(get_libdir)
146 - $(cmake_use_find_package alsa Alsa)
147 - $(cmake_use_find_package doc Doxygen)
148 - $(cmake_use_find_package fltk FLTK)
149 - )
150 - cmake_src_configure
151 -}
152 -
153 -src_compile() {
154 - cmake_src_compile
155 - use doc && cmake_src_compile doc
156 -}
157 -
158 -src_install() {
159 - use doc && local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
160 - cmake_src_install
161 - insinto /usr/share/${PN}
162 - doins -r instruments/*
163 -}