mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+libimobiledevice.org (#5405)
* new file: projects/libimobiledevice.org/package.yml * modified: projects/libimobiledevice.org/package.yml * Update package.yml * fix errors PLIST_FORMAT_XML and PLIST_FORMAT_BINARY * looks like it wants things deprecated in 3.0 --------- Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
parent
ba4ca975d8
commit
7e39ec8dea
1 changed files with 38 additions and 0 deletions
38
projects/libimobiledevice.org/package.yml
Normal file
38
projects/libimobiledevice.org/package.yml
Normal file
|
@ -0,0 +1,38 @@
|
|||
distributable:
|
||||
url: https://github.com/libimobiledevice/libimobiledevice/releases/download/{{version}}/libimobiledevice-{{version}}.tar.bz2
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: libimobiledevice/libimobiledevice
|
||||
|
||||
dependencies:
|
||||
libimobiledevice.org/libplist: ^2.4
|
||||
gnu.org/libtasn1: ^4.19
|
||||
libimobiledevice.org/libusbmuxd: ^2
|
||||
openssl.org: ^1.1
|
||||
|
||||
build:
|
||||
script:
|
||||
# error: redefinition of enumerator 'PLIST_FORMAT_XML'
|
||||
# error: redefinition of enumerator 'PLIST_FORMAT_BINARY'
|
||||
- run: |
|
||||
sed -i 's|PLIST_FORMAT_XML|PLIST_FORMAT_XML_|g' common/utils.h
|
||||
sed -i 's|PLIST_FORMAT_BINARY|PLIST_FORMAT_BINARY_|g' common/utils.h
|
||||
if: <=1.3.0
|
||||
- ./configure $ARGS
|
||||
- make --jobs {{hw.concurrency}} install
|
||||
env:
|
||||
ARGS:
|
||||
- --disable-debug
|
||||
- --disable-dependency-tracking
|
||||
- --disable-silent-rules
|
||||
- --prefix={{prefix}}
|
||||
- --libdir={{prefix}}/lib
|
||||
- --enable-debug
|
||||
- --without-cython
|
||||
|
||||
provides:
|
||||
- bin/idevicedate
|
||||
|
||||
test:
|
||||
idevicedate --help
|
Loading…
Reference in a new issue