diff options
author | 2011-07-29 09:15:29 +0000 | |
---|---|---|
committer | 2011-07-29 09:15:29 +0000 | |
commit | b073ad7fb5e5028aeca7ac8eff65457c5b280545 (patch) | |
tree | 7672694dd765ab65a7c7e2cf59877fe5cf1e7dbc /media-sound/hydrogen/files | |
parent | Add ~x86-linux keyword. (diff) | |
download | historical-b073ad7fb5e5028aeca7ac8eff65457c5b280545.tar.gz historical-b073ad7fb5e5028aeca7ac8eff65457c5b280545.tar.bz2 historical-b073ad7fb5e5028aeca7ac8eff65457c5b280545.zip |
Fix building with liblrdf-0.4.0-r20
Package-Manager: portage-2.2.0_alpha47/cvs/Linux x86_64
Diffstat (limited to 'media-sound/hydrogen/files')
-rw-r--r-- | media-sound/hydrogen/files/hydrogen-0.9.5-use_lrdf_pkgconfig.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/media-sound/hydrogen/files/hydrogen-0.9.5-use_lrdf_pkgconfig.patch b/media-sound/hydrogen/files/hydrogen-0.9.5-use_lrdf_pkgconfig.patch new file mode 100644 index 000000000000..6c862eac5836 --- /dev/null +++ b/media-sound/hydrogen/files/hydrogen-0.9.5-use_lrdf_pkgconfig.patch @@ -0,0 +1,23 @@ +conf.CheckCHeader lrdf.h check fails because of missing -I/usr/include/raptor2, use pkg-config instead + +--- Sconstruct ++++ Sconstruct +@@ -268,7 +268,8 @@ + env.Append( LIBPATH = 'C:\Program Files\GnuWin32\lib' ) + env.Append( LIBS = [ "pthread" ] ) + +- if str(env['lrdf']) == "1": env.Append( LIBS = ["lrdf"] ) ++ if str(env['lrdf']) == "1": ++ env.ParseConfig('pkg-config --cflags --libs lrdf') + if str(env['jack']) == "1": env.Append( LIBS = ["jack"]) + if str(env['alsa']) == "1": env.Append( LIBS = ["asound"]) + if str(env['libarchive']) == "1": env.Append( LIBS = ["archive"]) +@@ -449,7 +450,7 @@ + Exit(1) + + #lrdf: categorizing of ladspa effects +-if str(env['lrdf']) == "1" and not conf.CheckCHeader('lrdf.h'): ++if str(env['lrdf']) == "1" and not conf.CheckPKG('lrdf >= 0.4.0'): + print 'lrdf must be installed!' + Exit(1) + |