gdkpixbuf 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 = "gdk_pixbuf2"
|
|
6
6
|
PACKAGE_ID = "gdk-pixbuf-2.0"
|
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__))
|
@@ -35,7 +36,8 @@ if PKGConfig.have_package('gdk-2.0')
|
|
35
36
|
end
|
36
37
|
|
37
38
|
if USE_GNOME_GEMS
|
38
|
-
|
39
|
+
# locate the latest glib2 install and add the package dependency
|
40
|
+
path = File.dirname(Gem.find_files('rbglib.h').first)
|
39
41
|
add_depend_package("glib2", path, '/')
|
40
42
|
else
|
41
43
|
add_depend_package("glib2", "glib/src", TOPDIR)
|