[proaudio] [1309] nonsequencer ebuild thx Jean-Baptiste |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 1309
Author: evermind
Date: 2008-09-05 22:23:32 +0200 (Fri, 05 Sep 2008)
Log Message:
-----------
nonsequencer ebuild thx Jean-Baptiste
Added Paths:
-----------
trunk/overlays/proaudio/media-sound/nonsequencer/
trunk/overlays/proaudio/media-sound/nonsequencer/ChangeLog
trunk/overlays/proaudio/media-sound/nonsequencer/Manifest
trunk/overlays/proaudio/media-sound/nonsequencer/files/
trunk/overlays/proaudio/media-sound/nonsequencer/files/nonsequencer-makefile-fix.patch
trunk/overlays/proaudio/media-sound/nonsequencer/nonsequencer-9999.ebuild
Added: trunk/overlays/proaudio/media-sound/nonsequencer/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/nonsequencer/ChangeLog (rev 0)
+++ trunk/overlays/proaudio/media-sound/nonsequencer/ChangeLog 2008-09-05 20:23:32 UTC (rev 1309)
@@ -0,0 +1,8 @@
+# ChangeLog for media-sound/nonsequencer
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 05 Sep 2008; Frieder Buerzele <evermind@xxxxxxxxxxxxx>;
+ +nonsequencer-9999.ebuild, +files/nonsequencer-makefile-fix.patch:
+ initial ebuild thx Jean-Baptiste
+
Added: trunk/overlays/proaudio/media-sound/nonsequencer/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/nonsequencer/Manifest (rev 0)
+++ trunk/overlays/proaudio/media-sound/nonsequencer/Manifest 2008-09-05 20:23:32 UTC (rev 1309)
@@ -0,0 +1,3 @@
+AUX nonsequencer-makefile-fix.patch 1149 RMD160 cf2200229f9550b01ef43d7f3edffd44e07bf54e SHA1 982ea5e5899aeca6712af0007e169935110037d6 SHA256 33655194f4791257091f5d6025ed2dba9029e44b0bec8be52d053b636dc66879
+EBUILD nonsequencer-9999.ebuild 930 RMD160 03b99cb6ce3e25cea3e15e650ece5a3a03b07a5d SHA1 cd940b48e67b732de28ccce0bc2d96a62702e201 SHA256 6913556f10a49bb2230b5762eea40b847e2bbcc75036c5cb0afec311a0ce6694
+MISC ChangeLog 288 RMD160 c0b658d8634cd214e661632cb5217c9043b0b970 SHA1 2e01fe504eec646f414e8c4651fd9999c48cafa3 SHA256 d01e49ab6be4f263b1d29fb85ec5afb6b87fa00af93b06fbc001303a132f37e6
Added: trunk/overlays/proaudio/media-sound/nonsequencer/files/nonsequencer-makefile-fix.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/nonsequencer/files/nonsequencer-makefile-fix.patch (rev 0)
+++ trunk/overlays/proaudio/media-sound/nonsequencer/files/nonsequencer-makefile-fix.patch 2008-09-05 20:23:32 UTC (rev 1309)
@@ -0,0 +1,30 @@
+This patch complete uses the tool "install" to install
+all files and to create the directories. Furthermore it also
+adds the posibility to place all the files into a DESTDIR -->
+this is usefull for packaging --> as most distributers do
+
+--- nonsequencer-0.1/Makefile.orig 2008-08-12 04:18:43.000000000 +0200
++++ nonsequencer-0.1/Makefile 2008-09-05 12:42:35.000000000 +0200
+@@ -108,15 +108,16 @@
+
+ install: all
+ @ echo -n "Installing..."
+- @ install non-sequencer $(prefix)/bin
+- @ mkdir -p "$(SYSTEM_PATH)"
+- @ cp -r instruments "$(SYSTEM_PATH)"
+- @ mkdir -p "$(DOCUMENT_PATH)"
+- @ cp doc/*.html doc/*.png "$(DOCUMENT_PATH)"
++ @ install -d $(DESTDIR)$(prefix)/bin
++ @ install -m 755 non-sequencer $(DESTDIR)$(prefix)/bin
++ @ install -d "$(DESTDIR)$(SYSTEM_PATH)/instruments"
++ @ install -m 644 instruments/* "$(DESTDIR)$(SYSTEM_PATH)/instruments"
++ @ install -d "$(DESTDIR)$(DOCUMENT_PATH)"
++ @ install -m 644 doc/*.html doc/*.png "$(DESTDIR)$(DOCUMENT_PATH)"
+ @ echo "$(DONE)"
+ ifneq ($(USE_DEBUG),yes)
+ @ echo -n "Stripping..."
+- @ strip $(prefix)/bin/non-sequencer
++ @ strip $(DESTDIR)$(prefix)/bin/non-sequencer
+ @ echo "$(DONE)"
+ endif
+
Added: trunk/overlays/proaudio/media-sound/nonsequencer/nonsequencer-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/nonsequencer/nonsequencer-9999.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-sound/nonsequencer/nonsequencer-9999.ebuild 2008-09-05 20:23:32 UTC (rev 1309)
@@ -0,0 +1,35 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit git eutils
+
+DESCRIPTION="The Non Sequencer is a powerful real-time, pattern-based MIDI sequencer for Linux."
+HOMEPAGE="http://non-sequencer.tuxfamily.org/"
+EGIT_REPO_URI="git://git.tuxfamily.org/gitroot/non/sequencer.git"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="lash"
+
+DEPEND=">=x11-libs/fltk-1.1.2
+ >=dev-libs/libsigc++-2.0
+ >=media-sound/jack-audio-connection-kit-0.103
+ lash? ( >=media-sound/lash-0.5.4 )"
+RDEPEND="${DEPEND}"
+
+src_unpack(){
+ git_src_unpack || die "git clone failed."
+ cd "${S}"
+ epatch "${FILESDIR}/nonsequencer-makefile-fix.patch"
+}
+
+src_compile() {
+ econf $(use_enable lash) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ fowners root:audio "${ROOT}"/usr/bin/non-sequencer || die "chown failed"
+}