unity8: initial packaging (!27)
* Mir starts up and is able to display system settings * x86_64 only for now, because at least ubuntu-app-test did not build on aarch64 Based on PureTryOut's work. Getting it to this stage was a huge effort (as it shows in the package count: 111(!)). See the merge request for details. [skip ci]: this won't finish in CI; ollieparanoid made sure that everything builds for x86_64.
This commit is contained in:
parent
7df8828dfb
commit
8c2a95dbe2
111 changed files with 8125 additions and 0 deletions
44
main/dbus-cpp/APKBUILD
Normal file
44
main/dbus-cpp/APKBUILD
Normal file
|
@ -0,0 +1,44 @@
|
|||
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
||||
pkgname=dbus-cpp
|
||||
pkgver=5.0.1
|
||||
pkgrel=0
|
||||
_commit="967dc1caf0efe0a1286c308e8e8dd1bf7da5f3ee"
|
||||
pkgdesc="A header-only dbus-binding leveraging C++-11"
|
||||
url="https://code.launchpad.net/dbus-cpp"
|
||||
arch="x86_64"
|
||||
license="LGPL3"
|
||||
depends="dbus libxml2 boost properties-cpp"
|
||||
depends_dev="boost-dev"
|
||||
makedepends="$depends_dev cmake cmake-extras libxml2-dev properties-cpp-dev dbus-dev linux-headers process-cpp-dev gtest-dev gmock"
|
||||
install=""
|
||||
subpackages="$pkgname-dev"
|
||||
source="https://github.com/lib-cpp/dbus-cpp/archive/$_commit.tar.gz
|
||||
boost_io_context.patch" # https://github.com/lib-cpp/dbus-cpp/pull/2
|
||||
builddir="$srcdir/$pkgname-$_commit"
|
||||
options="!check" # 53% tests passed, 7 tests failed out of 15
|
||||
|
||||
build() {
|
||||
mkdir "$builddir"/build
|
||||
cd "$builddir"/build
|
||||
cmake .. \
|
||||
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DDBUS_CPP_VERSION_MAJOR=5 \
|
||||
-DDBUS_CPP_VERSION_MINOR=0 \
|
||||
-DDBUS_CPP_VERSION_PATCH=0
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"/build
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"/build
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="6db299307eb966600d488aa31db2814095c562c9c62a46b614ec1fa361f3c17900bbbe3da021629e6b7279ad99bf193393772302bfc8f6b5ea80ef3497fb7f46 967dc1caf0efe0a1286c308e8e8dd1bf7da5f3ee.tar.gz
|
||||
55862c347f2aeabd00b3d547b34c7b3c5bbbb3f40a76cb2e20711c6168b4780db36436f631cf33f1b6ff48f3e6a83480db1df69cafa7e8a25e5f06df9ea53829 boost_io_context.patch"
|
25
main/dbus-cpp/boost_io_context.patch
Normal file
25
main/dbus-cpp/boost_io_context.patch
Normal file
|
@ -0,0 +1,25 @@
|
|||
diff --git a/include/core/dbus/asio/executor.h b/include/core/dbus/asio/executor.h
|
||||
index d1f043e..505a55b 100644
|
||||
--- a/include/core/dbus/asio/executor.h
|
||||
+++ b/include/core/dbus/asio/executor.h
|
||||
@@ -18,18 +18,12 @@
|
||||
#ifndef CORE_DBUS_ASIO_EXECUTOR_H_
|
||||
#define CORE_DBUS_ASIO_EXECUTOR_H_
|
||||
|
||||
+#include <boost/asio/io_service.hpp>
|
||||
+
|
||||
#include <core/dbus/bus.h>
|
||||
#include <core/dbus/executor.h>
|
||||
#include <core/dbus/visibility.h>
|
||||
|
||||
-namespace boost
|
||||
-{
|
||||
-namespace asio
|
||||
-{
|
||||
-class io_service;
|
||||
-}
|
||||
-}
|
||||
-
|
||||
namespace core
|
||||
{
|
||||
namespace dbus
|
Loading…
Add table
Add a link
Reference in a new issue