Commit 431399f0 authored by Francesco Marinucci's avatar Francesco Marinucci
Browse files

modemmanager: update to 1.6.12

parent 9e324570
pkgname=modemmanager
_realname=ModemManager
pkgver=1.6.4
pkgver=1.6.12
pkgrel=1
pkgdesc="Mobile broadband modem management service"
arch=('x86_64')
url="http://www.freedesktop.org/wiki/Software/ModemManager/"
license=(GPL2 LGPL2.1)
depends=(systemd libgudev polkit ppp libqmi libmbim)
makedepends=(intltool gtk-doc gobject-introspection vala autoconf-archive git)
_commit=ed41d18ab6b0db386b30ed8ef712ab51a865c7cf # tags/1.6.4
source=("git://anongit.freedesktop.org/ModemManager/ModemManager#commit=$_commit")
url="http://www.freedesktop.org/wiki/Software/$_realname/"
license=('GPL2' 'LGPL2.1')
depends=('systemd' 'libgudev' 'polkit' 'ppp' 'libqmi' 'libmbim')
makedepends=('intltool' 'gobject-introspection' 'vala' 'autoconf-archive' 'git' 'gtk-doc')
_commit=9059729a4cd4b4cbac0854e87122245c20567f1c # tags/1.6.12
source=("git://anongit.freedesktop.org/$_realname/$_realname#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd ModemManager
cd $_realname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd ModemManager
cd $_realname
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd ModemManager
cd $_realname
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
......@@ -32,16 +32,16 @@ build() {
--with-udev-base-dir=/usr/lib/udev \
--with-polkit=permissive \
--with-suspend-resume=systemd \
--enable-gtk-doc \
--disable-gtk-doc \
--disable-static
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
# sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd ModemManager
make DESTDIR="$pkgdir" install
cd $_realname
make DESTDIR=$pkgdir install
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment