diff options
Diffstat (limited to 'media-libs/raul')
-rw-r--r-- | media-libs/raul/Manifest | 7 | ||||
-rw-r--r-- | media-libs/raul/files/ldconfig2.patch | 12 | ||||
-rw-r--r-- | media-libs/raul/files/raul-0.8.0-gcc47.patch | 45 | ||||
-rw-r--r-- | media-libs/raul/metadata.xml | 12 | ||||
-rw-r--r-- | media-libs/raul/raul-0.8.0-r1.ebuild | 49 |
5 files changed, 125 insertions, 0 deletions
diff --git a/media-libs/raul/Manifest b/media-libs/raul/Manifest new file mode 100644 index 000000000000..3f9b946b571a --- /dev/null +++ b/media-libs/raul/Manifest @@ -0,0 +1,7 @@ +AUX ldconfig2.patch 366 SHA256 fe47d16cec0c9bee90a2b9d125305753567e290de22ccaa36f1259618a70bcd2 SHA512 008c6699afadc123139e66736588f83612a9d301870726178782a58807951f2231891e4968ce83d6eb72f38388e2e8df78deec25a352d754a801b63b2541775e WHIRLPOOL 61445a8a421dedf1d1d5550883644eb916d65a19a315f8fbce74bd61616e6ea7e6ea96395a6ae3685871f8c78668cda414f1463e92ad31a5151cd4cc65db30f7 +AUX raul-0.8.0-gcc47.patch 1466 SHA256 c095cf92edf24848eace08bc7bb9d02f82baeef1c5334d276d4e69ab878d2e5a SHA512 6056c680136bade273cf5b061591556b6f1e6d0045b6afc6b3f950e9a37def4a22356d45dccea52a29bd6b9c455744ac60ba51cccabb5965fdc31c67452344b7 WHIRLPOOL db2e33d4856c3a303ed2a233d5448c2544aa8b53d3fc0f122699fa224c97b618e91435d76a69bd628faeb4bbd6efb64dca4781856a4035a6f8dc6e77f64e8a6d +DIST raul-0.8.0.tar.bz2 155450 SHA256 0b35cd7bb6fb0b1ca0340be07678a2561888572c96cf4e4da4d8f4c03a20ba26 SHA512 7ad48c551945aad104309448bcdb86a4a2ca07c44af53b37492e7cddce6a093529f1e1e75c4b27cb8e292ec46424969cdea270883d44b2f1badc48df8943a0a1 WHIRLPOOL b63cf7eef4de032ef26f2f2bef46543cd2d3b691e8bbdc4dd105feaae02c589525382b9155f4e9faa1c10ae7ae89baf0fe3878c57a1a10b969740804b67cef4a +EBUILD raul-0.8.0-r1.ebuild 1205 SHA256 63d8f2d0b12380c6922c8c75ffae967188ae49e5cf7da49403e021eadbe07307 SHA512 4f450353f9fbb5d6a97b18f1668d580a23b17057e41807f3f14fbfc42ab25b7b11731323935ff2cc5a2ed28082cf1dc4b5764f3aada23ea00f645f8b49767d4c WHIRLPOOL 7c55d8a17b052de5ca7e54d15ef9b9d561b8b476b4c1e72f2d05e999a555c7f31aa19b069bbb354419814e5bf64f58cbcaaaf224f460e86c84fceecb0606ba50 +MISC ChangeLog 2991 SHA256 296797cf44c1cf2484282b6fada3402b3613f18de97493335044f3aa1e6edddc SHA512 9ae9b5dc80b467feb0e23a31852fe9fc70435ef53c328286504d49a8993f29ba9b5e473038637ac61a1a6ab592a70626af08a75a5a48bdf375e60f87aced399d WHIRLPOOL bc23b15f3e179726607d200cbcce9021e65fe17df40467a1edfe87e2a8e6d5111a1265589202f7ef141f648bf914d795e03ec385afa3bb23bb1fd5d260029b41 +MISC ChangeLog-2015 2941 SHA256 ec25fa6d5a249d36610972d0d325d01bcbe6db6a527feac8910409f485bbac40 SHA512 77afb7e1244ac5c16dc5662ffbe0e89826af011a9aa3350be263ef66038e40560f8e01858c95d23cba4df5ee22b12dc3a2e1b2fc19880cd727964b1a00c026f6 WHIRLPOOL 135a749bb79b90d4fd3e1a4c91222c1d7242742e651d7942e369ed2f80b3e82918b383165d213c7838838efaae2519452a241ac0ec6c38f9f88a59a31043be08 +MISC metadata.xml 415 SHA256 2b713734575172230540b71ba18014e3806fa3015733e55bc57b575c62b91cd3 SHA512 88de311ef1dc5590377c173508b1ad36346f9c69d518e8705c89af8cb3642fd9f838038489fe6f0a429370417db013b3df5f89e97ba9a67ff1f34df0ac4b359d WHIRLPOOL a316177b2798d1c7ff4f0cfd7ae158fc01d3d8cdea7d4a2f6e71e4910a9821e6b84f6180ad77a32944b7a1e74aa71f9f83ea11ee9a529caf584222136d4c2816 diff --git a/media-libs/raul/files/ldconfig2.patch b/media-libs/raul/files/ldconfig2.patch new file mode 100644 index 000000000000..7676ae0781f9 --- /dev/null +++ b/media-libs/raul/files/ldconfig2.patch @@ -0,0 +1,12 @@ +Index: raul-0.8.0/wscript +=================================================================== +--- raul-0.8.0.orig/wscript ++++ raul-0.8.0/wscript +@@ -153,7 +153,5 @@ def build(bld): + # Documentation + autowaf.build_dox(bld, 'RAUL', RAUL_VERSION, top, out) + +- bld.add_post_fun(autowaf.run_ldconfig) +- + def test(ctx): + autowaf.run_tests(ctx, APPNAME, tests.split()) diff --git a/media-libs/raul/files/raul-0.8.0-gcc47.patch b/media-libs/raul/files/raul-0.8.0-gcc47.patch new file mode 100644 index 000000000000..c9cb2d080931 --- /dev/null +++ b/media-libs/raul/files/raul-0.8.0-gcc47.patch @@ -0,0 +1,45 @@ +https://bugs.gentoo.org/show_bug.cgi?id=425274 +Build with gcc 4.7 + +Index: raul-0.8.0/raul/PathTable.hpp +=================================================================== +--- raul-0.8.0.orig/raul/PathTable.hpp ++++ raul-0.8.0/raul/PathTable.hpp +@@ -37,13 +37,13 @@ public: + typename Table<Path, T>::iterator find_descendants_end( + typename Table<Path, T>::iterator parent) + { +- return find_range_end(parent, &Path::descendant_comparator); ++ return this->find_range_end(parent, &Path::descendant_comparator); + } + + typename Table<Path, T>::const_iterator find_descendants_end( + typename Table<Path, T>::const_iterator parent) const + { +- return find_range_end(parent, &Path::descendant_comparator); ++ return this->find_range_end(parent, &Path::descendant_comparator); + } + }; + +Index: raul-0.8.0/raul/TableImpl.hpp +=================================================================== +--- raul-0.8.0.orig/raul/TableImpl.hpp ++++ raul-0.8.0/raul/TableImpl.hpp +@@ -249,7 +249,7 @@ Table<K, T>::cram(const Table<K,T>& rang + assert(is_sorted()); + #endif + +- return make_pair(iterator(*this, insert_index), true); ++ return std::make_pair(iterator(*this, insert_index), true); + } + + +@@ -339,7 +339,7 @@ Table<K, T>::operator[](const K& key) + if (i != end()) { + return i->second; + } else { +- std::pair<iterator,bool> ret = insert(make_pair(key, T())); ++ std::pair<iterator,bool> ret = insert(std::make_pair(key, T())); + return ret.first->second; + } + } diff --git a/media-libs/raul/metadata.xml b/media-libs/raul/metadata.xml new file mode 100644 index 000000000000..f87c0c1d7bd3 --- /dev/null +++ b/media-libs/raul/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>proaudio@gentoo.org</email> + <name>Gentoo ProAudio Project</name> +</maintainer> +<longdescription lang="en"> + Raul (Realtime Audio Utility Library) is a C++ utility library primarily + aimed at audio/musical applications. +</longdescription> +</pkgmetadata> diff --git a/media-libs/raul/raul-0.8.0-r1.ebuild b/media-libs/raul/raul-0.8.0-r1.ebuild new file mode 100644 index 000000000000..6677b4b654cd --- /dev/null +++ b/media-libs/raul/raul-0.8.0-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE='threads(+)' + +inherit waf-utils python-any-r1 eutils + +DESCRIPTION="C++ utility library primarily aimed at audio/musical applications" +HOMEPAGE="http://wiki.drobilla.net/Raul" +SRC_URI="http://download.drobilla.net/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="debug doc test" + +RDEPEND="dev-libs/boost + >=dev-libs/glib-2.14.0" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +RAUL_TESTS="atomic_test atom_test list_test midi_ringbuffer_test path_test quantize_test queue_test ringbuffer_test smf_test table_test thread_test time_test" +DOCS=( AUTHORS README ChangeLog ) + +src_prepare() { + epatch "${FILESDIR}/ldconfig2.patch" + epatch "${FILESDIR}/${P}-gcc47.patch" +} + +src_configure() { + waf-utils_src_configure \ + --htmldir=/usr/share/doc/${PF}/html \ + $(use debug && echo "--debug") \ + $(use doc && echo "--docs") \ + $(use test && echo "--test") +} + +src_test() { + cd "${S}/build/test" || die + for i in ${RAUL_TESTS} ; do + einfo "Running test ${i}" + LD_LIBRARY_PATH=.. ./${i} || die + done +} |