Skip to content

Commit

Permalink
Add mission-center v0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
AozoraDev committed Sep 3, 2024
1 parent 00cc7dd commit f24a1de
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 0 deletions.
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=("https://gitlab.com/mission-center-devs/mission-center/-/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 @@ -6162,6 +6162,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

0 comments on commit f24a1de

Please sign in to comment.