624c046cd4
Everything seems to be fine in QEMU. [skip ci]: too many packages have changed
43 lines
1.4 KiB
Text
43 lines
1.4 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
|
pkgname=ubuntu-download-manager
|
|
pkgver=0_git20181003
|
|
_commit="b77fc522e41f43e5dba248e990ab6ae9c43cef40"
|
|
pkgrel=0
|
|
pkgdesc="Provides a service for downloading files while an application is suspended"
|
|
arch="x86_64"
|
|
url="https://unity8.io"
|
|
license="LGPL-3.0"
|
|
depends=""
|
|
depends_dev="qt5-qtdeclarative-dev boost-dev glog-dev libnih-dev"
|
|
makedepends="$depends_dev cmake cmake-extras gtest-dev gmock"
|
|
checkdepends="dbus-test-runner xvfb" # and xvfb-run :)
|
|
source="$pkgname-$_commit.tar.gz::https://github.com/ubports/$pkgname/archive/$_commit.tar.gz
|
|
cmake-extras.patch"
|
|
subpackages="$pkgname-dev"
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
options="!check" # Tests fail
|
|
|
|
build() {
|
|
mkdir -p "$builddir"/build
|
|
cd "$builddir"/build
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBEXECDIR=/usr/lib \
|
|
-DCMAKE_INSTALL_LIBDIR=lib ..
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"/build
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"/build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="1e9c9d41eb3f35a2d4280a746936b1d791fc3d300aae9d6842785559c9729f7f3f291b922bf093833cb0091fa8f8a92ef34833e162782ed28eba7d2e6f7ed6ae ubuntu-download-manager-b77fc522e41f43e5dba248e990ab6ae9c43cef40.tar.gz
|
|
36fa1cfccfa29b9c298711bf8c7e264ec15d4e78a3e47cdd12f8ab0752f83504dc4b3e8576e84ca529ff631c8a9a7452a88bfa9612b7261fe8d80c4c8c4f1d35 cmake-extras.patch"
|