[proaudio] [2668] media-sound/mididings: import

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 2668
Author:   gavlee
Date:     2013-04-17 13:47:58 +0200 (Wed, 17 Apr 2013)
Log Message:
-----------
media-sound/mididings: import

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/mididings/
    trunk/overlays/proaudio/media-sound/mididings/ChangeLog
    trunk/overlays/proaudio/media-sound/mididings/Manifest
    trunk/overlays/proaudio/media-sound/mididings/files/
    trunk/overlays/proaudio/media-sound/mididings/files/mididings-20120419-boost_python.patch
    trunk/overlays/proaudio/media-sound/mididings/metadata.xml
    trunk/overlays/proaudio/media-sound/mididings/mididings-20120419.ebuild

Added: trunk/overlays/proaudio/media-sound/mididings/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/mididings/ChangeLog	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/mididings/ChangeLog	2013-04-17 11:47:58 UTC (rev 2668)
@@ -0,0 +1,11 @@
+# ChangeLog for media-sound/mididings
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*mididings-20120419 (16 Apr 2013)
+
+  16 Apr 2013; Gavin Pryke (gavlee) <gavinlee303@xxxxxxxxxxxxxx>
+  +mididings-20120419.ebuild, +files/mididings-20120419-boost_python.patch,
+  +metadata.xml:
+  initial import.
+

Added: trunk/overlays/proaudio/media-sound/mididings/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/mididings/Manifest	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/mididings/Manifest	2013-04-17 11:47:58 UTC (rev 2668)
@@ -0,0 +1,5 @@
+AUX mididings-20120419-boost_python.patch 701 SHA256 92870548033f35a2f42c697ba74b05cf3a17df825f0ad86052699663ce0e8f12 SHA512 0750b814199a7e18948c22abab89db6042241b3ed301c355320c0532b5ab50ea2eee56684e9649ada00034880c6b7106b6822a93fe82e83b008bd52462ac470f WHIRLPOOL eeb1c2e7a53d2e8f48fc0faa0feb3f56fb4c91ab40ba8f54b57298e1e4942ef8f5ff22840bc0dd0d6d0b61544af4ec0b834ce890f0fd0fa0ac3217e0b0d2266e
+DIST mididings-20120419.tar.gz 179049 SHA256 7f84ec290e09f5ba8be961c47a1c0b7646a47e1f2123686944a60cea9ccfcb4d SHA512 c30fc02b9ae64ba17280fb8db66b84226109a063840a8ac25737c67ad0dd77cf8bd0901fb40d41d926bb1372664f14dcfa4dbc1374ea900fdcd372f13b37897c WHIRLPOOL dde33a6f2ffeb847a2ab573c320fb5b1b4da0bb47c2a61a40d6dfbacc51a7829af358552607362385fc503e1b6211f4801548be4c332e4f5be654a30e407989c
+EBUILD mididings-20120419.ebuild 1455 SHA256 c500c0eb95e6113d9172b10310225ae37647f25da08baeb597cf1d703ce67921 SHA512 93f99c171e6328242ac40946204ebe5363de040d010d5d2efb2543158dee5d659aff52d554d1105d32ccbe0ba26159d8aee5cab0d79a1b99fca9a1cf8d35915d WHIRLPOOL 04783dec0d6d412b5a599038c47cffe60b63581f638095b06eca77cad42934cd2f0c559f40560ea4f7024c68ba5716dd301b6649020f8676a61ab0b7b74d9bd2
+MISC ChangeLog 334 SHA256 b3b4e64eaed0c672621a92dcfe59ce6b6d2f27fc9479302635e442241c7b8621 SHA512 3b8f083605ff1bbc993d2cb03f16e272b6f15595a3f94bd07a54fc0814af89970347427903d1aa4c5c26002ada6a7d3b03454b5fa27ae99b435aa3be1ae08300 WHIRLPOOL 9b9c039b6385bae89697fe34cd0cf1afeb06e4b01f521ffe2d76ee469fc8d034e77790ad5b11ef4333fbd59bcc99040c1dd4e647c4ad6634fd00edba1425ae9a
+MISC metadata.xml 355 SHA256 df3443bd166126d0fc0a4b869f8aff79f53a15a354bd4af5b423c625fe797c71 SHA512 53e16d339253fa6a850e63405c54deb28bed3e8c267b4868eb25655c582f487f3c76b4f3dbfc3aa3681fb9f344b4f2b3d430764e94b1291b3a7fb59fdc4ffb92 WHIRLPOOL 1e07013c9efb8e73d4129984855597b566005361bc22bdf293d402da6e040bd944d3501abae34281f9edd7dd5c5bb72e306c5972c2e8bb01912b7de765e3c3e6

Added: trunk/overlays/proaudio/media-sound/mididings/files/mididings-20120419-boost_python.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/mididings/files/mididings-20120419-boost_python.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/mididings/files/mididings-20120419-boost_python.patch	2013-04-17 11:47:58 UTC (rev 2668)
@@ -0,0 +1,21 @@
+diff --git a/setup.py b/setup.py
+index 5093a0a..10b4a30 100755
+--- a/setup.py
++++ b/setup.py
+@@ -46,11 +46,14 @@ def pkgconfig(pkg):
+             library_dirs.append(val)
+ 
+ def boost_lib_name(lib):
++    vmaj = sys.version_info[0]
++    vmin = sys.version_info[1]
++
+     for libdir in ('/usr/lib', '/usr/local/lib', '/usr/lib64', '/usr/local/lib64'):
+         for suffix in ('', '-mt'):
+-            libname = 'lib%s%s.so' % (lib, suffix)
++            libname = 'lib%s-%d.%d%s.so' % (lib, vmaj, vmin, suffix)
+             if os.path.isfile(os.path.join(libdir, libname)):
+-                return lib + suffix
++                return '%s-%d.%d%s' % (lib, vmaj, vmin, suffix)
+     return lib + '-mt'
+ 
+ 

Added: trunk/overlays/proaudio/media-sound/mididings/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-sound/mididings/metadata.xml	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/mididings/metadata.xml	2013-04-17 11:47:58 UTC (rev 2668)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+	<maintainer>
+		<email>proaudio@xxxxxxxxxxxxx</email>
+		<name>pro-audio overlay team</name>
+	</maintainer>
+	<use>
+		<flag name="smf">read/write standard MIDI files through <pkg>media-libs/libsmf</pkg></flag>
+	</use>
+</pkgmetadata>

Added: trunk/overlays/proaudio/media-sound/mididings/mididings-20120419.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/mididings/mididings-20120419.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/mididings/mididings-20120419.ebuild	2013-04-17 11:47:58 UTC (rev 2668)
@@ -0,0 +1,50 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7,3_2} )
+PYTHON_REQ_USE="tk?"
+inherit distutils-r1
+
+DESCRIPTION="A MIDI router and processor based on Python, supporting ALSA and JACK MIDI"
+HOMEPAGE="http://das.nasophon.de/mididings/";
+SRC_URI="http://das.nasophon.de/download/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa dbus doc examples inotify jack osc smf tk"
+REQUIRED_USE="|| ( alsa jack )"
+
+RDEPEND="${PYTHON_DEPS}
+	>=dev-libs/boost-1.34.1[${PYTHON_USEDEP},threads]
+	dev-libs/glib:2
+	dev-python/decorator[${PYTHON_USEDEP}]
+	alsa? ( media-libs/alsa-lib )
+	dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
+	inotify? ( >=dev-python/pyinotify-0.8[${PYTHON_USEDEP}] )
+	jack? ( >=media-sound/jack-audio-connection-kit-0.116.0 )
+	smf? ( media-libs/libsmf )
+	osc? ( >=media-libs/pyliblo-0.9.1-r1[${PYTHON_USEDEP}] )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+RESTRICT="mirror"
+
+PATCHES=( "${FILESDIR}"/${P}-boost_python.patch )
+
+python_configure_all() {
+	mydistutilsargs=(
+		$(use alsa && echo "--enable-alsa-seq" || echo "--disable-alsa-seq")
+		$(use jack && echo "--enable-jack-midi" || echo "--disable-jack-midi")
+		$(use smf && echo "--enable-smf" || echo "--disable-smf")
+	)
+}
+
+python_install_all() {
+	use doc && HTML_DOCS=( doc/ )
+	use examples && EXAMPLES=( doc/examples/*.py )
+
+	distutils-r1_python_install_all
+}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/