[arch-commits] Commit in totem/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Mar 15 16:20:07 UTC 2018
Date: Thursday, March 15, 2018 @ 16:20:05
Author: heftig
Revision: 319319
3.26.0+37+g84700147-1
Modified:
totem/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-15 16:08:34 UTC (rev 319318)
+++ PKGBUILD 2018-03-15 16:20:05 UTC (rev 319319)
@@ -3,7 +3,7 @@
# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=totem
-pkgver=3.26.0+1+g4e309671
+pkgver=3.26.0+37+g84700147
pkgrel=1
pkgdesc="Movie player for the GNOME desktop based on GStreamer"
url="https://wiki.gnome.org/Apps/Videos"
@@ -22,7 +22,7 @@
groups=(gnome)
conflicts=(totem-plugin)
replaces=(totem-plugin)
-_commit=4e3096711ec28bd7983c858943498abf76a8a267 # master
+_commit=84700147475c3272400c7aa70aaec0a8807bb08e # master
source=("git+https://git.gnome.org/browse/totem#commit=$_commit"
"git+https://git.gnome.org/browse/libgd")
sha256sums=('SKIP'
@@ -34,11 +34,8 @@
}
prepare() {
- mkdir build
cd $pkgname
- sed -i '/--sgml-mode/d' docs/reference/meson.build
-
git submodule init
git config --local submodule.subprojects/libgd.url "$srcdir/libgd"
git submodule update
@@ -45,14 +42,11 @@
}
build() {
- cd build
- meson setup --prefix=/usr --buildtype=release ../$pkgname \
- --libexecdir=/usr/lib/$pkgname -Denable-gtk-doc=true -Denable-vala=no
- ninja
+ arch-meson $pkgname build -D enable-gtk-doc=true -D enable-vala=no -D b_lto=false
+ ninja -C build
}
package() {
- cd build
- DESTDIR="$pkgdir" ninja install
- install -Dm644 ../$pkgname/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ DESTDIR="$pkgdir" ninja -C build install
+ install -Dm644 $pkgname/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
More information about the arch-commits
mailing list