summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-04-26 19:31:37 +0000
committerDavid Robillard <d@drobilla.net>2014-04-26 19:31:37 +0000
commit8faea1a4af77676b49b906fa6ada2345c9bd4ef5 (patch)
treea3a33dbb10c1ac9bcbd87479621ffee3be053cb2
parent65b14544b89afc3a7d3a7de57e6ef15ca8165bd0 (diff)
downloadganv-8faea1a4af77676b49b906fa6ada2345c9bd4ef5.tar.gz
ganv-8faea1a4af77676b49b906fa6ada2345c9bd4ef5.tar.bz2
ganv-8faea1a4af77676b49b906fa6ada2345c9bd4ef5.zip
Fix library dependencies.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5373 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--ganv.pc.in4
-rw-r--r--wscript10
2 files changed, 7 insertions, 7 deletions
diff --git a/ganv.pc.in b/ganv.pc.in
index 7255764..3edf190 100644
--- a/ganv.pc.in
+++ b/ganv.pc.in
@@ -5,7 +5,7 @@ includedir=@INCLUDEDIR@
Name: ganv
Version: @GANV_VERSION@
-Description: A Gtkmm canvas widget for graph based interfaces
-Requires: gobject-2.0
+Description: A Gtk canvas widget for graph based interfaces
+Requires: gtk+-2.0
Libs: -L${libdir} -l@LIB_GANV@
Cflags: -I${includedir}/ganv-@GANV_MAJOR_VERSION@
diff --git a/wscript b/wscript
index ed61364..cb6061e 100644
--- a/wscript
+++ b/wscript
@@ -108,7 +108,7 @@ def build(bld):
# Pkgconfig file
autowaf.build_pc(bld, 'GANV', GANV_VERSION, GANV_MAJOR_VERSION,
- 'AGRAPH_2_20 AGRAPH_2_30 GLIBMM ART',
+ 'GTKMM AGRAPH_2_20 AGRAPH_2_30',
{'GANV_MAJOR_VERSION' : GANV_MAJOR_VERSION})
bld(rule = 'glib-genmarshal --prefix=ganv_marshal --header ${SRC} > ${TGT}',
@@ -126,7 +126,7 @@ def build(bld):
includes = ['.', './src'],
name = 'libganv',
target = 'ganv-%s' % GANV_MAJOR_VERSION,
- uselib = 'GTKMM AGRAPH_2_20 AGRAPH_2_30 ART',
+ uselib = 'GTKMM AGRAPH_2_20 AGRAPH_2_30',
vnum = GANV_VERSION,
install_path = '${LIBDIR}')
@@ -135,7 +135,7 @@ def build(bld):
source = 'src/ganv_bench.cpp',
includes = ['.', './src'],
use = 'libganv',
- use_lib = 'GTKMM',
+ uselib = 'GTKMM AGRAPH_2_20 AGRAPH_2_30',
target = 'src/ganv_bench')
if bld.env.BUILD_TESTS:
@@ -145,7 +145,7 @@ def build(bld):
includes = ['.', './src'],
name = 'libganv_profiled',
target = 'ganv_profiled',
- uselib = 'GTKMM AGRAPH_2_20 AGRAPH_2_30 ART',
+ uselib = 'GTKMM AGRAPH_2_20 AGRAPH_2_30',
install_path = '',
cflags = [ '-fprofile-arcs', '-ftest-coverage' ])
@@ -155,7 +155,7 @@ def build(bld):
includes = ['.', './src'],
use = 'libganv_profiled',
lib = ['gcov'],
- use_lib = 'GTK',
+ uselib = 'GTKMM AGRAPH_2_20 AGRAPH_2_30',
target = 'src/ganv_test')
# Documentation