atk 0.20.0 → 0.20.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -3
- data/extconf.rb +3 -1
- metadata +2 -2
data/Rakefile
CHANGED
data/extconf.rb
CHANGED
@@ -6,6 +6,7 @@ PACKAGE_NAME = "atk"
|
|
6
6
|
PACKAGE_ID = "atk"
|
7
7
|
|
8
8
|
begin
|
9
|
+
require 'rubygems'
|
9
10
|
require 'mkmf-gnome2'
|
10
11
|
USE_GNOME_GEMS=true
|
11
12
|
TOPDIR = File.expand_path(File.dirname(__FILE__))
|
@@ -39,7 +40,8 @@ have_func('atk_text_clip_type_get_type', atk_header)
|
|
39
40
|
have_func('atk_text_free_ranges', atk_header)
|
40
41
|
|
41
42
|
if USE_GNOME_GEMS
|
42
|
-
|
43
|
+
# locate the latest glib2 install and add the package dependency
|
44
|
+
path = File.dirname(Gem.find_files('rbglib.h').first)
|
43
45
|
add_depend_package("glib2", path, '/')
|
44
46
|
else
|
45
47
|
add_depend_package("glib2", "glib/src", TOPDIR)
|