Date: Monday, February 6, 2023 @ 09:42:03
Author: heftig
Revision: 468259
archrelease: copy trunk to extra-x86_64
Added:
libgphoto2/repos/extra-x86_64/PKGBUILD
(from rev 468258, libgphoto2/trunk/PKGBUILD)
libgphoto2/repos/extra-x86_64/keys/
Deleted:
libgphoto2/repos/extra-x86_64/PKGBUILD
libgphoto2/repos/extra-x86_64/keys/
----------+
PKGBUILD | 135 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 73 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-02-06 09:41:21 UTC (rev 468258)
+++ PKGBUILD 2023-02-06 09:42:03 UTC (rev 468259)
@@ -1,62 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
-# Contributor: Jan de Groot <[email protected]>
-# Contributor: Tom Gundersen <[email protected]>
-# Contributor: Eduardo Romero <[email protected]>
-# Contributor: Damir Perisa <[email protected]>
-
-pkgname=libgphoto2
-pkgver=2.5.30
-pkgrel=1
-pkgdesc="Digital camera access library"
-url="http://www.gphoto.org/"
-arch=(x86_64)
-license=(LGPL)
-depends=(libexif libjpeg gd libltdl libusb libxml2 curl)
-makedepends=(autoconf-archive git)
-provides=(libgphoto2.so)
-options=(debug)
-_commit=6511898c4be52a9306f0791476561bdcebf5317d #
tags/libgphoto2-2_5_30-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/^v//;s/_/./g;s/[^-]*-g/r&/;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 -rv "$pkgdir/usr/lib/udev"
-
- _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"
-)
-
-# vim:set sw=2 et:
Copied: libgphoto2/repos/extra-x86_64/PKGBUILD (from rev 468258,
libgphoto2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-02-06 09:42:03 UTC (rev 468259)
@@ -0,0 +1,73 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+# Contributor: Tom Gundersen <[email protected]>
+# Contributor: Eduardo Romero <[email protected]>
+# Contributor: Damir Perisa <[email protected]>
+
+pkgname=libgphoto2
+pkgver=2.5.30
+pkgrel=2
+pkgdesc="Digital camera access library"
+url="http://www.gphoto.org/"
+arch=(x86_64)
+license=(LGPL)
+depends=(
+ curl
+ gd
+ libexif
+ libjpeg
+ libltdl
+ libusb
+ libxml2
+)
+makedepends=(
+ autoconf-archive
+ git
+)
+provides=(libgphoto2{,_port}.so)
+_commit=6511898c4be52a9306f0791476561bdcebf5317d #
tags/libgphoto2-2_5_30-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/^v//;s/_/./g;s/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ autoreconf -fvi
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --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 -rv "$pkgdir/usr/lib/udev"
+
+ _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"
+)
+
+# vim:set sw=2 sts=-1 et: