56 lines
2.4 KiB
Bash
56 lines
2.4 KiB
Bash
# Template file for 'cinnamon'
|
|
pkgname=cinnamon
|
|
version=5.8.4
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
hostmakedepends="pkg-config gettext gettext-devel glib-devel intltool xmlto
|
|
gtk-doc"
|
|
makedepends="cjs-devel clutter-gtk-devel cinnamon-menus-devel gstreamer1-devel
|
|
muffin-devel libgnomekbd-devel polkit-devel libcanberra-devel gtk+3-devel
|
|
startup-notification-devel pulseaudio-devel dbus-glib-devel xapps-devel
|
|
libgnome-keyring-devel NetworkManager-devel libcroco-devel
|
|
cinnamon-desktop-devel"
|
|
depends="accountsservice libcaribou cinnamon-settings-daemon>=${version%.*}
|
|
cinnamon-session>=${version%.*} muffin>=${version%.*} gsound
|
|
cinnamon-control-center>=${version%.*} cinnamon-screensaver>=${version%.*}
|
|
cinnamon-translations>=${version%.*} nemo>=${version%.*}
|
|
gnome-themes-standard gnome-themes-standard-metacity gnome-backgrounds
|
|
network-manager-applet polkit-gnome upower>=0.99.7 libkeybinder3 python3-dbus
|
|
python3-gobject python3-pam python3-pexpect python3-Pillow python3-inotify
|
|
python3-tinycss python3-pytz python3-distro python3-requests libtimezonemap
|
|
libsoup"
|
|
short_desc="GNOME3 fork of Linux Mint with GNOME2 aspect"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later, LGPL-2.0-or-later"
|
|
homepage="https://github.com/linuxmint/cinnamon"
|
|
changelog="https://raw.githubusercontent.com/linuxmint/cinnamon/${version}/debian/changelog"
|
|
distfiles="https://github.com/linuxmint/cinnamon/archive/${version}.tar.gz"
|
|
checksum=df80f8dad174b56fd0dc652f7af45f1638d73fedd5345af0617efe2b23edbc3c
|
|
|
|
python_version=3
|
|
pycompile_dirs="
|
|
usr/share/cinnamon/applets
|
|
usr/share/cinnamon/cinnamon-desktop-editor
|
|
usr/share/cinnamon/cinnamon-looking-glass
|
|
usr/share/cinnamon/cinnamon-menu-editor
|
|
usr/share/cinnamon/cinnamon-screensaver-lock-dialog
|
|
usr/share/cinnamon/cinnamon-settings
|
|
usr/share/cinnamon/cinnamon-settings-users
|
|
usr/share/cinnamon/cinnamon-settings
|
|
usr/share/cinnamon/cinnamon-slideshow
|
|
usr/share/cinnamon/desklets"
|
|
|
|
pre_configure() {
|
|
# Add polkit agent to required components
|
|
vsed -e '/RequiredComponents/s/$/polkit-gnome-authentication-agent-1;/' \
|
|
-i cinnamon2d.session.in cinnamon.session.in
|
|
|
|
# Cinnamon has no upstream backgrounds, use GNOME backgrounds instead
|
|
vsed -i 's|/usr/share/cinnamon-background-properties|/usr/share/gnome-background-properties|' \
|
|
files/usr/share/cinnamon/cinnamon-settings/modules/cs_backgrounds.py
|
|
|
|
# Remove broken symlink
|
|
rm -f files/etc/xdg/menus/cinnamon-applications-merged
|
|
}
|