[proaudio] [1971] Add ebuild for Tranches

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


Revision: 1971
Author:   willy
Date:     2011-05-11 17:51:32 +0200 (Wed, 11 May 2011)
Log Message:
-----------
Add ebuild for Tranches

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/tranches/
    trunk/overlays/proaudio/media-sound/tranches/ChangeLog
    trunk/overlays/proaudio/media-sound/tranches/Manifest
    trunk/overlays/proaudio/media-sound/tranches/files/
    trunk/overlays/proaudio/media-sound/tranches/files/tranches-0.1.1-install.patch
    trunk/overlays/proaudio/media-sound/tranches/metadata.xml
    trunk/overlays/proaudio/media-sound/tranches/tranches-0.1.1.ebuild

Added: trunk/overlays/proaudio/media-sound/tranches/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/tranches/ChangeLog	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/tranches/ChangeLog	2011-05-11 15:51:32 UTC (rev 1971)
@@ -0,0 +1,10 @@
+# ChangeLog for media-sound/tranches
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*tranches-0.1.1 (11 May 2011)
+
+  11 May 2011; <willy@xxxxxxxxxx> +tranches-0.1.1.ebuild,
+  +files/tranches-0.1.1-install.patch, +metadata.xml:
+  Add ebuild for Tranches
+

Added: trunk/overlays/proaudio/media-sound/tranches/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/tranches/Manifest	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/tranches/Manifest	2011-05-11 15:51:32 UTC (rev 1971)
@@ -0,0 +1,5 @@
+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 1117 RMD160 84bf221e8de39bb2dd091421cc536de4c555b46e SHA1 dce169cb301e287a754686f4898d707cec025da4 SHA256 ff6f52c217355093f26622ff94636bdc97188ca3db49fc693629ca9bdc803efd
+MISC ChangeLog 291 RMD160 1b3b330e659982f98b0e41da6ab1452db375491f SHA1 8dd9cd2852c452e42e2eeff7a90da1b7dd2d7122 SHA256 81b1f05f7fbd83a9178e7aa52454d254bb425dd0821cd4056a5e5edb45554c72
+MISC metadata.xml 712 RMD160 794cdd1ee5babd0a542bac4fc6e6e9c60e3bd17a SHA1 bc27540a5d5ebd336704c0c291948f40e4b01273 SHA256 d118112cfdafefe0d1c4c83bcf21568d4691dd40da24432d16f40306570e028d

Added: trunk/overlays/proaudio/media-sound/tranches/files/tranches-0.1.1-install.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/tranches/files/tranches-0.1.1-install.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/tranches/files/tranches-0.1.1-install.patch	2011-05-11 15:51:32 UTC (rev 1971)
@@ -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'):

Added: trunk/overlays/proaudio/media-sound/tranches/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-sound/tranches/metadata.xml	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/tranches/metadata.xml	2011-05-11 15:51:32 UTC (rev 1971)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+	<herd>no-herd</herd>
+	<maintainer>
+		<email>willy@xxxxxxxxxxxxx</email>
+		<name>Willy WOLFF</name>
+	</maintainer>
+
+	<longdescription lang="en">
+	  Tranches is a midi-controlled multi-(inputs/outputs) live beat repeat/rearrange/redirect tool.
+	</longdescription>
+	
+	<longdescription lang="fr">
+	  Tranches est un outil de répétition/réarrangement/redirection de rythmes en temps-réel avec plusieurs entrées et sorties et contrôlable en MIDI.
+	</longdescription>
+
+	<use>
+	  <flag name="gui">Add gui (fltk)</flag>
+	  <flag name="fr">Add french interface</flag>
+	</use>
+</pkgmetadata>

Added: trunk/overlays/proaudio/media-sound/tranches/tranches-0.1.1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/tranches/tranches-0.1.1.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/tranches/tranches-0.1.1.ebuild	2011-05-11 15:51:32 UTC (rev 1971)
@@ -0,0 +1,40 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit eutils scons-utils
+
+DESCRIPTION="Tranches is midi-controlled multi-(inputs/outputs) 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 "s,CPPFLAGS=',CPPFLAGS=' -I/usr/include/fltk-1.1,"  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) || die "Compilation failed"
+}
+
+src_install(){
+	escons bin_dir="${D}/usr/bin" desktop_dir="${D}/usr/share/applications" icon_dir="${D}/usr/share/pixmaps" install || die "Install failed"
+}
\ No newline at end of file


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