[arch-commits] Commit in cheese/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Sep 27 07:10:31 UTC 2016
Date: Tuesday, September 27, 2016 @ 07:10:31
Author: heftig
Revision: 277007
3.22.0+1+g109674f-1
Modified:
cheese/trunk/PKGBUILD
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++----------
1 file changed, 27 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-27 06:42:17 UTC (rev 277006)
+++ PKGBUILD 2016-09-27 07:10:31 UTC (rev 277007)
@@ -3,26 +3,43 @@
# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=cheese
-pkgver=3.20.2
+pkgver=3.22.0+1+g109674f
pkgrel=1
-pkgdesc="Use your webcam to take photos and videos, apply fancy special effects and share the fun with others"
-url="https://wiki.gnome.org/Apps/Cheese/"
+pkgdesc="Take photos and videos with your webcam, with fun graphical effects"
+url="https://wiki.gnome.org/Apps/Cheese"
arch=(i686 x86_64)
license=(GPL)
depends=(gtk3 gstreamer gst-plugins-bad gst-plugins-base gst-plugins-good
clutter-gst clutter-gtk libcanberra gnome-video-effects librsvg
- gnome-desktop libgudev)
-makedepends=(pkgconfig intltool gobject-introspection itstool vala)
+ gnome-desktop libgudev dconf)
+makedepends=(pkgconfig intltool gobject-introspection itstool vala
+ gnome-common git appstream-glib)
optdepends=('frei0r-plugins: More camera effects')
groups=(gnome-extra)
options=(!emptydirs)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('b7c18719b708e039c063ef09278ee813923556e06af4a7e9598c5d3bdeb83775')
+_commit=109674f0d646010c2f42ff2b61322bf750d24aa4
+source=("git://git.gnome.org/cheese#commit=$_commit")
+sha256sums=('SKIP')
+# TODO: Consider splitting libcheese
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ # Fixup tags for pkgver()
+ git tag -f 3.22.0 7b16d07e0579f8b361577aa17fa4e2e0dedc5fe9
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --disable-static --disable-schemas-compile --libexecdir=/usr/lib/cheese
+ --disable-static --disable-schemas-compile --libexecdir=/usr/lib/cheese \
+ --enable-gtk-doc
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
@@ -31,6 +48,6 @@
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list