[arch-commits] Commit in libgphoto2/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Fri Aug 3 06:52:56 UTC 2018
Date: Friday, August 3, 2018 @ 06:52:55
Author: heftig
Revision: 330483
archrelease: copy trunk to extra-x86_64
Added:
libgphoto2/repos/extra-x86_64/PKGBUILD
(from rev 330482, libgphoto2/trunk/PKGBUILD)
Deleted:
libgphoto2/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 122 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-03 06:52:36 UTC (rev 330482)
+++ PKGBUILD 2018-08-03 06:52:55 UTC (rev 330483)
@@ -1,61 +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.18
-pkgrel=1
-pkgdesc="The core library of gphoto2, designed to allow access to digital camera by external programs."
-url="http://www.gphoto.org/"
-arch=(x86_64)
-license=(LGPL)
-depends=(libexif libjpeg gd libltdl libusb libxml2)
-makedepends=(autoconf-archive git)
-_commit=2aaf4bfd30bbae0ff19bd6e5dbdae193d0286fd6 # tags/libgphoto2-2_5_18-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"
-)
Copied: libgphoto2/repos/extra-x86_64/PKGBUILD (from rev 330482, libgphoto2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-03 06:52:55 UTC (rev 330483)
@@ -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.19
+pkgrel=1
+pkgdesc="The core library of gphoto2, designed to allow access to digital camera by external programs."
+url="http://www.gphoto.org/"
+arch=(x86_64)
+license=(LGPL)
+depends=(libexif libjpeg gd libltdl libusb libxml2)
+makedepends=(autoconf-archive git)
+_commit=745b610ed1da36e4141fc46996e5032c627d6248 # tags/libgphoto2-2_5_19-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