mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/mutter to 3.22.1-1
This commit is contained in:
parent
ed5817dcba
commit
8f51a55665
1 changed files with 23 additions and 10 deletions
|
@ -7,35 +7,48 @@
|
|||
# - set --enable-compile-warnings=no in configure
|
||||
|
||||
pkgname=mutter
|
||||
pkgver=3.20.3
|
||||
pkgver=3.22.1
|
||||
pkgrel=1
|
||||
pkgdesc="A window manager for GNOME"
|
||||
url="https://git.gnome.org/browse/mutter"
|
||||
arch=(i686 x86_64)
|
||||
license=(GPL)
|
||||
depends=(clutter dconf gobject-introspection-runtime gsettings-desktop-schemas
|
||||
depends=(dconf gobject-introspection-runtime gsettings-desktop-schemas
|
||||
libcanberra startup-notification zenity libsm gnome-desktop upower
|
||||
libxkbcommon-x11 gnome-settings-daemon libgudev)
|
||||
makedepends=(intltool gobject-introspection)
|
||||
libxkbcommon-x11 gnome-settings-daemon libgudev libinput)
|
||||
makedepends=(intltool gobject-introspection git gnome-common)
|
||||
groups=(gnome)
|
||||
options=(!emptydirs)
|
||||
source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
|
||||
sha256sums=('142c5271df4bde968c725ed09026173292c07b4dd7ba75f19c4b14fc363af916')
|
||||
_commit=f63bb024fa72887b845c8cfb6c06d5338f35f4dd # tags/3.22.1^0
|
||||
source=("git://git.gnome.org/mutter#commit=$_commit")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd $pkgname
|
||||
git describe --tags | sed 's/-/+/g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd $pkgname
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cd $pkgname
|
||||
|
||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
||||
--libexecdir=/usr/lib/$pkgname --disable-static \
|
||||
--disable-schemas-compile --enable-compile-warnings=no
|
||||
--disable-schemas-compile --enable-compile-warnings=no \
|
||||
--enable-gtk-doc
|
||||
|
||||
#https://bugzilla.gnome.org/show_bug.cgi?id=655517
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
sed -e 's/ -shared / -Wl,-O1,--as-needed\0/g' \
|
||||
-i {.,cogl,clutter}/libtool
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cd $pkgname
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue