# Tanım: Deepin pencere yöneticisi, gnome mutter çatalı
# URL: https://github.com/linuxdeepin/deepin-mutter
# Paketçi: Cihan_Alkan
# Gerekler: deepin-clutter dconf gobject-introspection deepin-desktop-schemas libcanberra startup-notification zenity xorg-libsm gnome-desktop upower libxkbcommon libgudev deepin-cogl gnome-common gnome-doc-utils gobject-introspection gtk-doc intltool wayland-protocols

isim=deepin-mutter
surum=3.20.37
devir=1
kaynak=(https://github.com/linuxdeepin/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz)

derle() {
  cd $isim-$surum
   ./autogen.sh \
    --prefix=/usr \
    --sysconfdir=/etc \
    --libexecdir=/usr/lib/deepin-mutter \
    --localstatedir=/var \
    --enable-gtk-doc \
    --enable-wayland \
    --disable-native-backend \
    --disable-static \
    --disable-schemas-compile \
    --enable-compile-warnings=minimum
  make
  make DESTDIR="$PKG" install
}