[arch-commits] Commit in libgphoto2/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Wed Dec 13 09:39:03 UTC 2017
Date: Wednesday, December 13, 2017 @ 09:39:02
Author: heftig
Revision: 312217
archrelease: copy trunk to extra-x86_64
Added:
libgphoto2/repos/extra-x86_64/PKGBUILD
(from rev 312216, libgphoto2/trunk/PKGBUILD)
Deleted:
libgphoto2/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 124 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-13 09:38:21 UTC (rev 312216)
+++ PKGBUILD 2017-12-13 09:39:02 UTC (rev 312217)
@@ -1,63 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: Tom Gundersen <teg at jklm.no>
-# Contributor: Eduardo Romero <eduardo at archlinux.org>
-# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
-
-pkgname=libgphoto2
-pkgver=2.5.14+6+g695b55887
-pkgrel=1
-pkgdesc="The core library of gphoto2, designed to allow access to digital camera by external programs."
-arch=(i686 x86_64)
-url="http://www.gphoto.org/"
-license=(LGPL)
-depends=(libexif libjpeg gd libltdl libusb libxml2)
-makedepends=(autoconf-archive git)
-_commit=695b558871fb5274d840647f71d42a77cfa7447f # master
-source=("git+https://github.com/gphoto/libgphoto2#commit=$_commit")
-sha256sums=('SKIP')
-validpgpkeys=('7C4AFD61D8AAE7570796A5172209D6902F969C95') # Marcus Meissner
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/^libgphoto2-//;s/-release//;s/_/./g;s/-/+/g'
-}
-
-prepare() {
- cd $pkgname
- autoreconf -fvi
-}
-
-build() {
- cd $pkgname
- ./configure --prefix=/usr --disable-rpath
-
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
-
- make
-}
-
-package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
-
- # Remove unused udev helper
- rm -r "$pkgdir/usr/lib/udev"
-
- # Remove recursive symlink
- rm "$pkgdir/usr/include/gphoto2/gphoto2"
-
- _genudev
-}
-
-_genudev() (
- cd "$pkgdir/usr/lib/libgphoto2"
-
- export LD_LIBRARY_PATH="$pkgdir/usr/lib${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
- export CAMLIBS="$PWD/$pkgver"
-
- ./print-camera-list hwdb \
- | install -Dm644 /dev/stdin "$pkgdir/usr/lib/udev/hwdb.d/20-gphoto.hwdb"
- ./print-camera-list udev-rules version 201 \
- | install -Dm644 /dev/stdin "$pkgdir/usr/lib/udev/rules.d/40-gphoto.rules"
-)
Copied: libgphoto2/repos/extra-x86_64/PKGBUILD (from rev 312216, libgphoto2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-13 09:39:02 UTC (rev 312217)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Tom Gundersen <teg at jklm.no>
+# Contributor: Eduardo Romero <eduardo at archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+
+pkgname=libgphoto2
+pkgver=2.5.16
+pkgrel=1
+pkgdesc="The core library of gphoto2, designed to allow access to digital camera by external programs."
+arch=(x86_64)
+url="http://www.gphoto.org/"
+license=(LGPL)
+depends=(libexif libjpeg gd libltdl libusb libxml2)
+makedepends=(autoconf-archive git)
+_commit=b85051b356c84f0017fb1622edbf9b28a5c6105a # tags/libgphoto2-2_5_16-release
+source=("git+https://github.com/gphoto/libgphoto2#commit=$_commit")
+sha256sums=('SKIP')
+validpgpkeys=('7C4AFD61D8AAE7570796A5172209D6902F969C95') # Marcus Meissner
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^libgphoto2-//;s/-release//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ autoreconf -fvi
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr --disable-rpath
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+
+ # Remove unused udev helper
+ rm -r "$pkgdir/usr/lib/udev"
+
+ # Remove recursive symlink
+ rm "$pkgdir/usr/include/gphoto2/gphoto2"
+
+ _genudev
+}
+
+_genudev() (
+ cd "$pkgdir/usr/lib/libgphoto2"
+
+ export LD_LIBRARY_PATH="$pkgdir/usr/lib${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
+ export CAMLIBS="$PWD/$pkgver"
+
+ ./print-camera-list hwdb \
+ | install -Dm644 /dev/stdin "$pkgdir/usr/lib/udev/hwdb.d/20-gphoto.hwdb"
+ ./print-camera-list udev-rules version 201 \
+ | install -Dm644 /dev/stdin "$pkgdir/usr/lib/udev/rules.d/40-gphoto.rules"
+)
More information about the arch-commits
mailing list