-
-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
438 additions
and
344 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
pkgbase = mission-center | ||
pkgver = 0.5.2 | ||
pkgrel = 1 | ||
pkgdesc = Monitor your CPU, Memory, Disk, Network and GPU usage | ||
url = https://gitlab.com/mission-center-devs/mission-center | ||
arch = amd64 | ||
arch = arm64 | ||
depends = dmidecode | ||
depends = libadwaita-1-0 | ||
makedepends = blueprint-compiler | ||
makedepends = cargo | ||
makedepends = meson | ||
makedepends = libpango1.0-dev | ||
makedepends = libgdk-pixbuf-2.0-dev | ||
makedepends = libgtk-4-dev | ||
makedepends = libdbus-1-dev | ||
makedepends = libadwaita-1-dev | ||
checkdepends = libappstream-glib8 | ||
license = GPL-3.0-or-later | ||
source = https://gitlab.com/mission-center-devs/mission-center/-/archive/v0.5.2/mission-center-v0.5.2.tar.gz | ||
sha256sums = 801a1468ee50281ab42a51281e2f80699480f9c0220f976619ae2f7aa21df85a | ||
|
||
pkgname = mission-center |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
pkgname="mission-center" | ||
pkgver="0.5.2" | ||
pkgrel="1" | ||
pkgdesc="Monitor your CPU, Memory, Disk, Network and GPU usage" | ||
arch=("amd64" "arm64") | ||
url="https://gitlab.com/mission-center-devs/mission-center" | ||
license=("GPL-3.0-or-later") | ||
depends=("dmidecode" "libadwaita-1-0") | ||
makedepends=( | ||
"blueprint-compiler" | ||
"cargo" | ||
"meson" | ||
"libpango1.0-dev" | ||
"libgdk-pixbuf-2.0-dev" | ||
"libgtk-4-dev" | ||
"libdbus-1-dev" | ||
"libadwaita-1-dev" | ||
) | ||
checkdepends=("libappstream-glib8") | ||
source=("${url}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz") | ||
sha256sums=("801a1468ee50281ab42a51281e2f80699480f9c0220f976619ae2f7aa21df85a") | ||
|
||
prepare() { | ||
cd "${pkgname}-v${pkgver}" | ||
export RUSTUP_TOOLCHAIN=stable | ||
cargo fetch --target "$(rustc -vV | sed -n 's/host: //p')" | ||
} | ||
|
||
build() { | ||
cd "${pkgname}-v${pkgver}" | ||
CFLAGS+=" -ffat-lto-objects" | ||
export RUSTUP_TOOLCHAIN=stable | ||
|
||
meson setup build -Dbuildtype=release | ||
ninja -C build -j"${NCPU}" | ||
} | ||
|
||
check() { | ||
cd "${pkgname}-v${pkgver}" | ||
meson test -C build --print-errorlogs || : | ||
} | ||
|
||
package() { | ||
cd "${pkgname}-v${pkgver}" | ||
meson install -C build --no-rebuild --destdir "${pkgdir}" | ||
} |
Oops, something went wrong.