Balló György pushed to branch main at Arch Linux / Packaging / Packages / 
libimobiledevice


Commits:
fc54beda by Balló György at 2024-05-12T21:57:53+02:00
Switch to git source

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -6,20 +6,21 @@ pkgbase = libimobiledevice
        arch = x86_64
        license = LGPL-2.1-or-later
        makedepends = cython
-       makedepends = python
+       makedepends = doxygen
+       makedepends = git
        makedepends = python-setuptools
        depends = glibc
        depends = libplist
        depends = libusbmuxd
        depends = openssl
        optdepends = python: Python bindings
-       source = 
https://github.com/libimobiledevice/libimobiledevice/releases/download/1.3.0/libimobiledevice-1.3.0.tar.bz2
+       source = 
git+https://github.com/libimobiledevice/libimobiledevice.git#tag=1.3.0
        source = libimobiledevice-libplist-2.3.0.patch
        source = libimobiledevice-cython3.patch
        source = libimobiledevice-python3.patch
-       sha256sums = 
53f2640c6365cd9f302a6248f531822dc94a6cced3f17128d4479a77bd75b0f6
-       sha256sums = 
57fb4616c68c240aad47df52168fa30e4bf43845bfbe53df23cc412003ae64fd
-       sha256sums = 
cb6e7feb779f8a414551ecc90423dee1e654fab3acc5fdd15c61d5cea410bff4
-       sha256sums = 
3b706669b52d51cd7dff6c12f244ef6421eaa68c9ac5001e5f38fae1876f8b16
+       b2sums = 
49d7d01a78a618860b774db835e4f0a7fb37743dc8f4b0b1a1fbefe71c3590d07de04616de2129c2a6090ac4211826004227c28dacff0e61e130e1c4c87c3072
+       b2sums = 
136390910a57e70c3ce458ab5c6def4e079b7eb4c2946447102078ca511f8d112caf9460c074ecbb6c8a4f526e0aa50015d2f92acf66dbbb666bd007e361ee5e
+       b2sums = 
6e0d5eeeeedfd1888e2f24a4bf9ccb97e2761b9ae44d07a238f3235f4b61ad7d12918c801620e2c0f1f23aebb1754411f7f7e81a3a10126a0a0f1b8f4057d9b5
+       b2sums = 
0c6ee9f22baf8258e097411a0857f8a902b839a694d0c4ed790b054a0b5f63da3168883953e7302d2c942c0db42a340e8e9948bcdc95412d882d465869f5d878
 
 pkgname = libimobiledevice


=====================================
PKGBUILD
=====================================
@@ -11,19 +11,19 @@ arch=('x86_64')
 url='https://libimobiledevice.org/'
 license=('LGPL-2.1-or-later')
 depends=('glibc' 'libplist' 'libusbmuxd' 'openssl')
-makedepends=('cython' 'python' 'python-setuptools')
+makedepends=('cython' 'doxygen' 'git' 'python-setuptools')
 optdepends=('python: Python bindings')
-source=("https://github.com/libimobiledevice/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.bz2";
+source=("git+https://github.com/libimobiledevice/libimobiledevice.git#tag=$pkgver";
         'libimobiledevice-libplist-2.3.0.patch'
         'libimobiledevice-cython3.patch'
         'libimobiledevice-python3.patch')
-sha256sums=('53f2640c6365cd9f302a6248f531822dc94a6cced3f17128d4479a77bd75b0f6'
-            '57fb4616c68c240aad47df52168fa30e4bf43845bfbe53df23cc412003ae64fd'
-            'cb6e7feb779f8a414551ecc90423dee1e654fab3acc5fdd15c61d5cea410bff4'
-            '3b706669b52d51cd7dff6c12f244ef6421eaa68c9ac5001e5f38fae1876f8b16')
+b2sums=('49d7d01a78a618860b774db835e4f0a7fb37743dc8f4b0b1a1fbefe71c3590d07de04616de2129c2a6090ac4211826004227c28dacff0e61e130e1c4c87c3072'
+        
'136390910a57e70c3ce458ab5c6def4e079b7eb4c2946447102078ca511f8d112caf9460c074ecbb6c8a4f526e0aa50015d2f92acf66dbbb666bd007e361ee5e'
+        
'6e0d5eeeeedfd1888e2f24a4bf9ccb97e2761b9ae44d07a238f3235f4b61ad7d12918c801620e2c0f1f23aebb1754411f7f7e81a3a10126a0a0f1b8f4057d9b5'
+        
'0c6ee9f22baf8258e097411a0857f8a902b839a694d0c4ed790b054a0b5f63da3168883953e7302d2c942c0db42a340e8e9948bcdc95412d882d465869f5d878')
 
 prepare() {
-  cd $pkgname-$pkgver
+  cd $pkgname
 
   # Fix build with libplist 2.3.0
   patch -Np1 -i ../libimobiledevice-libplist-2.3.0.patch
@@ -34,18 +34,19 @@ prepare() {
   # Fix compatibility with python 3
   patch -Np1 -i ../libimobiledevice-python3.patch
 
-  autoreconf -fi
+  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() (
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
+  make docs
 )
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 
   # Include documentation



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libimobiledevice/-/commit/fc54beda1efab7264afaa2074ec4534ed680a033

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libimobiledevice/-/commit/fc54beda1efab7264afaa2074ec4534ed680a033
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to