[proaudio] [1641] add media-libs/armstrong for aldrin-0.13 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 1641
Author: gavlee
Date: 2010-04-16 20:41:12 +0200 (Fri, 16 Apr 2010)
Log Message:
-----------
add media-libs/armstrong for aldrin-0.13
Added Paths:
-----------
trunk/overlays/proaudio/media-libs/armstrong/
trunk/overlays/proaudio/media-libs/armstrong/ChangeLog
trunk/overlays/proaudio/media-libs/armstrong/Manifest
trunk/overlays/proaudio/media-libs/armstrong/armstrong-0.2.6.ebuild
trunk/overlays/proaudio/media-libs/armstrong/armstrong-9999.ebuild
trunk/overlays/proaudio/media-libs/armstrong/files/
trunk/overlays/proaudio/media-libs/armstrong/files/armstrong-0.2.6-boost.patch
trunk/overlays/proaudio/media-libs/armstrong/metadata.xml
Added: trunk/overlays/proaudio/media-libs/armstrong/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-libs/armstrong/ChangeLog (rev 0)
+++ trunk/overlays/proaudio/media-libs/armstrong/ChangeLog 2010-04-16 18:41:12 UTC (rev 1641)
@@ -0,0 +1,13 @@
+# ChangeLog for media-libs/armstrong
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header$
+
+*armstrong-9999 (16 Apr 2010)
+*armstrong-0.2.6 (16 Apr 2010)
+
+ 16 Apr 2010; Gavin Pryke <gavinlee303@xxxxxxxxxxxxxx>
+ +armstrong-0.2.6.ebuild, +files/armstrong-0.2.6-boost.patch,
+ +armstrong-9999.ebuild, +metadata.xml:
+ import of armstrong which supercedes media-libs/libzzub and is required
+ by >=aldrin-0.13
+
Added: trunk/overlays/proaudio/media-libs/armstrong/Manifest
===================================================================
--- trunk/overlays/proaudio/media-libs/armstrong/Manifest (rev 0)
+++ trunk/overlays/proaudio/media-libs/armstrong/Manifest 2010-04-16 18:41:12 UTC (rev 1641)
@@ -0,0 +1,6 @@
+AUX armstrong-0.2.6-boost.patch 743 RMD160 116086876c70f51d3d27bf8e6ae8712c685454e9 SHA1 a886b83306b7a6f7b18d99d8c21d74cb35d60565 SHA256 0e3edc828676d61ec0c258de758df86512dcc55af5b823ecc704d4efad7fcb56
+DIST armstrong-0.2.6.tar.gz 7124619 RMD160 d79475ce44a4f55cb783755bb4bcb0828713dde5 SHA1 1a236155b82d2cde0057f888626015d24b47d1e5 SHA256 afb9886c0d827be1941a4ba9026a9a97bef3e03287b79f59055941a8979145a6
+EBUILD armstrong-0.2.6.ebuild 1552 RMD160 3183ab07d9e14661d4305c81def05819e8ed029d SHA1 8cb3575fe36c8bd8a035dbbab1ced6d04316ba41 SHA256 8e7b25b59a5e30a5f4629b552fdba058a9c5e9b821bd310539ad898e2a042971
+EBUILD armstrong-9999.ebuild 1531 RMD160 eebe633a8bf45b8f67b0d789a344bfa0d347d4af SHA1 97e490989747696b82bf85b18e02f7b998fa1eec SHA256 d2071fa198581732ff2a3b5c3f383bc1842edfb06d414de731bd972a9c8e6342
+MISC ChangeLog 435 RMD160 5036d807696b5a22d7bcf2fa0e8783bd2d9a4792 SHA1 3bc009b51fd0d7c95bc11e86513ff518a3066b5a SHA256 9b862d98c76d2865af7735fba7f23a4fc403a9ea794be4fb49b6905f0b374017
+MISC metadata.xml 388 RMD160 30be35843f3eaecdf9ecc6e9575c2c9dd78bf113 SHA1 7d4308b68219af00f929b4f1bdebe2e6da94b1d8 SHA256 33f07cd75ea0b32ac7a5799551f7e0ad9d229d6f8b7e42180f331feaa71583c4
Added: trunk/overlays/proaudio/media-libs/armstrong/armstrong-0.2.6.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/armstrong/armstrong-0.2.6.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-libs/armstrong/armstrong-0.2.6.ebuild 2010-04-16 18:41:12 UTC (rev 1641)
@@ -0,0 +1,66 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit eutils distutils
+
+DESCRIPTION="Open source C/C++ music tracking and sequencing library (previously known as libzzub)"
+HOMEPAGE="http://code.google.com/p/aldrin-sequencer/"
+SRC_URI="http://aldrin-sequencer.googlecode.com/files/${P}.tar.gz"
+RESTRICT="mirror"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="alsa jack llvm"
+
+DEPEND="${RDEPEND}
+ dev-util/scons"
+RDEPEND=">=dev-lang/python-2.5
+ >=dev-python/wxpython-2.6
+ media-libs/libsndfile
+ jack? ( media-sound/jack-audio-connection-kit )
+ alsa? ( media-libs/alsa-lib )
+ sys-libs/zlib
+ media-libs/flac
+ llvm? ( >=sys-devel/llvm-base-1.9[jit] )
+ !media-libs/libzzub"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ if use llvm; then
+ ewarn "Note: LLVM is a bleeding edge bleeding edge compiler suite that"
+ ewarn "offers very optimized code. It takes a while to compile!"
+ ewarn "llvm-base and llvm-gcc can be found in the proaudio-dev overlay."
+ ewarn ""
+ ewarn "You can also choose libzzub's GCC wrapper with USE=\"-llvm\"."
+ fi
+}
+
+src_compile() {
+ epatch "${FILESDIR}/${P}-boost.patch"
+
+ local myconf=""
+
+ use llvm \
+ && myconf="${myconf} LUNARTARGET=llvm LLVMGCCPATH=/usr/bin" \
+ || myconf="${myconf} LUNARTARGET=gcc"
+
+ scons \
+ PREFIX=/usr \
+ DESTDIR="${D}" \
+ ${myconf} \
+ configure || die "configure failed"
+
+ scons || die "compilation failed"
+}
+
+src_install() {
+ scons install || die
+ dodoc CREDITS.txt
+ cd src/pyzzub
+ distutils_src_install
+}
Added: trunk/overlays/proaudio/media-libs/armstrong/armstrong-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/armstrong/armstrong-9999.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-libs/armstrong/armstrong-9999.ebuild 2010-04-16 18:41:12 UTC (rev 1641)
@@ -0,0 +1,67 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit eutils distutils mercurial
+
+DESCRIPTION="Open source C/C++ music tracking and sequencing library (previously known as libzzub)"
+HOMEPAGE="http://www.bitbucket.org/paniq/armstrong"
+
+SRC_URI=""
+EHG_REPO_URI="http://bitbucket.org/paniq/${PN}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="alsa jack llvm"
+
+DEPEND="${RDEPEND}
+ dev-util/scons"
+RDEPEND=">=dev-lang/python-2.5
+ >=dev-python/wxpython-2.6
+ media-libs/libsndfile
+ jack? ( media-sound/jack-audio-connection-kit )
+ alsa? ( media-libs/alsa-lib )
+ sys-libs/zlib
+ media-libs/flac
+ llvm? ( >=sys-devel/llvm-base-1.9[jit] )
+ !media-libs/libzzub"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ if use llvm; then
+ ewarn "Note: LLVM is a bleeding edge bleeding edge compiler suite that"
+ ewarn "offers very optimized code. It takes a while to compile!"
+ ewarn "llvm-base and llvm-gcc can be found in the proaudio-dev overlay."
+ ewarn ""
+ ewarn "You can also choose libzzub's GCC wrapper with USE=\"-llvm\"."
+ fi
+}
+
+src_compile() {
+ epatch "${FILESDIR}/${PN}-0.2.6-boost.patch"
+
+ local myconf=""
+
+ use llvm \
+ && myconf="${myconf} LUNARTARGET=llvm LLVMGCCPATH=/usr/bin" \
+ || myconf="${myconf} LUNARTARGET=gcc"
+
+ scons \
+ PREFIX=/usr \
+ DESTDIR="${D}" \
+ ${myconf} \
+ configure || die "configure failed"
+
+ scons || die "compilation failed"
+}
+
+src_install() {
+ scons install || die
+ dodoc CREDITS.txt
+ cd src/pyzzub
+ distutils_src_install
+}
Added: trunk/overlays/proaudio/media-libs/armstrong/files/armstrong-0.2.6-boost.patch
===================================================================
--- trunk/overlays/proaudio/media-libs/armstrong/files/armstrong-0.2.6-boost.patch (rev 0)
+++ trunk/overlays/proaudio/media-libs/armstrong/files/armstrong-0.2.6-boost.patch 2010-04-16 18:41:12 UTC (rev 1641)
@@ -0,0 +1,13 @@
+diff --git a/armstrong/src/libzzub/libzzub.cpp b/armstrong/src/libzzub/libzzub.cpp
+index 643b02c..fa7a1b3 100644
+--- a/src/libzzub/libzzub.cpp
++++ b/src/libzzub/libzzub.cpp
+@@ -1447,7 +1447,7 @@ int zzub_plugin_describe_value(zzub_plugin_t *plugin, int group, int column, int
+ int index = -1;
+ zzub_plugin_pattern_to_linear_no_connections(plugin, group, 0, column, &index);
+
+- const parameter* para = plugin->_player->back.plugin_get_parameter_info(plugin->id, group, 0, column);
++ const zzub::parameter* para = plugin->_player->back.plugin_get_parameter_info(plugin->id, group, 0, column);
+ if (index != -1) {
+ if (value != getNoValue(para)) { // infector crashen when trying to describe novalues (and out-of-range-values)
+
Added: trunk/overlays/proaudio/media-libs/armstrong/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-libs/armstrong/metadata.xml (rev 0)
+++ trunk/overlays/proaudio/media-libs/armstrong/metadata.xml 2010-04-16 18:41:12 UTC (rev 1641)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>proaudio@xxxxxxxxxxxxx</email>
+ <name>pro-audio overlay team</name>
+ </maintainer>
+ <use>
+ <flag name="llvm">Enable optimisations using the LLVM Compiler Infrastructure (in proaudio-dev)</flag>
+ </use>
+</pkgmetadata>