Skip to content

Commit a0e3b36

Browse files
committed
fixup! kodi: update to 21.0
1 parent 48db73e commit a0e3b36

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

srcpkgs/kodi/template

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,19 @@ else
113113
configure_args+=" -DWITH_TEXTUREPACKER=/usr/bin/TexturePacker"
114114
fi
115115

116-
pre_configure() {
116+
post_patch() {
117117
if [ "$CROSS_BUILD" ]; then
118-
find -type f | \
119-
grep "configure\.ac\|Makefile\|cmake\|config\.site" | \
120-
xargs sed -i -e "s;-isystem;-I;g"
118+
find -type f | \
119+
grep "configure\.ac\|Makefile\|cmake\|config\.site" | \
120+
xargs sed -i -e "s;-isystem;-I;g"
121+
vsed -i -e "s/--disable-shared/& --host=${XBPS_CROSS_TRIPLET}/" cmake/modules/FindUdfread.cmake
122+
vsed -i -e "s/--prefix/--host=${XBPS_CROSS_TRIPLET} &/" cmake/modules/FindFstrcmp.cmake
123+
# vsed -i -e "s/BUILD_COMMAND make/& CC=${XBPS_CROSS_TRIPLET}-cc LD=${XBPS_CROSS_TRIPLET}-cc/" \
124+
# cmake/modules/FindFstrcmp.cmake
121125
fi
126+
}
122127

128+
pre_configure() {
123129
. /etc/profile.d/jdk.sh
124130
}
125131

0 commit comments

Comments
 (0)