fixed some errors
This commit is contained in:
parent
a06ceddd94
commit
a35bce713d
2 changed files with 159 additions and 1 deletions
158
gnome-control-center/PKGBUILD
Normal file
158
gnome-control-center/PKGBUILD
Normal file
|
@ -0,0 +1,158 @@
|
||||||
|
# Maintainer: Fabian Bornschein <fabiscafe@archlinux.org>
|
||||||
|
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
# Maintainer: Parch Linux <noreply@parchlinux.com>
|
||||||
|
|
||||||
|
pkgbase=gnome-control-center
|
||||||
|
pkgname=(
|
||||||
|
gnome-control-center
|
||||||
|
gnome-keybindings
|
||||||
|
)
|
||||||
|
pkgver=46.3
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="GNOME's main interface to configure various aspects of the desktop"
|
||||||
|
url="https://gitlab.gnome.org/GNOME/gnome-control-center"
|
||||||
|
license=(GPL-2.0-or-later)
|
||||||
|
arch=(x86_64)
|
||||||
|
depends=(
|
||||||
|
accountsservice
|
||||||
|
bolt
|
||||||
|
cairo
|
||||||
|
colord-gtk4
|
||||||
|
cups-pk-helper
|
||||||
|
dconf
|
||||||
|
fontconfig
|
||||||
|
gcc-libs
|
||||||
|
gcr-4
|
||||||
|
gdk-pixbuf2
|
||||||
|
glib2
|
||||||
|
glibc
|
||||||
|
gnome-bluetooth-3.0
|
||||||
|
gnome-color-manager
|
||||||
|
gnome-desktop-4
|
||||||
|
gnome-online-accounts
|
||||||
|
gnome-settings-daemon
|
||||||
|
gnome-shell
|
||||||
|
gnutls
|
||||||
|
graphene
|
||||||
|
gsettings-desktop-schemas
|
||||||
|
gsound
|
||||||
|
gtk4
|
||||||
|
hicolor-icon-theme
|
||||||
|
json-glib
|
||||||
|
krb5
|
||||||
|
libadwaita
|
||||||
|
libcolord
|
||||||
|
libcups
|
||||||
|
libepoxy
|
||||||
|
libgoa
|
||||||
|
libgtop
|
||||||
|
libgudev
|
||||||
|
libibus
|
||||||
|
libmalcontent
|
||||||
|
libmm-glib
|
||||||
|
libnm
|
||||||
|
libnma-gtk4
|
||||||
|
libpulse
|
||||||
|
libpwquality
|
||||||
|
libsecret
|
||||||
|
libsoup3
|
||||||
|
libwacom
|
||||||
|
libx11
|
||||||
|
libxi
|
||||||
|
libxml2
|
||||||
|
pango
|
||||||
|
polkit
|
||||||
|
smbclient
|
||||||
|
sound-theme-freedesktop
|
||||||
|
tecla
|
||||||
|
udisks2
|
||||||
|
upower
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
docbook-xsl
|
||||||
|
git
|
||||||
|
glib2-devel
|
||||||
|
meson
|
||||||
|
modemmanager
|
||||||
|
python
|
||||||
|
)
|
||||||
|
checkdepends=(
|
||||||
|
python-dbusmock
|
||||||
|
python-gobject
|
||||||
|
xorg-server-xvfb
|
||||||
|
)
|
||||||
|
source=(
|
||||||
|
"git+https://github.com/parchlinux/gnome-control-center.git#branch=release-46.3"
|
||||||
|
"git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git"
|
||||||
|
)
|
||||||
|
b2sums=('SKIP'
|
||||||
|
'SKIP')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd $pkgbase
|
||||||
|
|
||||||
|
git submodule init subprojects/gvc
|
||||||
|
git submodule set-url subprojects/gvc "$srcdir/libgnome-volume-control"
|
||||||
|
git -c protocol.file.allow=always -c protocol.allow=never submodule update
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
build() {
|
||||||
|
local meson_options=(
|
||||||
|
-D documentation=true
|
||||||
|
-D location-services=enabled
|
||||||
|
-D malcontent=true
|
||||||
|
)
|
||||||
|
|
||||||
|
arch-meson $pkgbase build "${meson_options[@]}"
|
||||||
|
meson compile -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
GTK_A11Y=none dbus-run-session xvfb-run -s '-nolisten local +iglx -noreset' \
|
||||||
|
meson test -C build --print-errorlogs
|
||||||
|
}
|
||||||
|
|
||||||
|
_pick() {
|
||||||
|
local p="$1" f d; shift
|
||||||
|
for f; do
|
||||||
|
d="$srcdir/$p/${f#$pkgdir/}"
|
||||||
|
mkdir -p "$(dirname "$d")"
|
||||||
|
mv "$f" "$d"
|
||||||
|
rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
package_gnome-control-center() {
|
||||||
|
depends+=(gnome-keybindings)
|
||||||
|
optdepends=(
|
||||||
|
'fwupd: device security panel'
|
||||||
|
'gnome-remote-desktop: screen sharing'
|
||||||
|
'gnome-user-share: WebDAV file sharing'
|
||||||
|
'malcontent: application permission control'
|
||||||
|
'networkmanager: network settings'
|
||||||
|
'openssh: remote login'
|
||||||
|
'power-profiles-daemon: power profiles'
|
||||||
|
'rygel: media sharing'
|
||||||
|
'system-config-printer: printer settings'
|
||||||
|
)
|
||||||
|
groups=(gnome)
|
||||||
|
|
||||||
|
meson install -C build --destdir "$pkgdir"
|
||||||
|
|
||||||
|
cd "$pkgdir"
|
||||||
|
_pick gkb usr/share/gettext/its/gnome-keybindings.*
|
||||||
|
_pick gkb usr/share/gnome-control-center/keybindings
|
||||||
|
_pick gkb usr/share/pkgconfig/gnome-keybindings.pc
|
||||||
|
}
|
||||||
|
|
||||||
|
package_gnome-keybindings() {
|
||||||
|
pkgdesc="Keybindings configuration for GNOME applications"
|
||||||
|
depends=()
|
||||||
|
|
||||||
|
mv gkb/* "$pkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set sw=2 sts=-1 et:
|
||||||
|
|
|
@ -5,7 +5,7 @@ pkgver=1.0
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="LiveCD desktop items for Parch Linux"
|
pkgdesc="LiveCD desktop items for Parch Linux"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://github.com/arch-linux-gui"
|
url="https://github.com/parchlinux/"
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
depends=()
|
depends=()
|
||||||
|
|
Loading…
Add table
Reference in a new issue