mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 19:37:13 +08:00
libqmi: update to 1.20.0, build with py3
This commit is contained in:
parent
8786820c76
commit
6d10ce768f
@ -1,15 +1,15 @@
|
||||
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
||||
|
||||
pkgname=libqmi
|
||||
pkgver=1.16.2
|
||||
pkgver=1.20.0
|
||||
pkgrel=1
|
||||
pkgdesc="QMI modem protocol helper library"
|
||||
arch=(i686 x86_64)
|
||||
url="http://www.freedesktop.org/wiki/Software/libqmi/"
|
||||
license=(GPL2)
|
||||
depends=(libmbim)
|
||||
makedepends=(gtk-doc python git)
|
||||
_commit=f114f4ebe66c538cbb28b05eb0b065fe08c6f9fa # tags/1.16.2
|
||||
makedepends=(python3-six git)
|
||||
_commit=a7fd5363cff7af6137065065ce405adf7bcbfc35 # tags/1.20.0
|
||||
source=("git://anongit.freedesktop.org/libqmi#commit=$_commit")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
@ -21,12 +21,14 @@ pkgver() {
|
||||
prepare() {
|
||||
cd $pkgname
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
cd $srcdir/$pkgname/build-aux/qmi-codegen
|
||||
sed 's/env python/env python3/g' -i *.py
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname
|
||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
||||
--libexecdir=/usr/lib/$pkgname --disable-static --enable-gtk-doc
|
||||
--libexecdir=/usr/lib/$pkgname --disable-static --disable-gtk-doc
|
||||
make
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user