@@ -7,8 +7,8 @@ version = v"3.28"
7
7
8
8
# Collection of sources required to build gnome-themes-extra
9
9
sources = [
10
- " http://ftp.gnome.org/pub/gnome/sources/gnome-themes-extra/$(version. major) .$(version. minor) /gnome-themes-extra-$(version. major) .$(version. minor) .tar.xz" =>
11
- " 7c4ba0bff001f06d8983cfc105adaac42df1d1267a2591798a780bac557a5819" ,
10
+ ArchiveSource ( " http://ftp.gnome.org/pub/gnome/sources/gnome-themes-extra/$(version. major) .$(version. minor) /gnome-themes-extra-$(version. major) .$(version. minor) .tar.xz" ,
11
+ " 7c4ba0bff001f06d8983cfc105adaac42df1d1267a2591798a780bac557a5819" ) ,
12
12
]
13
13
14
14
# Bash recipe for building across all platforms
@@ -19,18 +19,14 @@ apk add intltool
19
19
# Clear out `.la` files since they're often wrong and screw us up
20
20
rm -f ${prefix}/lib/*.la
21
21
22
- FLAGS=()
23
- if [[ "${target}" == *-mingw* ]]; then
24
- FLAGS+=(ac_cv_path_GTK_UPDATE_ICON_CACHE=gtk-update-icon-cache.exe)
25
- fi
22
+ # Remove a library from the host filesystem that is accidentally picked up by
23
+ # the build when doing a native compilation
24
+ rm /usr/lib/libexpat.so.1
26
25
27
- if [[ "${target}" == powerpc64le-* ]]; then
28
- export CFLAGS="-Wl,-rpath-link,${prefix}/lib64"
29
- fi
30
-
31
- ./configure --prefix=${prefix} --host=${target} \
32
- --disable-gtk2-engine \
33
- "${FLAGS[@]}"
26
+ ./configure --prefix=${prefix} \
27
+ --build=${MACHTYPE} \
28
+ --host=${target} \
29
+ --disable-gtk2-engine
34
30
make -j${nproc}
35
31
make install
36
32
"""
@@ -41,7 +37,7 @@ make install
41
37
# platforms = supported_platforms()
42
38
43
39
# Limit to the same platforms as Gtk for now
44
- platforms = supported_platforms ()
40
+ platforms = [ AnyPlatform ()]
45
41
46
42
# The products that we will ensure are always built
47
43
products = [
@@ -50,10 +46,10 @@ products = [
50
46
51
47
# Dependencies that must be installed before this package can be built
52
48
dependencies = [
53
- " GTK3_jll" ,
54
- " Librsvg_jll" ,
49
+ BuildDependency (" Xorg_xorgproto_jll" ),
50
+ Dependency (" GTK3_jll" ),
51
+ Dependency (" Librsvg_jll" ),
55
52
]
56
53
57
54
# Build the tarballs, and possibly a `build.jl` as well.
58
55
build_tarballs (ARGS , name, version, sources, script, platforms, products, dependencies)
59
-
0 commit comments