[arch-commits] Commit in brasero/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Mon Jul 31 20:08:25 UTC 2017


    Date: Monday, July 31, 2017 @ 20:08:24
  Author: heftig
Revision: 301442

3.12.2-1

Modified:
  brasero/trunk/PKGBUILD

----------+
 PKGBUILD |   32 +++++++++++++++++++-------------
 1 file changed, 19 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-31 18:40:44 UTC (rev 301441)
+++ PKGBUILD	2017-07-31 20:08:24 UTC (rev 301442)
@@ -4,40 +4,46 @@
 # Contributor: William Rea <sillywilly at gmail.com>
 
 pkgname=brasero
-pkgver=3.12.1
-pkgrel=2
+pkgver=3.12.2
+pkgrel=1
 pkgdesc="CD/DVD mastering tool"
+url="https://wiki.gnome.org/Apps/Brasero"
 arch=(i686 x86_64)
-url="https://wiki.gnome.org/Apps/Brasero"
 license=(GPL)
-options=(!emptydirs)
 depends=(gtk3 gst-plugins-good totem-plparser cdrkit cdrdao shared-mime-info libcanberra
          dvd+rw-tools dconf libsm libtracker-sparql libnotify gvfs)
 makedepends=(gtk-doc yelp-tools gnome-common intltool libburn libisofs libnautilus-extension
-             gobject-introspection gconf itstool docbook-xsl)
+             gobject-introspection gconf itstool docbook-xsl git)
 optdepends=('libburn: alternative back-end'
             'libisofs: libburn back-end'
             'dvdauthor: video project'
             'vcdimager: video project')
-replaces=(nautilus-cd-burner)
 groups=(gnome-extra)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('9a5eea53e57b66de3c7c8c2393ac21a58d5afa81c6cfb16b3c7f010a3d147127')
+_commit=f0c7ac25f7e01a608f74111e64ff196fb470ed9f  # tags/3.12.2^0
+source=("git+https://git.gnome.org/browse/brasero#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
 prepare() {
-  cd $pkgname-$pkgver
-  autoreconf -fi
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-    --disable-caches --disable-schemas-compile --enable-compile-warnings=minimum
+    --disable-caches --disable-schemas-compile --enable-compile-warnings=minimum \
+    --enable-gtk-doc
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR=$pkgdir install
 }
 



More information about the arch-commits mailing list