···1+--- code-r100/configure.ac 2014-09-25 23:44:41.059174904 +0200
2++++ code-r100.new/configure.ac 2014-09-26 01:37:18.507017390 +0200
3+@@ -44,6 +44,8 @@
4+ [AC_MSG_ERROR(CONFIG: You need libxml2-dev installed.
5+ http://www.xmlsoft.org/)])
6+7++PKG_CHECK_MODULES([libxml], [libxml-2.0])
8++
9+ AC_CHECK_LIB([m], [sqrt], , [AC_MSG_ERROR(CORE: You need libm installed)])
10+ AC_CHECK_LIB([pthread], [pthread_self], , [AC_MSG_ERROR(CORE: You need libpthread installed)])
11+12+@@ -79,12 +81,12 @@
13+ echo "--- Enabling USB LCD display --";
14+ fi
15+16+-#SDL_VERSION=1.2.4
17+-#AM_PATH_SDL($SDL_VERSION,
18+-# :,
19+-# AC_MSG_ERROR([VIDEO: *** SDL version $SDL_VERSION not found!
20+-# http://www.libsdl.org/])
21+-#)
22++SDL_VERSION=1.2.4
23++AM_PATH_SDL($SDL_VERSION,
24++ :,
25++ AC_MSG_ERROR([VIDEO: *** SDL version $SDL_VERSION not found!
26++ http://www.libsdl.org/])
27++)
28+29+ AC_CHECK_LIB([vorbis], [main], ,
30+ [AC_MSG_ERROR(AUDIO: You need libvorbis-dev installed.
31+@@ -95,6 +97,9 @@
32+ AC_CHECK_LIB([vorbisenc], [main], ,
33+ [AC_MSG_ERROR(AUDIO: You need libvorbis-dev installed.
34+ http://www.xiph.org/ogg/vorbis/)])
35++AC_CHECK_LIB([ogg], [main], ,
36++ [AC_MSG_ERROR(AUDIO: You need libogg-dev installed.
37++ http://www.xiph.org/ogg/)])
38+39+ AC_CHECK_LIB([sndfile], [main], ,
40+ [AC_MSG_ERROR(AUDIO: you need libsndfile installed.
+42
pkgs/applications/audio/freewheeling/default.nix
···000000000000000000000000000000000000000000
···1+{ stdenv, fetchsvn, pkgconfig, autoconf, automake, gnutls, freetype,
2+SDL, SDL_gfx, SDL_ttf, liblo, libxml2, alsaLib, jack2, libvorbis,
3+libsndfile, libogg }:
4+5+stdenv.mkDerivation {
6+ name = "freewheeling-100";
7+8+ src = fetchsvn {
9+ url = svn://svn.code.sf.net/p/freewheeling/code;
10+ rev = 100;
11+ sha256 = "1m6z7p93xyha25qma9bazpzbp04pqdv5h3yrv6851775xsyvzksv";
12+ };
13+14+ buildInputs = [ pkgconfig autoconf automake gnutls freetype
15+ SDL SDL_gfx SDL_ttf liblo libxml2 jack2 alsaLib
16+ libvorbis libsndfile libogg ];
17+18+ preConfigure = "autoreconf -vfi";
19+20+ patches = [ ./am_path_sdl.patch ./xml.patch ];
21+22+ meta = {
23+ description = "A live looping instrument with jack and MIDI support";
24+ longDescription = ''
25+ Freewheeling allows us to build repetitive grooves
26+ by sampling and directing loops from within spirited improvisation.
27+28+ It works because, down to the core, it's built around
29+ improv. We leave mice and menus, and dive into our own process
30+ of making sound.
31+32+ Freewheeling runs under Mac OS X and Linux, and is open source
33+ software, released under the GNU GPL license.
34+ '' ;
35+36+ version = "r100";
37+ homepage = "http://freewheeling.sourceforge.net";
38+ license = stdenv.lib.licenses.gpl2;
39+ maintainers = [ stdenv.lib.maintainers.sepi ];
40+ platforms = stdenv.lib.platforms.linux;
41+ };
42+}