Skip to content

Commit ce5d1a6

Browse files
committed
fix libplist
1 parent c40b3df commit ce5d1a6

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/build_release.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -144,26 +144,19 @@ jobs:
144144
make -j$(expr $(nproc) / 2) -l$(expr $(nproc) / 2)
145145
make install
146146
147-
148147
- name: build libplist
149148
run: |
150149
wget -q -nc -P ${BUILD_SOURCE} \
151-
https://github.com/libimobiledevice/libplist/archive/refs/heads/master.tar.gz
152-
mv ${BUILD_SOURCE}/master.tar.gz ${BUILD_SOURCE}/libplist-master.tar.gz
153-
tar xf ${BUILD_SOURCE}/libplist-master.tar.gz -C ${BUILD_WORK}
154-
155-
echo "${LIBPLIST_VERSION}" > ${BUILD_WORK}/libplist-master/.tarball-version
156-
157-
cd ${BUILD_WORK}/libplist-master
150+
https://github.com/libimobiledevice/libplist/archive/${LIBPLIST_VERSION}.tar.gz
151+
tar xf ${BUILD_SOURCE}/${LIBPLIST_VERSION}.tar.gz -C ${BUILD_WORK}
152+
echo "2.3.0" > ${BUILD_WORK}/libplist-${LIBPLIST_VERSION}/.tarball-version
153+
cd ${BUILD_WORK}/libplist-${LIBPLIST_VERSION}
158154
PACKAGE_VERSION=${LIBPLIST_VERSION} ./autogen.sh \
159155
${CONFIGURE_FLAGS} \
160156
--without-cython \
161157
--without-tests
162-
sed -i '78d' include/plist/plist.h
163-
sed -i '79,91d' include/plist/plist.h
164158
sed -i 's/tools//g' Makefile
165-
166-
make -j$(expr $(nproc) / 2) -l$(expr $(nproc) / 2)
159+
make -j$(nproc)
167160
make install
168161
169162
- name: build libimobiledevice-glue

0 commit comments

Comments
 (0)