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 882305d
Show file tree
Hide file tree
Showing 4 changed files with 438 additions and 344 deletions.
27 changes: 14 additions & 13 deletions packagelist
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
1password-cli-bin
adapta-gtk-theme-git
adw-gtk-theme
adw-gtk3
adw-gtk-theme
alacritty
amfora-bin
an-anime-game-launcher-bin
ananicy-cpp
an-anime-game-launcher-bin
android-studio
android-studio-canary
ani-cli-bin
Expand Down Expand Up @@ -159,11 +159,11 @@ gfn-electron-bin
ghcup-bin
gir1.2-xapp-1.0-deb
git
gitblade-deb
git-butler-deb
git-credential-manager-core-deb
git-delta-deb
git-extras-git
gitblade-deb
gitfiend-deb
github-cli-bin
github-cli-deb
Expand All @@ -176,13 +176,13 @@ glow-deb
gnome-shell-extension-installer-git
gnome-tweaks
go-bin
go-task-deb
goldberg-emulator-git
gomuks-deb
google-chrome-beta-deb
google-chrome-deb
google-chrome-unstable-deb
google-earth-pro-stable-deb
go-task-deb
goverlay
goverlay-bin
gradience
Expand Down Expand Up @@ -224,8 +224,8 @@ i3lock-color
imwheel-exclude-patched-git
insomnia-deb
insync-deb
intel-undervolt
intellij-idea-community-bin
intel-undervolt
internxt-deb
it87-dkms-git
ivpn-deb
Expand Down 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 Expand Up @@ -347,16 +348,16 @@ notion-app-deb
notion-app-enhanced-deb
notion-git
nowpm
nu-tongues-bin
nuclear-deb
nuclei-bin
nushell-bin
nu-tongues-bin
obquit-git
obs-backgroundremoval
obs-backgroundremoval-deb
obs-backgroundremoval-git
obs-ndi-deb
obsidian-deb
obs-ndi-deb
oh-my-posh-git
oh-my-zsh-git
oil
Expand Down Expand Up @@ -405,9 +406,9 @@ postman-bin
powertop-git
prettier
prismlauncher-git
proton-python-client
protonmail-bridge-deb
protonplus
proton-python-client
protonup-qt-app
protonvpn-cli
protonvpn-gui
Expand Down Expand Up @@ -456,14 +457,14 @@ rosary-deb
rpcs3-app
rsbbi-git
rstudio-deb
rust-motd-deb
rustdesk-deb
rust-motd-deb
schildichat-deb
scrcpy
sed
setconf
shell-color-scripts
shellcheck-bin
shell-color-scripts
shellharden
shfmt-bin
sidequest-bin
Expand All @@ -485,12 +486,12 @@ soundux
spacecadetpinball-git
spot-client-git
spotify-client-deb
st-distrotube-git
st-lukesmith-git
starship-bin
st-distrotube-git
steam-deb
steamtinkerlaunch-git
stellarium
st-lukesmith-git
stockfish-git
stremio-deb
sublime-merge-deb
Expand Down Expand Up @@ -528,8 +529,8 @@ torbrowser-launcher-git
torguard-deb
touchegg-deb
touchegg-git
tre-git
treefetch-bin
tre-git
truckersmp-cli
ttf-fira-sans
tuner
Expand Down
23 changes: 23 additions & 0 deletions packages/mission-center/.SRCINFO
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
46 changes: 46 additions & 0 deletions packages/mission-center/mission-center.pacscript
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}"
}
Loading

0 comments on commit 882305d

Please sign in to comment.