summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/csound')
-rw-r--r--media-sound/csound/ChangeLog10
-rw-r--r--media-sound/csound/Manifest31
-rw-r--r--media-sound/csound/csound-6.02.ebuild217
-rw-r--r--media-sound/csound/files/csound-6.02-porttime-in-portmidi.patch30
-rw-r--r--media-sound/csound/metadata.xml1
5 files changed, 269 insertions, 20 deletions
diff --git a/media-sound/csound/ChangeLog b/media-sound/csound/ChangeLog
index 0fe1665afb34..6bd748cabc7b 100644
--- a/media-sound/csound/ChangeLog
+++ b/media-sound/csound/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/csound
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/csound/ChangeLog,v 1.30 2013/09/05 18:57:17 mgorny Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/csound/ChangeLog,v 1.31 2014/02/05 11:22:17 radhermit Exp $
+
+*csound-6.02 (05 Feb 2014)
+
+ 05 Feb 2014; Tim Harder <radhermit@gentoo.org> +csound-6.02.ebuild,
+ +files/csound-6.02-porttime-in-portmidi.patch, metadata.xml:
+ Version bump.
05 Sep 2013; Michał Górny <mgorny@gentoo.org> csound-5.19.01.ebuild:
Clean up PYTHON_COMPAT from old implementations.
diff --git a/media-sound/csound/Manifest b/media-sound/csound/Manifest
index 31b71de900f7..eb77ae1e2fe6 100644
--- a/media-sound/csound/Manifest
+++ b/media-sound/csound/Manifest
@@ -6,28 +6,23 @@ AUX csound-5.17.11-cmake.patch 256 SHA256 abcf62d9aabaa8e761d1f9ff5cf5b93c7701d7
AUX csound-5.17.11-no-fltk-gl.patch 552 SHA256 af22c544b5811a2133ae2aaa93cb8e2e07183556d5a0faa06325d04c21c865f5 SHA512 4ee09f27325a49d4ea83264cb20842f760731f1e89153e7f301ac0b646745cef1a83c0a264a9922c2a7c65356afdc9a0ee1a14c944b3b8b6bccdc8976dbebf4b WHIRLPOOL 7bceb70cf3e1b78ba5ff59a4294cc163dd2b891b3b8bca320647d8e86cc2db2a53b5082d74d1f93977542e21c77b1f95b937926f3d086420dcf46726e9b6bb8b
AUX csound-5.17.6-fltk.patch 343 SHA256 b6d8f8df2b2f8930d4d84191e3791912ede9f068722fa82d3afa81f55c2eaf86 SHA512 816f46ece3cdfd57cd399ae73f5fbfe2c9e42f418b62ed4f1273cdf5fe9f005b884c3702d69574c38b107d9b50fb0ca473d964e8e6e5397d87a06a3856f8204b WHIRLPOOL c340b9116571f1556107a85772d942c7f2426fdee474aac4c68432b2a56c2fe2633544dae7a55aae3215dec163826eae3d2eadc712a5eb550b098b1ec10ae51b
AUX csound-5.17.6-porttime-in-portmidi.patch 614 SHA256 98a9fd9a7d3b2ff5fd287aedd062763c695c50ba369748b5fecb7338a7b1b48c SHA512 70b5e417fc1f59624fa2a5bc94f47cda8314317618843a892fa55985f83b0a46313f30c7d2e95716f47fe3cc934ff75060b682f2418581b20441854f88e8bf57 WHIRLPOOL dcd8161596e30ac42a08318b90e3108569debf6f62a0605cf8b9db4cab276ffd1be20892b6b5b7725dd7fabc5e00226bcac518c8fb64bf9adc2be2a9aeb5ddc8
+AUX csound-6.02-porttime-in-portmidi.patch 1039 SHA256 b1a55c9e749669639e0af0218f4755b73e542f37b4a05c34be421329381337a2 SHA512 ea897d84afa77e89188a2d5711c61f5a9e5b6ab9523ca15bf53b7fd25222ae8e900460d2f69c1b3b8379876f54b7151f24326bab4a5534ec19e7f20a5b4dac9b WHIRLPOOL 5d40892d7d48e293cfe97b32242b1aaa44c833e17c0389f569955c57d38a45def5f78ba8f270593d0f7215265f88edef25d2d2f4d41e02df11084dfbb9c03d15
DIST Csound5.18.02.tar.gz 9211491 SHA256 4c461cf3bf60b83671224949dd33805379b7121bf2c0ad6af5e191e7f6f8adc8 SHA512 74db496d2f7c4fa288579c171982c2620165d4677885be692610695fb72ba9f08bd00d8976830f72158428cc05b8362c271f05a4f83b2925df246faa3281b045 WHIRLPOOL e7592fe5bf9d4eae5e2b2b78e5f3bf829c7b6c7431013a16594e3766bf6f51f32133a096c4e587c3bd26020e1c64d3799be7a0f3bb17a7dcafbb54616f8e78d2
DIST Csound5.19.01.tar.gz 9302526 SHA256 c918fbdfa7a65cefd080966ba4b44aadb2e36f80c83a5714efb5a9c76532111d SHA512 8dd0c8984a75fe74e5aea53abf15276fdb526ce34ff48402ad2cfd2953b65a67a52f3a279cd030964cddd2322711df04638e039e2998022d92c56593450d3c8c WHIRLPOOL 86ff2a5aea5ec2a65153a5582352a292815e95059d9c48360ea16b8a1bca6d22ec4693cd744b4335df1fcf720a8b006598cd9c1ed8ff54d93af6fe37c8165be6
+DIST Csound6.02.tar.gz 23459796 SHA256 b964199642b1141d4e3253a86996c613c2420c4e2cc39cad347ad7115768c0a5 SHA512 885911561768fe4f9761b442899ba3481d09d02f095aaeb14d076a4902482269274e394517423bf8fea68c2f9e76bd3faaebe328d878ccc0a4c4a8d2d95d1dc0 WHIRLPOOL 9ee8e51c3ce224717b3b3f0cca249d2b10052defc9749abb359b862325766117ec887e07c00a1287b7d0915849c018ee7c3985bd147d4517f466b69f7e4cbdd8
EBUILD csound-5.18.02-r1.ebuild 5869 SHA256 0df9161e5e62410c98097eb57a345d4b9b05540bcefbae2704e866501a93e8ec SHA512 ade81a2f22c1e10958d36d064ac8045172ad9dff00cae2237ff521f8b0ea6444b737d9d4c19dd486988cc412290c31e0df72414c2ee37962877059dbca405a2d WHIRLPOOL 65e04ee28a83a1eb8b579c9739c7b70c6106117dbeff52aefed09892b5bb865e11f0f8121b93d546cd82c95655f77f5917fab7800b320297d6ac95f3dd486790
EBUILD csound-5.19.01.ebuild 5926 SHA256 37678b5907a54b42b88380567aef735bfcd7d19a306135371e331c520595ee88 SHA512 335ad735488d9c530c0a717f3935ceece6d2399094381f7c0338a7b9cecb86773e3f74bb0f577bca5a4c38254ecc651a260a4209ac7c70f3a3ba05fd56081485 WHIRLPOOL 7e6dca75bf3475de2f59fa83bcca22980f705e75857be067953cd497d8db782902801c71ad5e679de8afbe15e36026413bf05aefa404c18efaebcd75403e8918
-MISC ChangeLog 4990 SHA256 4fd07e7bae1d5f6c66913f3d87491465c4e1bf62ebc15cc10b6cbfe873f46a65 SHA512 2d4f8423ca20726e74afdaa74eeb514daf0f7d7cccb4ad35250c225fe47e6574916814fd830d570e497a62622bd383e0424dfa4478d158c82bf4f9e8394dded8 WHIRLPOOL deac06bf4aaffd1608a219db9620af86d31752915d391c552aa698ca27bae3b7f93c360a401ad274f57254c70b4d0b9f8de9316f9e4d730f13bd3ddb2dacb2d9
-MISC metadata.xml 1357 SHA256 82e7de59c27c84a574f06e24d17c97eb7561fed13c1119602b518ce7c850bfee SHA512 147cac3dc74b94d8ceab87d160cf94373643324ec93a99786ceb45715c94bc24d9f47cf6e6f4816795dd66a63b3f83a8b027a50844978c7d49598e0b5c6ce34d WHIRLPOOL 7c0e7f3f168a31e3fabb878885b0200e50c837213e515e7f091bea1181191d61cafc82a2f7ded9c6affa03a4c63ed4c7b477d815b539199c705eb9ebed37505f
+EBUILD csound-6.02.ebuild 5951 SHA256 70094491704b323b2d5b8a9a1c697c47155a46ca7401775e0a9263afe79aeddd SHA512 f9fbf7721cac18633ea324d8d2380aa9dc9c93352492cc47d6db1fa1993c16e4eceba76b31be709251831b6aa36ba820882bd97824d8f971d511805f8dc554df WHIRLPOOL 60bad6806cd267f3eee684ad2d5bd58adbdb55cb76a2a62d9fb5e5707f98cf209139bb512f5f11ba90472a8273be526f3c2760d80d04f106104e5dd5bb8b11a8
+MISC ChangeLog 5171 SHA256 660a4dd896e0cbf0d0a44197c87f1ab5198a885d4abc42ce2e2f6e5b3cb7e825 SHA512 05d1399bf7bee65cb45a8611bd812366635ab0563428fe072099f332a9c9bc0b8de0770fc271e280894380c161d292108db9b9f2bfe2f019b56cd2b90d4cfb36 WHIRLPOOL 000a6f5720e3c01411e62e2cdb7591663737aec738fc70b04a813a6d46d25b8cee7deaec412fce8319a377b3f5e1d6d113f565aa053b871e7e22ced6bb5d88c8
+MISC metadata.xml 1420 SHA256 472c15afc34ae6659ee1a5557851d9b2731776368ad61726bce14578473e8127 SHA512 e0a4020c3cb1e5060b3332f9b3d22e0e3746d152ee101d02c7d9ff8b08e3bbd3bae3269d4bc84b4e4cd7c76b0a3c1b20939dbe5299095a8db17346f3c8ad97df WHIRLPOOL 6f76316152f9e56bb0a88f7faec7fd4f95fec37779b72fb48c4d08e5cb6d94588c2694b1c1c2afa6202d39f7c307e57427897b4de266d2cd0e8bbb38fc40de5f
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.21 (GNU/Linux)
+Version: GnuPG v2.0.22 (GNU/Linux)
-iQJ8BAEBCABmBQJSKNQqXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
-ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC
-MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOvYEQALTZibsNe02Mq+YRH0Oi0k+b
-m9Rq/643hUMaX/ooev2DplnTL1BtEWFu5PbbPdnfQXV+zmGYcMopLY993QZwi670
-8p5lEsWdOKekOeomOSyq18y2oEkm7TaDBskXSKjpv5byCwVHLUpBWn7/T2FTnMBd
-E2+UVQL46qfs5YtzbEHtwZEKwXezZEdvHgMRI0dZljaZ7jkyNUHXk2yFvrpoyZIA
-6xjuQRY6kpqHQGn58ifBLo3z4dXOTY7MjOp/mvWnZZOlHUmh28mYfUHp7E3dcXOk
-dlE8CBZhgBmY93ag+/k7AilBB65gp+cwsLTS4KHtUQUOMMY70KAEZPAjo6Ndx1DV
-kUONDrLFyV3QLXcC4mrp8ah05fK6CymUac9JWEuPiMJ0BXPfMDgp9QITRdTlbw9Z
-lr2ADf6okhcskdlQbtDTA2u5Y2rkT9sXr2dW5rnLwzIThGyXQKODfe1bHRog7t+a
-5gHPVcVPhZU7aZR8OJDUNOHxNh2d7itlHxg2PPH8uroaYBIz++DfNDB1+qgw0Zrz
-mdlh9dUVZCM/C/SEeiToOM8Q/TkzB+g/NMAnAY+FvA0qehCvvDKj7dV7D8q9oi0E
-eVwXJ7NEpm2WMcwEHP5i891IHgUd+ghxfNzM4sLCdWLeN+OjEcw6/VHeffJYkDv4
-TIuibAV0vhB8WIA23SYD
-=jwig
+iQEcBAEBCAAGBQJS8h7qAAoJEEqz6FtPBkyjztUH/17ykw6NI+wOCh1s5pgEe1Sf
+NOrn+Iaopx3jmBnwGwnTcqY8R/URbUBGB3+eM84u1QlYRJIMnvzplRC2sYp5GI4p
+kWvF9csRTmkk8Lxd7A9AWqDdNztWXlCl3JLOKSzQTI2x638S6sIfM31G1di9Tue8
+fUDMovCPMKDez12uIA9ED5uAejpLqLy7aU3Pe7hS1TLuwGC+7bRZczepMBjfQJ2R
+FZLXxcMckkXq3FDLyvnm1ncr4EnjkRdeprwedkdb1wql7FDy0yxy00du7+bf8/Au
+RZW4aOxR35/83m4gIjswiXRdDBHFCrDJzLH4Daf+8ncQwRnzbDfFO5MEEeiNqdE=
+=BDPI
-----END PGP SIGNATURE-----
diff --git a/media-sound/csound/csound-6.02.ebuild b/media-sound/csound/csound-6.02.ebuild
new file mode 100644
index 000000000000..41a6a6e561c0
--- /dev/null
+++ b/media-sound/csound/csound-6.02.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/csound/csound-6.02.ebuild,v 1.1 2014/02/05 11:22:17 radhermit Exp $
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit eutils multilib java-pkg-opt-2 cmake-utils toolchain-funcs versionator python-single-r1
+
+MY_PN="${PN/c/C}"
+MY_P="${MY_PN}${PV}"
+
+DESCRIPTION="A sound design and signal processing system providing facilities for composition and performance"
+HOMEPAGE="http://csounds.com/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+alsa beats chua csoundac curl +cxx debug double-precision dssi examples fltk +fluidsynth
++image jack java keyboard linear lua luajit nls osc openmp portaudio portmidi pulseaudio
+python samples score static-libs stk tcl test +threads +utils vim-syntax"
+
+LANGS=" de en_US es_CO fr it ro ru"
+IUSE+="${LANGS// / linguas_}"
+
+RDEPEND="
+ >=media-libs/libsndfile-1.0.16
+ alsa? ( media-libs/alsa-lib )
+ csoundac? (
+ x11-libs/fltk:1[threads?]
+ dev-cpp/eigen:3
+ dev-libs/boost
+ ${PYTHON_DEPS}
+ )
+ curl? ( net-misc/curl )
+ dssi? (
+ media-libs/dssi
+ media-libs/ladspa-sdk
+ )
+ fluidsynth? ( media-sound/fluidsynth )
+ fltk? ( x11-libs/fltk:1[threads?] )
+ image? ( media-libs/libpng )
+ jack? ( media-sound/jack-audio-connection-kit )
+ java? ( >=virtual/jdk-1.5 )
+ keyboard? ( x11-libs/fltk:1[threads?] )
+ linear? ( sci-mathematics/gmm )
+ lua? (
+ luajit? ( dev-lang/luajit:2 )
+ !luajit? ( dev-lang/lua )
+ )
+ osc? ( media-libs/liblo )
+ portaudio? ( media-libs/portaudio )
+ portmidi? ( media-libs/portmidi )
+ pulseaudio? ( media-sound/pulseaudio )
+ python? ( ${PYTHON_DEPS} )
+ stk? ( media-libs/stk )
+ tcl? (
+ >=dev-lang/tcl-8.5
+ >=dev-lang/tk-8.5
+ )
+ utils? ( !media-sound/snd )
+"
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ virtual/yacc
+ chua? ( dev-libs/boost )
+ csoundac? ( dev-lang/swig )
+ nls? ( sys-devel/gettext )
+ test? (
+ dev-util/cunit
+ ${PYTHON_DEPS}
+ )
+"
+REQUIRED_USE="
+ java? ( cxx )
+ linear? ( double-precision )
+ lua? ( cxx )
+ python? ( cxx )
+"
+
+# requires specific alsa settings
+RESTRICT="test"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_pretend() {
+ if use openmp ; then
+ tc-has-openmp || die "Please switch to an openmp compatible compiler"
+ fi
+}
+
+pkg_setup() {
+ if use python || use test ; then
+ python-single-r1_pkg_setup
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-porttime-in-portmidi.patch
+
+ sed -e '/set(PLUGIN_INSTALL_DIR/s/-${APIVERSION}//' \
+ -e '/-O3/d' \
+ -i CMakeLists.txt || die
+
+ if use python ; then
+ sed -i "/set(PYTHON_MODULE_INSTALL_DIR/s#\${LIBRARY_INSTALL_DIR}#$(python_get_sitedir)#" CMakeLists.txt || die
+ fi
+
+ for lang in ${LANGS} ; do
+ if ! use linguas_${lang} ; then
+ sed -i "/compile_po(${lang}/d" po/CMakeLists.txt || die
+ fi
+ done
+}
+
+src_configure() {
+ local myconf
+
+ if use csoundac ; then
+ myconf+=" -DBUILD_CSOUND_AC_PYTHON_INTERFACE=$(usex python ON OFF)"
+ myconf+=" -DBUILD_CSOUND_AC_LUA_INTERFACE=$(usex lua ON OFF)"
+ fi
+
+ [[ $(get_libdir) == "lib64" ]] && myconf+=" -DUSE_LIB64=ON"
+
+ local mycmakeargs=(
+ $(cmake-utils_use_use alsa ALSA)
+ $(cmake-utils_use_build beats CSBEATS)
+ $(cmake-utils_use_build chua CHUA_OPCODES)
+ $(cmake-utils_use_build csoundac CSOUND_AC)
+ $(cmake-utils_use_build cxx CXX_INTERFACE)
+ $(cmake-utils_use_use curl CURL)
+ $(cmake-utils_use debug NEW_PARSER_DEBUG)
+ $(cmake-utils_use_use double-precision DOUBLE)
+ $(cmake-utils_use_build dssi DSSI_OPCODES)
+ $(cmake-utils_use_build fluidsynth FLUID_OPCODES)
+ $(cmake-utils_use_use fltk FLTK)
+ $(cmake-utils_use_build image IMAGE_OPCODES)
+ $(cmake-utils_use_use jack JACK)
+ $(cmake-utils_use_build jack JACK_OPCODES)
+ $(cmake-utils_use_build java JAVA_INTERFACE)
+ $(cmake-utils_use_build keyboard VIRTUAL_KEYBOARD)
+ $(cmake-utils_use_build linear LINEAR_ALGEBRA_OPCODES)
+ $(cmake-utils_use_build lua LUA_OPCODES)
+ $(cmake-utils_use_build lua LUA_INTERFACE)
+ $(cmake-utils_use_use nls GETTEXT)
+ $(cmake-utils_use_build osc OSC_OPCODES)
+ $(cmake-utils_use_use openmp OPEN_MP)
+ $(cmake-utils_use_use portaudio PORTAUDIO)
+ $(cmake-utils_use_use portmidi PORTMIDI)
+ $(cmake-utils_use_use pulseaudio PULSEAUDIO)
+ $(cmake-utils_use_build python PYTHON_OPCODES)
+ $(cmake-utils_use_build python PYTHON_INTERFACE)
+ $(cmake-utils_use score SCORE_PARSER)
+ $(cmake-utils_use_build static-libs STATIC_LIBRARY)
+ $(cmake-utils_use_build stk STK_OPCODES)
+ $(cmake-utils_use_build test TESTS)
+ $(cmake-utils_use_build test STATIC_LIBRARY)
+ $(cmake-utils_use_build tcl TCLCSOUND)
+ $(cmake-utils_use_build threads MULTI_CORE)
+ $(cmake-utils_use_build utils UTILITIES)
+ -DBUILD_RELEASE=ON
+ ${myconf}
+ )
+
+ cmake-utils_src_configure
+}
+
+src_test() {
+ cmake-utils_src_test
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ dodoc AUTHORS ChangeLog readme-csound6.txt What_is_New.txt \
+ Release_Notes/* Known_Problems todo.txt To-fix-and-do
+
+ # Generate env.d file
+ if use double-precision ; then
+ echo OPCODEDIR64=/usr/$(get_libdir)/${PN}/plugins64 > "${T}"/62${PN}
+ else
+ echo OPCODEDIR=/usr/$(get_libdir)/${PN}/plugins > "${T}"/62${PN}
+ fi
+ echo "CSSTRNGS=/usr/share/locale" >> "${T}"/62${PN}
+ use stk && echo "RAWWAVE_PATH=/usr/share/csound/rawwaves" >> "${T}"/62${PN}
+ doenvd "${T}"/62${PN}
+
+ if use examples ; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ use samples && dodoc -r samples
+
+ if use vim-syntax ; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins installer/misc/vim/csound_{csd,orc,sco}.vim
+ insinto /usr/share/vim/vimfiles/plugin
+ doins installer/misc/vim/csound.vim
+ fi
+
+ # rename extract to csound_extract (bug #247394)
+ mv "${ED}"/usr/bin/{extract,csound_extract} || die
+
+ use python && python_optimize
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then
+ elog
+ elog "The extract tool is now installed as csound_extract"
+ elog "due to collisions with many other packages (bug #247394)."
+ elog
+ fi
+}
diff --git a/media-sound/csound/files/csound-6.02-porttime-in-portmidi.patch b/media-sound/csound/files/csound-6.02-porttime-in-portmidi.patch
new file mode 100644
index 000000000000..1ef67a15c13d
--- /dev/null
+++ b/media-sound/csound/files/csound-6.02-porttime-in-portmidi.patch
@@ -0,0 +1,30 @@
+--- Csound6.02/InOut/CMakeLists.txt
++++ Csound6.02/InOut/CMakeLists.txt
+@@ -33,10 +33,6 @@
+ find_library(PORTMIDI_LIBRARY portmidi)
+ # include_directories(${PORTMIDI_INCLUDE_PATH})
+ # include_directories(${PORTTIME_INCLUDE_PATH})
+- if(WIN32)
+- else()
+- find_library(PORTTIME_LIBRARY porttime)
+- endif()
+ endif()
+ if(USE_JACK)
+ find_library(JACK_LIBRARY jack)
+@@ -126,15 +122,12 @@
+ elseif(WIN32)
+ check_deps(USE_PORTMIDI PORTMIDI_INCLUDE_PATH PORTTIME_INCLUDE_PATH PORTMIDI_LIBRARY)
+ else()
+- check_deps(USE_PORTMIDI PORTMIDI_INCLUDE_PATH PORTMIDI_LIBRARY PORTTIME_LIBRARY)
++ check_deps(USE_PORTMIDI PORTMIDI_INCLUDE_PATH PORTMIDI_LIBRARY)
+ endif()
+
+ if(USE_PORTMIDI)
+ set(pmidi_LIBS ${PORTMIDI_LIBRARY})
+ include_directories(${PORTMIDI_INCLUDE_PATH})
+- if(LINUX)
+- list(APPEND pmidi_LIBS ${PORTTIME_LIBRARY})
+- endif()
+ if(WIN32)
+ include_directories(${PORTTIME_INCLUDE_PATH})
+ list(APPEND pmidi_LIBS ${CSOUND_WINDOWS_LIBRARIES})
diff --git a/media-sound/csound/metadata.xml b/media-sound/csound/metadata.xml
index b34cf2a60132..042c79fea68c 100644
--- a/media-sound/csound/metadata.xml
+++ b/media-sound/csound/metadata.xml
@@ -19,6 +19,7 @@
<flag name="luajit">Use the lua just-in-time compiler <pkg>dev-lang/luajit</pkg> instead of <pkg>dev-lang/lua</pkg></flag>
<flag name="portmidi">Build the PortMIDI I/O module</flag>
<flag name="samples">Install the HRTF datafiles for use with hrtfmove, hrtfmove2, hrtfstat, hrtfearly, and hrtfreverb</flag>
+ <flag name="score">Build the alternative score parser</flag>
<flag name="stk">Build the stk opcodes</flag>
<flag name="tcl">Build the tcl interface and clients</flag>
<flag name="utils">Build stand-alone executables for utilities that can also be used via `csound -U`</flag>