Navigation Menu

Skip to content

Commit

Permalink
Add ofono
Browse files Browse the repository at this point in the history
  • Loading branch information
neochapay committed Mar 28, 2022
1 parent 57baa61 commit b0e052a
Showing 1 changed file with 59 additions and 0 deletions.
59 changes: 59 additions & 0 deletions ofono/PKGBUILD
@@ -0,0 +1,59 @@
# Maintainer: Jerome Leclanche <jerome@leclan.ch>

pkgname=ofono
pkgver=1.34
pkgrel=0
pkgdesc="Infrastructure for building mobile telephony (GSM/UMTS) applications"
url="https://github.com/neochapay/ofono-new"
arch=('x86_64' 'aarch64')
license=("GPL2")
depends=("bluez"
"dbus"
"modemmanager"
"glib2"
"udev"
"mobile-broadband-provider-info"
"libglibutil>=1.0.51"
"libwspcodec"
"libdbusaccess"
"libdbuslog")
source=("${pkgname}::git+${url}")
sha256sums=('SKIP')

prepare() {
cd "${srcdir}/${pkgname}/ofono"
git checkout branch-1.34-qmi
./bootstrap
}


build() {
cd "${srcdir}/${pkgname}/ofono"
#unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
autoreconf -fi
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--sbindir=/usr/bin \
--localstatedir=/var \
--with-systemdunitdir=/usr/lib/systemdir/system \
--enable-test \
--enable-sailfish-bt \
--enable-sailfish-debuglog \
--enable-sailfish-provision \
--enable-sailfish-pushforwarder \
--enable-sailfish-access \
--disable-add-remove-context \
--disable-isimodem \
--enable-qmimodem \
--disable-rilmodem \
--disable-bluez4 \
--enable-tools

make
}

package() {
cd "${srcdir}/${pkgname}/ofono"
make DESTDIR="$pkgdir" install
}

0 comments on commit b0e052a

Please sign in to comment.