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
1616COPY ./install-cmake.sh /
1717RUN bash -x /install-cmake.sh
1818
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
2023COPY build-desktop-file-utils.sh /
2124RUN bash -x /build-desktop-file-utils.sh
2225
Original file line number Diff line number Diff line change @@ -16,7 +16,10 @@ RUN bash -x /install-deps-ubuntu.sh
1616COPY ./install-cmake.sh /
1717RUN bash -x /install-cmake.sh
1818
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
2023COPY build-desktop-file-utils.sh /
2124RUN bash -x /build-desktop-file-utils.sh
2225
Original file line number Diff line number Diff line change @@ -16,7 +16,10 @@ RUN bash -x /install-deps-ubuntu.sh
1616COPY ./install-cmake.sh /
1717RUN bash -x /install-cmake.sh
1818
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
2023COPY build-desktop-file-utils.sh /
2124RUN bash -x /build-desktop-file-utils.sh
2225
Original file line number Diff line number Diff line change @@ -45,7 +45,10 @@ ARG ZSYNC_VERSION=0.6.2
4545COPY build-zsync.sh /
4646RUN bash -x /build-zsync.sh
4747
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
4952COPY build-desktop-file-utils.sh /
5053RUN bash -x /build-desktop-file-utils.sh
5154
Original file line number Diff line number Diff line change @@ -42,7 +42,10 @@ ARG ZSYNC_VERSION=0.6.2
4242COPY build-zsync.sh /
4343RUN bash -x /build-zsync.sh
4444
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
4649COPY build-desktop-file-utils.sh /
4750RUN bash -x /build-desktop-file-utils.sh
4851
Original file line number Diff line number Diff line change 22
33set -xe
44
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 "
66
77cd desktop-file-utils-" $DESKTOP_FILE_UTILS_VERSION "
88
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+
912export CHOST=" $DEBARCH "
1013
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 "
1419
1520./autogen.sh --prefix=/deps --target=" $CHOST " --build=" x86_64-linux-gnu" --host=" $CHOST "
1621
You can’t perform that action at this time.
0 commit comments