Permalink
Browse files

add tapeutape, delete old iannix

  • Loading branch information...
nightmorph committed Aug 22, 2011
1 parent d5b10ac commit 13c117e8b187f98de64c1b4bab78dc6b3e444651
@@ -1,67 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-inherit eutils qt4-r2
-
-DESCRIPTION="Graphical sequencer for digital art"
-HOMEPAGE="http://www.iannix.org"
-SRC_URI="http://iannix.org/en/download/${PN}_sources__0_8_2.zip"
-
-RESTRICT="mirror"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc examples +jack"
-
-S="${WORKDIR}/IanniX"
-
-RDEPEND="${DEPEND}"
-DEPEND="media-libs/alsa-lib
- x11-libs/qt-core
- x11-libs/qt-gui
- x11-libs/qt-opengl
- jack? ( media-sound/jack-audio-connection-kit )"
-
-#src_configure() {
-# econf $(use_with jack)
-#}
-
-src_install() {
- dobin IanniX
- doicon ${FILESDIR}/iannix.png
- make_desktop_entry IanniX IanniX iannix AudioVideo
- dodoc Readme.txt
-
- if use doc; then
- docinto Documentation
- docompress -x /usr/share/doc/${PF}/Documentation
- dodoc -r Documentation/*
- fi
- if use examples; then
- docinto Examples
- docompress -x /usr/share/doc/${PF}/Examples
- dodoc -r ${S}/Examples/*
-
- docinto Patches
- docompress -x /usr/share/doc/${PF}/Patches
- dodoc -r ${S}/Patches/*
- fi
-}
-
-pkg_postinst() {
- elog "Run IanniX with /usr/bin/IanniX"
-
- if use examples; then
- elog "Examples and sample patches for PureData,"
- elog "Max/MSP, and Processing can be found in:"
- elog "/usr/share/doc/${PF}/Examples"
- elog "/usr/share/doc/${PF}/Patches"
- fi
- if use doc; then
- elog "A handy HTML usage guide can be found in"
- elog "/usr/share/doc/${PF}/Documentation"
- fi
-}
@@ -0,0 +1,3 @@
+AUX tapeutape-0.1.1-install.patch 866 RMD160 3e1c7254c668993a344c3e76f21ed957085dc296 SHA1 62727aa05e6b9a3ac6a85d094b3127dc025818cd SHA256 6021a9be0b8a81c668a7367c32a4cd8b1c727f5f90369b3a95996086560d642b
+DIST tapeutape-0.1.1.tar.gz 494876 RMD160 8b6cdfdf73a2b53353b6c89fba05cba646368cc3 SHA1 051f9ae8bb10f79aed91c071c5878c070eaf5452 SHA256 cb19ed8fab9621173a61c27f5b5b8f56300a0296a00385ef196cd87c7f467e4f
+EBUILD tapeutape-0.1.1.ebuild 988 RMD160 b3e142f9952e8a171e4d47a3f22e1efb07e22b73 SHA1 be1327540fc212cfa35b6e5d6725e649a52cea1c SHA256 bb38d97729d8c1dbb6a5c13e918520871c992ef34d3d1bfc33fd64e355f85615
@@ -0,0 +1,21 @@
+--- SConstruct.orig 2011-01-04 00:14:55.000000000 +0200
++++ SConstruct 2011-01-04 00:15:12.000000000 +0200
+@@ -88,10 +88,14 @@
+ env['LINKCOMSTR'] = "Linking $TARGET"
+
+ # INSTALL
+-bin = env.Install('/usr/local/bin', 'tapeutape')
+-desktop = env.Install('/usr/local/share/applications', 'data/tapeutape.desktop')
+-icon = env.Install('/usr/local/share/pixmaps', 'data/tapeutape.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, 'tapeutape')
++desktop = env.Install(desktop_dir, 'data/tapeutape.desktop')
++icon = env.Install(icon_dir, 'data/tapeutape.png')
++env.Alias('install', [bin_dir, desktop_dir, icon_dir])
+
+ # HELP
+ if (optlang=='fr'):
@@ -0,0 +1,44 @@
+# 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 virtual sampler."
+HOMEPAGE="http://tardigrade-inc.com/index.php/En/Tapeutape"
+SRC_URI="http://www.tardigrade-inc.com/uploads/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+gui +lash"
+
+DEPEND="dev-libs/libxml2
+ media-libs/libsamplerate
+ media-libs/libsndfile
+ media-sound/jack-audio-connection-kit"
+RDEPEND="gui? ( =x11-libs/fltk-1.1.10* )
+ lash? ( media-sound/lash )"
+
+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 tapeutape_h/ a\ \n#include " tapeutape.h
+}
+
+src_compile() {
+ escons \
+ $(use_scons gui) \
+ $(use_scons lash)
+}
+
+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 13c117e

Please sign in to comment.