From 106245fbc81c54db8b9715d27d594e74a00a661d Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Wed, 19 Feb 2020 16:08:28 +0100 Subject: [PATCH] maemo/mce: new aport (!810) [ci:ignore-count] --- maemo/mce/APKBUILD | 28 +++++++++++++++++++ maemo/mce/busybox-install-incompability.patch | 16 +++++++++++ 2 files changed, 44 insertions(+) create mode 100644 maemo/mce/APKBUILD create mode 100644 maemo/mce/busybox-install-incompability.patch diff --git a/maemo/mce/APKBUILD b/maemo/mce/APKBUILD new file mode 100644 index 000000000..ee3c35deb --- /dev/null +++ b/maemo/mce/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Bart Ribbers +# Maintainer: Nikita Ukhrenkov +pkgname=mce +pkgver=1.8.128.13 +pkgrel=0 +pkgdesc="Mode Control Entity - Provides device mode logic and services for DSM interface" +url="https://github.com/maemo-leste/mce" +arch="all !armhf !armv7" +license="LGPL-2.1-only" +depends_dev="dsme-dev mce-headers" +makedepends="$depends_dev glib-dev dbus-dev gconf-dev libcal-dev dbus-glib-dev upower-dev + libconic-dev libdevlock-dev osso-systemui-tklock-dev osso-systemui-powerkeymenu-dev + osso-systemui-dbus-headers osso-systemui-devlock-headers + osso-systemui-modechange-headers osso-systemui-splashscreen-headers" +source="$pkgname-$pkgver.tar.gz::https://github.com/maemo-leste/mce/archive/$pkgver.tar.gz + busybox-install-incompability.patch" +options="!check" + +build() { + CFLAGS="$CFLAGS -Wno-error=deprecated-declarations" make +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="8d173a94894f628e2e4474186171e05e8f46a7c12967a38baf8a137986488f017d815a8c02e813ac3370577bd0bada36718cdca4652fc90c124900b7c9a2bee7 mce-1.8.128.13.tar.gz +1654f3883b77b500671e97f3f336401a6bb3f9bb6297a12c27e2d6ff0a428933b5662b16bb0247280b7d26a170115a2458106c32c93ebe180c968fd0b5c352a5 busybox-install-incompability.patch" diff --git a/maemo/mce/busybox-install-incompability.patch b/maemo/mce/busybox-install-incompability.patch new file mode 100644 index 000000000..7d71e19a3 --- /dev/null +++ b/maemo/mce/busybox-install-incompability.patch @@ -0,0 +1,16 @@ +diff --git a/Makefile b/Makefile +index b14c6aa..7569e5d 100644 +--- a/Makefile ++++ b/Makefile +@@ -4,9 +4,9 @@ + + VERSION := 1.8.128 + +-INSTALL := install -o root -g root --mode=755 ++INSTALL := install -o root -g root -m 755 + INSTALL_DIR := install -d +-INSTALL_DATA := install -o root -g root --mode=644 ++INSTALL_DATA := install -o root -g root -m 644 + + VARDIR := $(DESTDIR)/var/lib/mce + RUNDIR := $(DESTDIR)/var/run/mce