Date: Tuesday, September 27, 2016 @ 07:11:23 Author: heftig Revision: 277008
archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64 Added: cheese/repos/gnome-unstable-i686/ cheese/repos/gnome-unstable-i686/PKGBUILD (from rev 277007, cheese/trunk/PKGBUILD) cheese/repos/gnome-unstable-x86_64/ cheese/repos/gnome-unstable-x86_64/PKGBUILD (from rev 277007, cheese/trunk/PKGBUILD) --------------------------------+ gnome-unstable-i686/PKGBUILD | 53 +++++++++++++++++++++++++++++++++++++++ gnome-unstable-x86_64/PKGBUILD | 53 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+) Copied: cheese/repos/gnome-unstable-i686/PKGBUILD (from rev 277007, cheese/trunk/PKGBUILD) =================================================================== --- gnome-unstable-i686/PKGBUILD (rev 0) +++ gnome-unstable-i686/PKGBUILD 2016-09-27 07:11:23 UTC (rev 277008) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Contributor: Jan de Groot <j...@archlinux.org> + +pkgname=cheese +pkgver=3.22.0+1+g109674f +pkgrel=1 +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 dconf) +makedepends=(pkgconfig intltool gobject-introspection itstool vala + gnome-common git appstream-glib) +optdepends=('frei0r-plugins: More camera effects') +groups=(gnome-extra) +options=(!emptydirs) +_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 + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --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 + + make +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install +} Copied: cheese/repos/gnome-unstable-x86_64/PKGBUILD (from rev 277007, cheese/trunk/PKGBUILD) =================================================================== --- gnome-unstable-x86_64/PKGBUILD (rev 0) +++ gnome-unstable-x86_64/PKGBUILD 2016-09-27 07:11:23 UTC (rev 277008) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Contributor: Jan de Groot <j...@archlinux.org> + +pkgname=cheese +pkgver=3.22.0+1+g109674f +pkgrel=1 +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 dconf) +makedepends=(pkgconfig intltool gobject-introspection itstool vala + gnome-common git appstream-glib) +optdepends=('frei0r-plugins: More camera effects') +groups=(gnome-extra) +options=(!emptydirs) +_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 + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --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 + + make +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install +}