@@ -5,17 +5,17 @@ using BinDeps
5
5
group = library_group (" gtk" )
6
6
7
7
deps = [
8
- gtk = library_dependency (" gtk" , aliases = [" libgtk-3" , " libgtk-3-0" ], group = group)
9
8
glib = library_dependency (" glib" , aliases = [" libglib-2.0" , " libglib-2.0-0" ], group = group)
10
- gdk = library_dependency (" gdk" , aliases = [" libgdk-3-0" , " libgdk-3.0" ], group = group)
11
- gdk_pixbuf = library_dependency (" gdk_pixbuf" , aliases = [" libgdk_pixbuf-2.0-0" , " libgdk_pixbuf-2.0.0" ], group = group)
12
- gio = library_dependency (" gio" , aliases = [" libgio-2.0-0" ," libgio-2.0.0" ], group = group)
13
- gobject = library_dependency (" gobject" , aliases = [" libgobject-2.0.0" , " libgobject-2.0-0" , " libgobject-2.0" , " libgobject-2_0-0" ], group = group)
9
+ gobject = library_dependency (" gobject" , aliases = [" libgobject-2.0" , " libgobject-2.0-0" ], group = group)
10
+ gtk = library_dependency (" gtk" , aliases = [" libgtk-3" , " libgtk-3-0" ], group = group)
11
+ gdk = library_dependency (" gdk" , aliases = [" libgdk-3" , " libgdk-3-0" ], group = group)
12
+ gdk_pixbuf = library_dependency (" gdk_pixbuf" , aliases = [" libgdk_pixbuf-2.0" , " libgdk_pixbuf-2.0-0" ], group = group)
13
+ gio = library_dependency (" gio" , aliases = [" libgio-2.0" , " libgio-2.0-0" ], group = group)
14
14
]
15
15
16
16
@linux_only begin
17
- provides (AptGet, " libgtk-3-0" , gtk )
18
- provides (Yum, " gtk3" , gtk )
17
+ provides (AptGet, " libgtk-3-0" , deps )
18
+ provides (Yum, " gtk3" , deps )
19
19
end
20
20
21
21
@windows_only begin
27
27
@osx_only begin
28
28
using Homebrew
29
29
provides (Homebrew. HB, " gtk+3" , [gtk, gdk, gobject], os = :Darwin , onload =
30
- """
31
- function __init__bindeps__()
32
- if "XDG_DATA_DIRS" in ENV
33
- ENV["XDG_DATA_DIRS"] *= ":" * joinpath("$(Homebrew. brew_prefix) ", "share")
34
- else
35
- ENV["XDG_DATA_DIRS"] = joinpath("$(Homebrew. brew_prefix) ", "share")
30
+ """
31
+ function __init__bindeps__()
32
+ if "XDG_DATA_DIRS" in ENV
33
+ ENV["XDG_DATA_DIRS"] *= ":" * joinpath("$(Homebrew. brew_prefix) ", "share")
34
+ else
35
+ ENV["XDG_DATA_DIRS"] = joinpath("$(Homebrew. brew_prefix) ", "share")
36
+ end
36
37
end
37
- end
38
- """ )
38
+ """ )
39
39
provides (Homebrew. HB, " glib" , [glib, gio], os = :Darwin )
40
40
provides (Homebrew. HB, " gdk-pixbuf" , gdk_pixbuf, os = :Darwin )
41
41
end
42
42
43
43
@BinDeps . install [
44
+ :glib => :libglib ,
45
+ :gobject => :libgobject ,
44
46
:gtk => :libgtk ,
45
47
:gdk => :libgdk ,
46
48
:gdk_pixbuf => :libgdk_pixbuf ,
47
49
:gio => :libgio ,
48
- :gobject => :libgobject ,
49
- :glib => :libglib
50
50
]
0 commit comments