[proaudio] [2932] media-sound/fluidsynth: move to git upstream (wrt #191), add example and ipv6 use flags, install pdf docs, and more |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 2932
Author: lilrc
Date: 2015-04-03 09:12:21 +0200 (Fri, 03 Apr 2015)
Log Message:
-----------
media-sound/fluidsynth: move to git upstream (wrt #191), add example and ipv6 use flags, install pdf docs, and more
Modified Paths:
--------------
trunk/overlays/proaudio/media-sound/fluidsynth/ChangeLog
trunk/overlays/proaudio/media-sound/fluidsynth/Manifest
trunk/overlays/proaudio/media-sound/fluidsynth/fluidsynth-9999.ebuild
Modified: trunk/overlays/proaudio/media-sound/fluidsynth/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/fluidsynth/ChangeLog 2015-03-31 20:07:28 UTC (rev 2931)
+++ trunk/overlays/proaudio/media-sound/fluidsynth/ChangeLog 2015-04-03 07:12:21 UTC (rev 2932)
@@ -1,7 +1,16 @@
# ChangeLog for media-sound/fluidsynth
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 03 Apr 2015; Karl Linden (lilrc) <lilrc@xxxxxxxxxxxxxxxxxxxxx>
+ fluidsynth-9999.ebuild:
+ move to upstream git, wrt #191
+ add examples use flag
+ add ipv6 use flag
+ drop version specifiers
+ replace fluid_use calls with cmake-utils_use calls
+ install pdf documentation
+
05 Sep 2013; Karl Linden (lilrc) <lilrc@xxxxxxxxxxxxxxxxxxxxx>
fluidsynth-9999.ebuild, metadata.xml:
EAPI 5.
Modified: trunk/overlays/proaudio/media-sound/fluidsynth/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/fluidsynth/Manifest 2015-03-31 20:07:28 UTC (rev 2931)
+++ trunk/overlays/proaudio/media-sound/fluidsynth/Manifest 2015-04-03 07:12:21 UTC (rev 2932)
@@ -1,3 +1,3 @@
-EBUILD fluidsynth-9999.ebuild 1805 SHA256 491fcfe8520aec29d39749dbc2a425f3a6749785dd6593ecb02413f116332720 SHA512 8444fde5f045fe201347d08dde141d1e27ad201c30615f38f60edcd9f74df3203cf6ff3a86c617779ebae4c6fc96e2e61d9f2fe8da26dd202bfa02237c58f2d2 WHIRLPOOL b25c363e452634479908156a64c2c7b8cb094bc6d62fe36fb12148e5783471984e84e20ad6abd8382a547618ffa6a02a70a0de0db1fafd9250ceec8b7376e5c2
-MISC ChangeLog 1182 SHA256 188e1576f6b37cfceb570ffc9a0cfd380405c4df0363d03143f9c72c9c5c564d SHA512 05d6fa467cf5d169827382c91346c9c2404b541c5b7fa2abe5a629cd4378a5e35752b586d108b0c5306a2ec2df8a77abd3a938ff05d57b334188e03f83efe909 WHIRLPOOL a1e5c116f6bba37793c510d58659e72845cb2e8cc12b69f6b0207da54fef8c88a59efc8602f3b04872a82276405f5afb50ef9cf63bfd7a9f8f360e86d61837fc
+EBUILD fluidsynth-9999.ebuild 1876 SHA256 19f23780eaad45c1efe34c24ce774425db20d959811152afb20b8d7d7f742fd6 SHA512 a07a10872bc549affcdf03c6eaa75c054899fe93d2ff41b1dd81890f6918fb97bb36b5f52a99873847fc485be928b1cf7f83fa7776a7bf2da03d6f21e5e15bfb WHIRLPOOL b26751b6acde319b6730adde7cbf4460069779ecce3e0ee2e1e2fac3f1ce989eb2822d095d6b3369c078cc86ea57c50d0e428bf0021319610057a987e6f273d3
+MISC ChangeLog 1458 SHA256 65f65822dd63384b38bb6340cdc778234bb89448f3900d610b502632b0a5af78 SHA512 ee8012571ff672ffc2ed958084cea751142bee1472f438726d29c56265d13fa30032ad3a69219aa7a3589441072960162d8316856d56aafeb7db35415e93652b WHIRLPOOL c48f825ffeef1199d2c181479e7a71cf9e9f566558f46c1016c8f7c610266ca17d6a6705105157ad1cb064858034e1011fb1ad150fe3f460be7461d69b1a3261
MISC metadata.xml 341 SHA256 902fc79dbe0f6d956f053a46b731d0e9bab37c6738f39349fdbc0574bc86eb25 SHA512 13826041bf9dc5051cb77c6010ae69ef9d9b1d9ff07869af0836791be7db0dc1003940c242b74a7826dd1dd76c650611f48597a73191aa294f10041b71074411 WHIRLPOOL 495068a92a926a30b8e6f4b818751e5eb892f270f30058455f41c0272fdee02f1e0fec3aea2f0b86d24dc00f8e2078a2918602fbed81b3d8e76b181ed7e39119
Modified: trunk/overlays/proaudio/media-sound/fluidsynth/fluidsynth-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/fluidsynth/fluidsynth-9999.ebuild 2015-03-31 20:07:28 UTC (rev 2931)
+++ trunk/overlays/proaudio/media-sound/fluidsynth/fluidsynth-9999.ebuild 2015-04-03 07:12:21 UTC (rev 2932)
@@ -1,75 +1,77 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
-inherit cmake-utils subversion
+inherit cmake-utils git-r3
-IUSE="alsa dbus debug doc float jack ladspa lash portaudio pulseaudio \
- readline sndfile"
+IUSE="alsa dbus debug doc examples float ipv6 jack ladspa lash portaudio
+ pulseaudio readline sndfile"
DESCRIPTION="Fluidsynth is a software real-time synthesizer based on the Soundfont 2 specifications."
HOMEPAGE="http://www.fluidsynth.org/"
-ESVN_REPO_URI="https://svn.code.sf.net/p/${PN}/code/trunk/${PN}"
+EGIT_REPO_URI="git://git.code.sf.net/p/${PN}/code-git"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
RDEPEND="
- >=dev-libs/glib-2.6.5
+ dev-libs/glib:2
alsa? ( media-libs/alsa-lib )
dbus? ( sys-apps/dbus )
jack? ( media-sound/jack-audio-connection-kit )
- ladspa? ( >=media-libs/ladspa-sdk-1.12
- >=media-libs/ladspa-cmt-1.15 )
+ ladspa? (
+ media-libs/ladspa-sdk
+ media-libs/ladspa-cmt
+ )
lash? ( virtual/liblash )
- portaudio? ( >=media-libs/portaudio-19_pre )
- pulseaudio? ( >=media-sound/pulseaudio-0.9.8 )
- readline? ( sys-libs/readline )
+ portaudio? ( media-libs/portaudio )
+ pulseaudio? ( media-sound/pulseaudio )
+ readline? ( sys-libs/readline:0 )
sndfile? ( media-libs/libsndfile )"
DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( app-doc/doxygen )"
-DOCS=( AUTHORS README THANKS TODO )
+S="${S}/fluidsynth"
-# Convenience function needed because the build system is not very
-# standardized.
-# Usage: fluid_use() <USE-flag> [flag name]
-fluid_use() {
- [[ -z ${1} ]] && die "enable_arg(): too few arguments"
- if [[ ! -z ${2} ]]; then
- echo "-Denable-${2}=$(usex ${1} on off)"
- else
- echo "-Denable-${1}=$(usex ${1} on off)"
- fi
-}
-
src_configure() {
local mycmakeargs=(
- $(fluid_use alsa)
- $(fluid_use dbus)
- $(fluid_use debug)
- $(fluid_use float floats)
- $(fluid_use jack)
- $(fluid_use ladspa)
- $(fluid_use lash)
- $(fluid_use portaudio)
- $(fluid_use pulseaudio)
- $(fluid_use readline)
- $(fluid_use sndfile libsndfile)
+ -Denable-aufile=ON
+ -Denable-ladcca=OFF
+ -Denable-midishare=OFF
+ $(cmake-utils_use alsa enable-alsa)
+ $(cmake-utils_use dbus enable-dbus)
+ $(cmake-utils_use debug enable-debug)
+ $(cmake-utils_use float enable-floats)
+ $(cmake-utils_use ipv6 enable-ipv6)
+ $(cmake-utils_use jack enable-jack)
+ $(cmake-utils_use ladspa enable-ladspa)
+ $(cmake-utils_use lash enable-lash)
+ $(cmake-utils_use portaudio enable-portaudio)
+ $(cmake-utils_use pulseaudio enable-pulseaudio)
+ $(cmake-utils_use readline enable-readline)
+ $(cmake-utils_use sndfile enable-libsndfile)
)
cmake-utils_src_configure
}
+src_compile() {
+ cmake-utils_src_compile
+ use doc && cmake-utils_src_make doxygen
+}
+
src_install() {
- if use doc; then
- cd "${BUILD_DIR}"
- emake doxygen
- HTML_DOCS=( "${BUILD_DIR}"/doc/api/html/ )
+ use doc && HTML_DOCS=( "${BUILD_DIR}"/doc/api/html/* )
+ cmake-utils_src_install
+
+ docinto pdf
+ dodoc doc/*.pdf
+
+ if use examples; then
+ docinto examples
+ dodoc doc/*.c
fi
-
- cmake-utils_src_install
}