This repository was archived by the owner on Nov 24, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +29
-9
lines changed Expand file tree Collapse file tree 6 files changed +29
-9
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,10 @@ RUN bash -x /install-deps-ubuntu.sh
16
16
COPY ./install-cmake.sh /
17
17
RUN bash -x /install-cmake.sh
18
18
19
- ARG DESKTOP_FILE_UTILS_VERSION=0.26
19
+ ARG MESON_VERSION=0.63.0
20
+ RUN python3 -m pip install meson=="$MESON_VERSION"
21
+
22
+ ARG DESKTOP_FILE_UTILS_VERSION=56d220dd679c7c3a8f995a41a27a7d6f3df49dea
20
23
COPY build-desktop-file-utils.sh /
21
24
RUN bash -x /build-desktop-file-utils.sh
22
25
Original file line number Diff line number Diff line change @@ -16,7 +16,10 @@ RUN bash -x /install-deps-ubuntu.sh
16
16
COPY ./install-cmake.sh /
17
17
RUN bash -x /install-cmake.sh
18
18
19
- ARG DESKTOP_FILE_UTILS_VERSION=0.26
19
+ ARG MESON_VERSION=0.63.0
20
+ RUN python3 -m pip install meson=="$MESON_VERSION"
21
+
22
+ ARG DESKTOP_FILE_UTILS_VERSION=56d220dd679c7c3a8f995a41a27a7d6f3df49dea
20
23
COPY build-desktop-file-utils.sh /
21
24
RUN bash -x /build-desktop-file-utils.sh
22
25
Original file line number Diff line number Diff line change @@ -16,7 +16,10 @@ RUN bash -x /install-deps-ubuntu.sh
16
16
COPY ./install-cmake.sh /
17
17
RUN bash -x /install-cmake.sh
18
18
19
- ARG DESKTOP_FILE_UTILS_VERSION=0.26
19
+ ARG MESON_VERSION=0.63.0
20
+ RUN python3 -m pip install meson=="$MESON_VERSION"
21
+
22
+ ARG DESKTOP_FILE_UTILS_VERSION=56d220dd679c7c3a8f995a41a27a7d6f3df49dea
20
23
COPY build-desktop-file-utils.sh /
21
24
RUN bash -x /build-desktop-file-utils.sh
22
25
Original file line number Diff line number Diff line change @@ -45,7 +45,10 @@ ARG ZSYNC_VERSION=0.6.2
45
45
COPY build-zsync.sh /
46
46
RUN bash -x /build-zsync.sh
47
47
48
- ARG DESKTOP_FILE_UTILS_VERSION=0.26
48
+ ARG MESON_VERSION=0.63.0
49
+ RUN python3 -m pip install meson=="$MESON_VERSION"
50
+
51
+ ARG DESKTOP_FILE_UTILS_VERSION=56d220dd679c7c3a8f995a41a27a7d6f3df49dea
49
52
COPY build-desktop-file-utils.sh /
50
53
RUN bash -x /build-desktop-file-utils.sh
51
54
Original file line number Diff line number Diff line change @@ -42,7 +42,10 @@ ARG ZSYNC_VERSION=0.6.2
42
42
COPY build-zsync.sh /
43
43
RUN bash -x /build-zsync.sh
44
44
45
- ARG DESKTOP_FILE_UTILS_VERSION=0.26
45
+ ARG MESON_VERSION=0.63.0
46
+ RUN python3 -m pip install meson=="$MESON_VERSION"
47
+
48
+ ARG DESKTOP_FILE_UTILS_VERSION=56d220dd679c7c3a8f995a41a27a7d6f3df49dea
46
49
COPY build-desktop-file-utils.sh /
47
50
RUN bash -x /build-desktop-file-utils.sh
48
51
Original file line number Diff line number Diff line change 2
2
3
3
set -xe
4
4
5
- wget https://www. freedesktop.org/software/ desktop-file-utils/releases/ desktop-file-utils-" $DESKTOP_FILE_UTILS_VERSION " .tar.xz -O - | tar xJ
5
+ git clone -n https://github.com/ freedesktop/xdg- desktop-file-utils.git desktop-file-utils-" $DESKTOP_FILE_UTILS_VERSION "
6
6
7
7
cd desktop-file-utils-" $DESKTOP_FILE_UTILS_VERSION "
8
8
9
+ # this workaround is needed since we use a commit hash at the moment to support 1.5 type desktop entries
10
+ git checkout " $DESKTOP_FILE_UTILS_VERSION "
11
+
9
12
export CHOST=" $DEBARCH "
10
13
11
- export CFLAGS=" -I/deps/include"
12
- export CPPFLAGS=" $CFLAGS "
13
- export LDFLAGS=" -L/deps/lib"
14
+ flags=" -no-pie -static"
15
+
16
+ export CFLAGS=" -I/deps/include $flags "
17
+ export CPPFLAGS=" $CFLAGS $flags "
18
+ export LDFLAGS=" -L/deps/lib $flags "
14
19
15
20
./autogen.sh --prefix=/deps --target=" $CHOST " --build=" x86_64-linux-gnu" --host=" $CHOST "
16
21
You can’t perform that action at this time.
0 commit comments