Verified Commit 45a605ac authored by Clayton Craft's avatar Clayton Craft
Browse files

testing/mmsd: upgrade to 0.3

The upstream source was changed, the repo here is actively maintained and
includes modemmanager support.

Build system uses meson now.

Setting myself as maintainer, with jpsamroo's approval
parent 38fc7b67
# Contributor: Julian P Samaroo <jpsamaroo@jpsamaroo.me>
# Maintainer: Julian P Samaroo <jpsamaroo@jpsamaroo.me>
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=mmsd
pkgver=0.1.0
pkgver=0.3
pkgrel=0
pkgdesc="daemon for receiving and managing GSM MMS messages"
arch="all"
url="https://git.sr.ht/~jpsamaroo/mmsd"
url="https://source.puri.sm/kop316/mmsd"
arch="all !s390x" # no modemmanager-dev
license="GPL-2.0-only"
makedepends="automake autoconf libtool glib-dev dbus-dev"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~jpsamaroo/mmsd/archive/$pkgver.tar.gz"
prepare() {
default_prepare
autoreconf -fi
}
makedepends="
dbus-dev
glib-dev
meson
modemmanager-dev
"
source="
https://source.puri.sm/kop316/mmsd/-/archive/v$pkgver/mmsd-v$pkgver.tar.gz
mmsd.desktop
"
builddir="$srcdir/$pkgname-v$pkgver"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
make
abuild-meson . output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
make check
meson test -C output
}
package() {
make install DESTDIR="$pkgdir"
DESTDIR="$pkgdir" meson install -C output
install -Dm644 "$srcdir"/mmsd.desktop \
"$pkgdir"/etc/xdg/autostart/mmsd.desktop
}
sha512sums="cf594942b3248913e38e651966659f10ebec4b7fabc29de490720da04e6386cbe35a070245ade83e15c0633cc6a7900c33e83af0ae006a258f08f700e537f0b0 mmsd-0.1.0.tar.gz"
sha512sums="4993a060dc839d5bf92b4e44c1264355c3fdfe502a9c654c75747a9944bfad44ef20b99278c8b6cef6b23eebf131faec9f5b19d4e46da0564634695b5b024245 mmsd-v0.3.tar.gz
1c0d28fd2f0ea4bf6532f84a8747b9cfb7e9361a05888fe911fa546759d5b0b668750d15bbb6b20d7f1e3f7362ca799a8a2eb61aa0a7b36e584756fe4f73e95c mmsd.desktop"
[Desktop Entry]
Name=mmsd
Comment=Daemon for MMS
Exec=/usr/bin/mmsd -d -n
Terminal=false
Type=Application
X-GNOME-AutoRestart=true
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