#!/bin/bash
#
# Copyright 2013-2014 Eugene Wissner <belka.ew@gmail.com>
# Copyright 2013-2026 Sasa Ostrouska <saxa@droplinegnome.org>
# Copyright 2014 John Truex <apolluwn@gmail.com>
# Available under the terms of the GNU GPL.
#

NAME="gnome-shell"
VERSION="50.3"
REVISION="2"

PKG_SOURCEURL='${DLG_GNOMEMIRROR}/${NAME}/${VER_MAJ}/${NAME}-${VERSION}.tar.xz'
PKG_PATCH[0]='gnome-shell-50.2-elogind-support.patch'

. $DLG_ROOT/etc/config
. $DLG_ROOT/lib/dl-base

cflags
cxxflags
prepare

applypatch 0 1

analyzesource
configure -Dsystemd=false \
	-Dbuildtype=release \
	-Dtests=false \
	-Dextensions_app=true \
	-Dextensions_tool=true
make
makeinstall
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
