Permalink
Browse files

add tranches, a realtime beat slicer/repeater/masher

  • Loading branch information...
1 parent 0f7e37e commit fe73447db8cf0344442efa0d97308e1754b903a9 @nightmorph committed Jul 1, 2011
@@ -0,0 +1,4 @@
+AUX tranches-0.1.1-install.patch 957 RMD160 ad95e1f9961124e20614626210f83adca734f937 SHA1 53877e9a229c8a3442e31de4a89998e8a82e5958 SHA256 c4e8f8387bede2bc8eb25500cc9825600dc2df6319ef2ee2c264ba81ebcd3bd4
+DIST tranches-0.1.1.tar.gz 81142 RMD160 d7f0ea2720beca12334895a400f9aa208bde4a2f SHA1 0f83abe89fd9ede4bef7c9c36973a1cae3d6ce11 SHA256 ee68d670a4ee0b708063b0f64fc1a824e260b06fba6e39035b6fb388a9e1b1b6
+EBUILD tranches-0.1.1.ebuild 1099 RMD160 09a342c564524af4dc307a30f83332175b09d295 SHA1 dc796cf2409f2ce48e3e68377d41386da7dec19f SHA256 5af7c5cadac054aea091bd290dab3456ee5352d4aa9f5512272345c5dc5a5c93
+MISC metadata.xml 263 RMD160 1a85a9596d03dffd5628c3d8cdca256921eb90ca SHA1 52de87bfbc23e08e455850c42cdbae5e59036464 SHA256 295790ee0cc65a4c3f912ad5765e45b106a2ec618284ea85da8ca21ec03c65f8
@@ -0,0 +1,22 @@
+diff -urN tranches-0.1.1.orig/SConstruct tranches-0.1.1/SConstruct
+--- tranches-0.1.1.orig/SConstruct 2008-11-16 12:24:13.000000000 +0100
++++ tranches-0.1.1/SConstruct 2011-02-03 18:13:57.000000000 +0100
+@@ -82,10 +82,14 @@
+ env['LINKCOMSTR'] = "Linking $TARGET"
+
+ # INSTALL
+-bin = env.Install('/usr/local/bin', 'tranches')
+-desktop = env.Install('/usr/local/share/applications', 'data/tranches.desktop')
+-icon = env.Install('/usr/local/share/pixmaps', 'data/tranches.png')
+-env.Alias('install', [bin,desktop,icon])
++bin_dir = ARGUMENTS.get('bin_dir', '/usr/local/bin')
++desktop_dir = ARGUMENTS.get('desktop_dir', '/usr/local/share/applications')
++icon_dir = ARGUMENTS.get('icon_dir', '/usr/local/share/pixmaps')
++
++bin = env.Install(bin_dir, 'tranches')
++desktop = env.Install(desktop_dir, 'data/tranches.desktop')
++icon = env.Install(icon_dir, 'data/tranches.png')
++env.Alias('install', [bin_dir, desktop_dir, icon_dir])
+
+ # HELP
+ if (optlang=='fr'):
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+ <maintainer>
+ <email>nightmorph@gmail.com</email>
+ <name>Joshua Saddler</name>
+ </maintainer>
+</pkgmetadata>
@@ -0,0 +1,42 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit eutils scons-utils
+
+DESCRIPTION="MIDI-controlled multi-i/o live beat repeat/rearrange/redirect tool"
+HOMEPAGE="http://tardigrade-inc.com/index.php/En/Tranches"
+SRC_URI="http://www.tardigrade-inc.com/uploads/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="fr lash gui"
+
+DEPEND="dev-libs/libxml2
+ media-sound/jack-audio-connection-kit
+ media-libs/libsamplerate
+ media-libs/libsndfile"
+
+RDEPEND="lash? ( media-sound/lash )
+ gui? ( =x11-libs/fltk-1.1.10* )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-install.patch
+ sed -i -e "s:CPPFLAGS=' :CPPFLAGS=' -I/usr/include/fltk-1 :g" SConstruct
+ sed -i -e "s:FL/Fl.H:fltk-1/FL/Fl.h:g" SConstruct
+
+ cd src/base
+ sed -i "/#define tranches_h/ a\ \n#include <limits>" tranches.h
+}
+
+src_compile() {
+ escons $(use_scons gui) $(use_scons lash) $(use_scons fr)
+}
+
+src_install() {
+ escons bin_dir="${D}/usr/bin" desktop_dir="${D}/usr/share/applications" \
+ icon_dir="${D}/usr/share/pixmaps" install
+}

0 comments on commit fe73447

Please sign in to comment.