void-packages/srcpkgs/gnome-flashback/template
2021-12-15 22:43:32 +01:00

36 lines
1.4 KiB
Bash

# Template file for 'gnome-flashback'
pkgname=gnome-flashback
version=3.42.1
revision=1
build_helper=gir
build_style=gnu-configure
configure_args="--with-compiz-session --enable-compile-warnings=minimum"
hostmakedepends="pkg-config gettext gettext-devel automake libtool glib-devel"
makedepends="pam-devel elogind-devel upower-devel ibus-devel polkit-devel
pulseaudio-devel libcanberra-devel libxcb-devel libX11-devel libxkbfile-devel
libcompizconfig-devel libglib-devel pango-devel gtk+3-devel gdk-pixbuf-devel
gdm-devel gnome-bluetooth-devel gnome-desktop-devel gnome-panel-devel
gsettings-desktop-schemas-devel libXxf86vm-devel"
depends="gnome-bluetooth gnome-session gnome-settings-daemon
gnome-panel gnome-themes-extra metacity"
short_desc="GNOME session with similar user experience to the GNOME 2.x series"
maintainer="shizonic <realtiaz@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://wiki.gnome.org/Projects/GnomeFlashback"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=c8029220acf268c520dbb0750834b2ef4df868324d0e0fb6a80354c80ba8844e
post_extract() {
vsed -i 's/libcompizconfig >= 0\.9\.14\.0/libcompizconfig >= 0.8.16.0/' \
configure.ac
}
pre_configure() {
autoreconf -if
}
post_install() {
vinstall ${FILESDIR}/gnome-flashback.pam 644 /etc/pam.d gnome-flashback
vsed -i -e "s/ --systemd//g" \
${DESTDIR}/usr/libexec/gnome-flashback-{compiz,metacity}
}