7e353edfed
Related: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/29456 [ci:skip-build]: already built successfully with CI
134 lines
6.8 KiB
Text
134 lines
6.8 KiB
Text
# Forked from Alpine to apply adaptability patches
|
|
pkgname=gnome-control-center
|
|
pkgver=9999_git20210917
|
|
pkgrel=4
|
|
_pkgver=41.2
|
|
pkgdesc="GNOME control center"
|
|
url="https://gitlab.gnome.org/GNOME/gnome-control-center"
|
|
# s390x, mips64 and riscv64 blocked by polkit
|
|
arch="all !s390x !mips64 !riscv64"
|
|
license="GPL-2.0-or-later"
|
|
depends="colord cups-pk-helper openrc-settingsd dbus:org.freedesktop.Secrets"
|
|
makedepends="
|
|
clutter-dev
|
|
clutter-gtk-dev
|
|
gnome-desktop-dev
|
|
gnome-settings-daemon-dev
|
|
gnome-online-accounts-dev
|
|
grilo-dev
|
|
libgtop-dev
|
|
gnome-bluetooth-dev
|
|
colord-gtk-dev
|
|
samba-dev
|
|
accountsservice-dev
|
|
libpwquality-dev
|
|
networkmanager-dev
|
|
libnma-dev
|
|
modemmanager-dev
|
|
krb5-dev
|
|
itstool
|
|
libxml2-utils
|
|
libxslt
|
|
docbook-xml
|
|
docbook-xsl
|
|
pulseaudio-dev
|
|
udisks2-dev
|
|
cups-dev
|
|
meson
|
|
libsecret-dev
|
|
gsound-dev
|
|
libgudev-dev
|
|
polkit-dev
|
|
libhandy1-dev
|
|
cheese-dev
|
|
ibus-dev"
|
|
options="!check" # needs unpackaged py-dbusmock
|
|
install="$pkgname.pre-install $pkgname.pre-upgrade"
|
|
subpackages="$pkgname-dbg $pkgname-dev $pkgname-lang $pkgname-doc $pkgname-bash-completion"
|
|
|
|
_assets_location="https://gitlab.com/pabloyoyoista/g-c-c-assets/-/raw/master"
|
|
|
|
_purism_commit="d2c36cb86195d75a6975bc3ad369ee7a0a8f1352"
|
|
_purism_patches="https://source.puri.sm/pureos/packages/gnome-control-center/-/raw/$_purism_commit/debian/patches"
|
|
|
|
source="https://download.gnome.org/sources/gnome-control-center/${_pkgver%.*}/gnome-control-center-$_pkgver.tar.xz
|
|
0001-shell-Mirror-the-main-leaflet-s-folded-property.patch
|
|
0002-display-Use-ComboBox-when-folded.patch
|
|
0003-Wrap-long-labels-on-small-screens.patch
|
|
0004-WiFi-Reduce-width-of-connection-row-for-mobile.patch
|
|
0005-Add-new-connection-editor.patch
|
|
0006-Wifi-Use-Purism-connection-editor.patch
|
|
0007-Users-Adapt-panel-to-make-it-usable-in-small-screens.patch
|
|
0008-Added-some-more-reasonable-suspend-time-options-for-.patch
|
|
backport-meson-fix.patch
|
|
$_assets_location/multitasking/active-screen-edges.svg
|
|
$_assets_location/multitasking/hot-corner.svg
|
|
$_assets_location/multitasking/workspaces-primary-display.svg
|
|
$_assets_location/multitasking/workspaces-span-displays.svg
|
|
$_purism_patches/pureos/avatar-chooser-Adapt-to-work-on-librem5.patch
|
|
$_purism_patches/pureos/datetime-Fix-timezone-selection-map.patch
|
|
$_purism_patches/pureos/display-Request-a-smaller-size-for-arrangment-widget.patch
|
|
$_purism_patches/pureos/online-accounts-Make-edit-account-dialog-resizable.patch
|
|
$_purism_patches/pureos/sound-fix-test-dialog-on-small-screen.patch
|
|
$_purism_patches/pureos/wifi-Fix-a-crash-when-wifi-device-is-removed.patch
|
|
README.alpine
|
|
"
|
|
|
|
builddir="$srcdir/$pkgname-$_pkgver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
cp "$srcdir"/*.svg "$builddir"/panels/multitasking/assets
|
|
}
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Dcheese=true \
|
|
-Dibus=true \
|
|
. output
|
|
|
|
# Bad dep file -> blows up when compiling with multiple build jobs otherwise
|
|
ninja -C output panels/network/cc-network-resources.c
|
|
ninja -C output panels/network/cc-network-resources.h
|
|
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild -v -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
|
|
mkdir -p "$pkgdir"/usr/lib/pkgconfig
|
|
mv "$pkgdir"/usr/share/pkgconfig/* "$pkgdir"/usr/lib/pkgconfig
|
|
rmdir "$pkgdir"/usr/share/pkgconfig
|
|
|
|
install -Dm0644 "$srcdir"/README.alpine -t "$pkgdir"/usr/share/doc/"$pkgname"
|
|
}
|
|
|
|
sha512sums="
|
|
9ea19e4bd1bd708f78a62c746102467dd2e801b84a64589a043a4f849d297353edc54291a5c59db1f8dd3c2c24088aec0f1d98a6270b0373384a2e19e7dde332 gnome-control-center-41.2.tar.xz
|
|
429c9e084d859ab396ea390d047a2f0f22b6199af4ad3d55455af615331a7b5ac0264a7e1f38c7458478a41b8a38b429f3ed3e81e8d85d6d253085519c5ced49 0001-shell-Mirror-the-main-leaflet-s-folded-property.patch
|
|
59e27e52420c80ac4215833962169dcd8315c5cbe5270baef25cd2f24bbecd6298a8812e28dd9bab8c5992d62826bc288993f3cb6ccce39f22d09874ce6e7a2b 0002-display-Use-ComboBox-when-folded.patch
|
|
a6b4cea1d6efe4c211f0b2575a6a84ba4a4c825501f288b82bee2a0d1391f8dd4fca26849a89be2d7c4f8a423cea2c93b2b3c3dc19f028e4c7f9fb13c00c581b 0003-Wrap-long-labels-on-small-screens.patch
|
|
7d91a35c7e86035cdfffd6929a8701ffe4979b869fe7576f8f44d0a6bdb148d2d008b771decdb249b286373842711fc3698904224b6c8c94b29ba095e6aa38ec 0004-WiFi-Reduce-width-of-connection-row-for-mobile.patch
|
|
7584afa92f907a3dc55e8eb53b7b43feb7309b384890e9841b78d63c7873bea8c4c2712d0c445bf2fa88d207dbd37e6a2a33a1dc56623db7884ca567c5fdff0a 0005-Add-new-connection-editor.patch
|
|
f1368dcf7acbb64838dcc47922ee4fbf01cd9206f521d8002da53295ed7e30b40a1c0cd56bea217636e3f1c4b6e1f6e61d84bd42dd4396bd14b6056fa6930b25 0006-Wifi-Use-Purism-connection-editor.patch
|
|
e96594fecaa2334d035acd2076bffd4adedf6eb89757472e7a4e6ba9dfebef1c170005bf519e359c27e8f749c4fcdf7c432fca945dcca05eab287fe0c288117c 0007-Users-Adapt-panel-to-make-it-usable-in-small-screens.patch
|
|
240da7c2350ec1ed0058a614cd1766fae003cf1637473d035bea100585a57500d2002889de485f6f0395bc2a4b686d8ea963b06a5cf1e4b957242142fadb2166 0008-Added-some-more-reasonable-suspend-time-options-for-.patch
|
|
a978787854d824e38923127e6aa9a39b60bd4ec0ae2cc73a032cae3ff83f24fff494d801945ad1929750bc8c55f5a7aba994da187bb11dc2f5f676aae2374597 backport-meson-fix.patch
|
|
a14d99eb128b04d6c1744c5599cb88a78c26c6aaa5a02b00970095c1107dbac9002dd985c9d0ef313bea13db79ed6bd672f247f00d4fb3c31b7dc1e9565627da active-screen-edges.svg
|
|
4ccc3cbce817381e0780f518ab8e6877f8169ad0ffefb89ae331703be5c4630f5f533ef73a978b093f0f4a0005b488aaf0bd637db11f5efacd5e0fe8c703d863 hot-corner.svg
|
|
6d17793ceb312ec9b3bf32c5ace90c0515aa874ed654ab0a18fa822bfc3c5fdfbfc6e752eb3c6e43f2abfbfd61c1e8ee6eca61fa721e8503a19a061a748c69ae workspaces-primary-display.svg
|
|
49fd807338e6d47e7f59cc592dd859c8fb93f73b0c035827f6d1c4f877afcca72aa24068adacf025f9f8c13d35ae8090bcc9a0f06a760915c53453cae870f20f workspaces-span-displays.svg
|
|
d7475a4d021ccaec1b380484cc045fba5ae43e36460bcba8f940fced3690148377f58e78fd57b7de0e3675671246dc4f28dc1611e2f2c1cdaf51495ee8ddb3d5 avatar-chooser-Adapt-to-work-on-librem5.patch
|
|
3c49081f364033d1d84a4b7594c39940da6f33d0eff2000ec04aea7f590876cf1a586dad4de9cb34f1bbb2e778a137bc5e38ecb9fa9c6121e1fa1ce21f74298f datetime-Fix-timezone-selection-map.patch
|
|
b07796c5d5424fe26f3c773750bd248b60a30d9ccccd7976fbf2626732216eb2a5813497c90f8c7a29074531cf5378cddb7cec4809df221ec9214f3191214b0a display-Request-a-smaller-size-for-arrangment-widget.patch
|
|
a4f34dfb11d676503991d5feb79f0f0551d5c067ce669091b195ac44518a09349db0178d3e7c13dfd5080acdfb24e2515f86c50c3d67fd15015ce20951ff9889 online-accounts-Make-edit-account-dialog-resizable.patch
|
|
24cc550021ba7fe7103d031411a2cc50f6d8b9522d37d19a84133a3da0a032a2c7b5a711f730bbd77c50a7ea7ff67fabb12ffecd15622094af39de802e576c86 sound-fix-test-dialog-on-small-screen.patch
|
|
6cce02774a0e755c9cd55af5a3baf4cc16f5e8c125cd6d83980dcfd9e7eabe0e884fa2a797d43f9741eb795e71fed7169b93e02bdd315aa96c0bedb5b42f0a50 wifi-Fix-a-crash-when-wifi-device-is-removed.patch
|
|
350aa443149c71851ad4de0976c7fc5cb626ba0c57a8d41e6ef80da1c65ed84a4dfa2483ae92630a3b611c4bfa9360ded82b55e8cd0e3907294c025e4f6b1671 README.alpine
|
|
"
|