util/coreboot-configurator: Add contrib files

Add contrib files for:
* debian (Tested on Ubuntu 20.04, 21.10, MX Linux 21 and Debian)
* PKGBUILD (Tested on Manjaro 21)
* flatpak (Untested)

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: Ie9f0193ed28c0842661426204fc88ec00091fbae
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59257
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Sean Rhodes 2021-11-12 08:56:30 +00:00 committed by Martin Roth
parent 9c89e3ada2
commit 0015df5927
10 changed files with 175 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# Maintainer: Bernhard Landauer <bernhard@manjaro.org>
pkgname=coreboot-configurator
pkgver=8
pkgrel=2
pkgdesc="A graphical interface to set options on devices with coreboot firmware"
arch=('x86_64')
url="https://github.com/StarLabsLtd/coreboot-configurator"
license=('GPL3')
depends=('nvramtool' 'qt5-base' 'qt5-svg' 'yaml-cpp')
makedepends=('inkscape' 'meson' 'qt5-tools' 'cmake')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('176d7f64ee32d3d03bbc3674d48ffe479d8450068a4b7bd26d328ed80d2a1c75')
build() {
arch-meson "$pkgname-$pkgver" build
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
install -d "$pkgdir/usr/bin/"
}

View File

@ -0,0 +1,36 @@
# Distribution Packages ![alt text](images/StarLabs_Logo.png "Star Labs Systems")
The relevant packaging necessary to generate DEB, flatpak and PKG distribution packages is contained here. The generated packages can be used on a distribution such as Fedora, Debian, Ubuntu or Manjaro.
# DEB packages
To build the DEBs, run these commands (from the root of your git checkout):
```bash
cp -r contrib/debian .
debuild --no-lintian
```
To build source files, modify the [change log](debian/changelog) accordingly and run:
```bash
cp -r contrib/debian .
debuild -S
```
# PKG
A sample [PKGBUILD](PKGBUILD) is included.
# Flatpak
To build the Flatpak, run these commands (from the root of your git checkout):
```bash
meson build --prefix=/usr
pushd build
meson dist
popd
cp contrib/flatpak/org.coreboot.coreboot-configurator.json .
flatpak-builder build-dir org.coreboot.coreboot-configurator.json
```
## Copying or Reusing
Included scripts are free software licensed under the terms of the [GNU General Public License, version 3](https://www.gnu.org/licenses/gpl-3.0.txt).
# [© Star Labs® / All Rights Reserved.](https://starlabs.systems)
Any issues or questions, please contact us at [support@starlabs.systems](mailto:supportstarlabs.systems)
View our full range of Linux laptops at: [https://starlabs.systems](https://starlabs.systems)

View File

@ -0,0 +1,50 @@
coreboot-configurator (8) impish; urgency=medium
* Release version 8
-- Sean Rhodes <sean@starlabs.systems> Wed, 03 Nov 2021 21:06:03 +0000
coreboot-configurator (7+a) focal; urgency=medium
* Version 7 to match coreboot 7
-- Sean Rhodes <sean@starlabs.systems> Tue, 24 Aug 2021 07:35:16 +0100
coreboot-configurator (6.h) hirsute; urgency=medium
* Version 6 to match coreboot 6
* Adds support to disable or enable VT-d, wireless, webcam, microphone and clock gating
* Adds support to select TDP
-- Sean Rhodes <sean@starlabs.systems> Fri, 11 Jun 2021 08:40:38 +0100
coreboot-configurator (5) hirsute; urgency=medium
* Version 5 to match coreboot 5
* Adds support to disable or enable IME
-- Sean Rhodes <sean@starlabs.systems> Thu, 29 Apr 2021 14:39:40 +0100
coreboot-configurator (3) hirsute; urgency=medium
* Added qt5-default dependency
-- Sean Rhodes <sean@starlabs.systems> Wed, 14 Apr 2021 16:44:13 +0100
coreboot-configurator (2) hirsute; urgency=medium
* Fixed values that a read
-- Sean Rhodes <sean@starlabs.systems> Tue, 13 Apr 2021 16:40:04 +0100
coreboot-configurator (1) hirsute; urgency=medium
* Fixed icon
-- Sean Rhodes <sean@starlabs.systems> Tue, 13 Apr 2021 11:47:04 +0100
coreboot-configurator (0) hirsute; urgency=medium
* Initial release.
-- Sean Rhodes <sean@starlabs.systems> Mon, 12 Apr 2021 21:14:48 +0100

View File

@ -0,0 +1 @@
10

View File

@ -0,0 +1,11 @@
Source: coreboot-configurator
Section: utils
Priority: optional
Maintainer: Star Labs <admin@starlabs.systems>
Build-Depends: build-essential, cmake, debhelper (>= 7), inkscape, libqt5gui5, libqt5svg5-dev, libyaml-cpp-dev, libqt5gui5, meson, pkg-config, qtbase5-dev, qttools5-dev-tools
Standards-Version: 4.1.1
Package: coreboot-configurator
Depends: nvramtool, ${shlibs:Depends}, ${misc:Depends}, libqt5gui5, qt5-style-plugins, libyaml-cpp0.6
Architecture: all
Description: Graphical interface to change settings available in coreboot CBFS

View File

@ -0,0 +1,2 @@
coreboot-configurator_7+a_all.deb utils optional
coreboot-configurator_7+a_amd64.buildinfo utils optional

View File

@ -0,0 +1,11 @@
#!/usr/bin/make -f
#export DH_VERBOSE = 1
%:
dh $@ --buildsystem=meson
override_dh_install:
dh_install
override_dh_missing:
dh_missing --fail-missing

View File

@ -0,0 +1 @@
3.0 (native)

View File

@ -0,0 +1,3 @@
{
"skip-appstream-check": true
}

View File

@ -0,0 +1,36 @@
{
"app-id": "org.coreboot.coreboot-configurator",
"runtime": "org.kde.Platform",
"runtime-version": "5.12",
"sdk": "org.kde.Platform",
"branch": "stable",
"command": "/usr/sbin/coreboot-configurator",
"modules": [
{
"name": "coreboot-configurator",
"buildsystem": "meson",
"cleanup ": [
"/usr/sbin/coreboot-configurator",
"/usr/share/coreboot-configurator/aboutIcon.png",
"/usr/share/polkit-1/actions/org.coreboot.nvramtool.policy",
"/usr/share/polkit-1/actions/org.coreboot.reboot.policy",
"usr/share/applications/coreboot-configurator.desktop",
"/usr/share/icons/hicolor/24x24/apps/coreboot-configurator.png",
"/usr/share/icons/hicolor/48x48/apps/coreboot-configurator.png",
"/usr/share/icons/hicolor/96x96/apps/coreboot-configurator.png",
"/usr/share/icons/hicolor/16x16/apps/coreboot-configurator.png",
"/usr/share/icons/hicolor/32x32/apps/coreboot-configurator.png",
"/usr/share/icons/hicolor/64x64/apps/coreboot-configurator.png",
"/usr/share/icons/hicolor/128x128/apps/coreboot-configurator.png",
"/usr/share/icons/hicolor/256x256/apps/coreboot-configurator.png",
"/usr/share/icons/hicolor/512x512/apps/coreboot-configurator.png"
],
"sources": [
{
"type": "archive",
"path": "build/meson-dist/coreboot-configurator-8.tar.xz"
}
]
}
]
}