mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
New package: corectrl-1.0.8
This commit is contained in:
parent
7883484d70
commit
5635dd282b
2 changed files with 49 additions and 0 deletions
25
srcpkgs/corectrl/patches/add-include-qbuspendingcall.patch
Normal file
25
srcpkgs/corectrl/patches/add-include-qbuspendingcall.patch
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
From 17ad9c9262927a3897352162de8fe2222a2d0b24 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Artem Polishchuk <ego.cordatus@gmail.com>
|
||||||
|
Date: Mon, 23 Mar 2020 12:06:29 +0200
|
||||||
|
Subject: [PATCH] Add 'include <QDBusPendingCall>'
|
||||||
|
|
||||||
|
Fix #62
|
||||||
|
---
|
||||||
|
src/helper/helpersysctl.cpp | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/helper/helpersysctl.cpp b/src/helper/helpersysctl.cpp
|
||||||
|
index cbdc8a9..bdabd0b 100644
|
||||||
|
--- a/src/helper/helpersysctl.cpp
|
||||||
|
+++ b/src/helper/helpersysctl.cpp
|
||||||
|
@@ -24,6 +24,7 @@
|
||||||
|
#include <QByteArray>
|
||||||
|
#include <QDBusConnection>
|
||||||
|
#include <QDBusInterface>
|
||||||
|
+#include <QDBusPendingCall>
|
||||||
|
#include <QStringLiteral>
|
||||||
|
#include <stdexcept>
|
||||||
|
#include <utility>
|
||||||
|
--
|
||||||
|
2.24.1
|
||||||
|
|
24
srcpkgs/corectrl/template
Normal file
24
srcpkgs/corectrl/template
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Template file for 'corectrl'
|
||||||
|
pkgname=corectrl
|
||||||
|
version=1.0.8
|
||||||
|
revision=1
|
||||||
|
wrksrc=${pkgname}-v${version}
|
||||||
|
build_style=cmake
|
||||||
|
configure_args="-DBUILD_TESTING=OFF"
|
||||||
|
hostmakedepends="pkg-config extra-cmake-modules qt5-host-tools qt5-qmake kcoreaddons kauth"
|
||||||
|
makedepends="botan-devel kauth-devel karchive-devel qt5-charts-devel
|
||||||
|
qt5-tools-devel libdrm-devel"
|
||||||
|
depends="hicolor-icon-theme qt5-quickcontrols2"
|
||||||
|
short_desc="User-friendly hardware control application"
|
||||||
|
maintainer="Lorem <notloremipsum@protonmail.com>"
|
||||||
|
license="GPL-3.0-or-later"
|
||||||
|
homepage="https://gitlab.com/corectrl/corectrl"
|
||||||
|
distfiles="${homepage}/-/archive/v${version}/corectrl-v${version}.tar.gz"
|
||||||
|
checksum=050f1b4f105615c26dcb23d09bbdadbc619c9b9782197cae482fb6921f5e3cf2
|
||||||
|
patch_args="-Np1"
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
|
makedepends+=" libatomic-devel"
|
||||||
|
LDFLAGS+=" -latomic"
|
||||||
|
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
|
||||||
|
fi
|
Loading…
Add table
Reference in a new issue