Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: mission-center #6383

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ minecraft-launcher
minecraft-launcher-deb
minecraft-pi-reborn-app
mint-themes
mission-center
mobile-usb-networking-deb
modprobed-db
moka-icon-theme
Expand Down
31 changes: 31 additions & 0 deletions packages/mission-center/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
pkgbase = mission-center
pkgver = 0.5.2
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 = gettext
makedepends = pkg-config
makedepends = python3-pip
makedepends = python3-gi
makedepends = libdrm-dev
makedepends = libudev-dev
makedepends = libgbm-dev
makedepends = libpango1.0-dev
makedepends = libgdk-pixbuf-2.0-dev
makedepends = libgtk-4-dev
makedepends = libdbus-1-dev
makedepends = libadwaita-1-dev
checkdepends = appstream-util
incompatible = debian:bookworm
incompatible = ubuntu:noble
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
60 changes: 60 additions & 0 deletions packages/mission-center/mission-center.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
pkgname="mission-center"
pkgver="0.5.2"
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"
"gettext"
"pkg-config"
"python3-pip"
"python3-gi"
"libdrm-dev"
"libudev-dev"
"libgbm-dev"
"libpango1.0-dev"
"libgdk-pixbuf-2.0-dev"
"libgtk-4-dev"
"libdbus-1-dev"
"libadwaita-1-dev"
)
checkdepends=("appstream-util")
source=("${url}/-/archive/v${pkgver}/mission-center-v${pkgver}.tar.gz")
sha256sums=("801a1468ee50281ab42a51281e2f80699480f9c0220f976619ae2f7aa21df85a")
incompatible=(
"debian:bookworm"
"ubuntu:noble"
)
external_connection=true

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}"
}
32 changes: 32 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -6168,6 +6168,38 @@ pkgbase = mint-themes

pkgname = mint-themes
---
pkgbase = mission-center
pkgver = 0.5.2
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 = gettext
makedepends = pkg-config
makedepends = python3-pip
makedepends = python3-gi
makedepends = libdrm-dev
makedepends = libudev-dev
makedepends = libgbm-dev
makedepends = libpango1.0-dev
makedepends = libgdk-pixbuf-2.0-dev
makedepends = libgtk-4-dev
makedepends = libdbus-1-dev
makedepends = libadwaita-1-dev
checkdepends = appstream-util
incompatible = debian:bookworm
incompatible = ubuntu:noble
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
---
pkgbase = mobile-usb-networking-deb
gives = mobile-usb-networking
pkgver = 0.0.4
Expand Down
Loading