wok rev 24617

updated libgphoto2 and libgphoto2-dev (2.5.24 -> 2.5.29)
author Hans-G?nter Theisgen
date Mon Mar 07 09:33:31 2022 +0100 (2022-03-07)
parents dbbce7b691de
children cdbf817b8967
files libgphoto2-dev/receipt libgphoto2-lang/receipt libgphoto2/receipt
line diff
     1.1 --- a/libgphoto2-dev/receipt	Mon Mar 07 08:02:36 2022 +0100
     1.2 +++ b/libgphoto2-dev/receipt	Mon Mar 07 09:33:31 2022 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libgphoto2-dev"
     1.7 -VERSION="2.5.24"
     1.8 +VERSION="2.5.29"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="libgphoto2 - development files."
    1.11 +SHORT_DESC="Libgphoto2 - development files."
    1.12  MAINTAINER="jozee@slitaz.org"
    1.13  LICENSE="LGPL2.1"
    1.14  WEB_SITE="http://www.gphoto.org"
    1.15 @@ -14,12 +14,10 @@
    1.16  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.17  genpkg_rules()
    1.18  {
    1.19 -	mkdir -p $fs/usr/lib
    1.20 -
    1.21 -	cp -a $install/usr/include		$fs/usr
    1.22 -	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.23 -	cp -a $install/usr/lib/*.*a		$fs/usr/lib/
    1.24 -	cp -a $install/usr/lib/libgphoto2_port	$fs/usr/lib/
    1.25 +	cook_copy_folders	include
    1.26 +	cook_copy_folders	pkgconfig
    1.27 +	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.28 +	cp -a $install/usr/lib/libgphoto2_port	$fs/usr/lib
    1.29  
    1.30  	# remove *.so files
    1.31  	find $fs/usr/lib -name "*.so*" -exec rm -f {} \; 2> /dev/null
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libgphoto2-lang/receipt	Mon Mar 07 09:33:31 2022 +0100
     2.3 @@ -0,0 +1,17 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libgphoto2-lang"
     2.7 +VERSION="2.5.29"
     2.8 +CATEGORY="graphics"
     2.9 +TAGS="camera photo"
    2.10 +SHORT_DESC="Core library of gphoto2 to access photos from digital camera - localised messages."
    2.11 +MAINTAINER="maintainer@slitaz.org"
    2.12 +LICENSE="LGPL2.1"
    2.13 +WEB_SITE="http://www.gphoto.org" 
    2.14 +
    2.15 +WANTED="libgphoto2"
    2.16 +
    2.17 +genpkg_rules()
    2.18 +{
    2.19 +	cook_copy_folders	locale
    2.20 +}
     3.1 --- a/libgphoto2/receipt	Mon Mar 07 08:02:36 2022 +0100
     3.2 +++ b/libgphoto2/receipt	Mon Mar 07 09:33:31 2022 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="libgphoto2"
     3.7 -VERSION="2.5.24"
     3.8 +VERSION="2.5.29"
     3.9  CATEGORY="graphics"
    3.10  TAGS="camera photo"
    3.11  SHORT_DESC="Core library of gphoto2 to access photos from digital camera."
    3.12 @@ -12,9 +12,10 @@
    3.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.14  WGET_URL="$SF_MIRROR/gphoto/$TARBALL"
    3.15  
    3.16 -DEPENDS="hal jpeg libexif libltdl libusb libusb-compat"
    3.17 -BUILD_DEPENDS="jpeg jpeg-dev libexif libexif-dev libtool \
    3.18 -	libusb libusb-compat libusb-compat-dev libusb-dev pkg-config"
    3.19 +SUGGESTED="libgphoto2-lang"
    3.20 +DEPENDS="gcc83-lib-base hal jpeg libexif libltdl libusb libusb-compat"
    3.21 +BUILD_DEPENDS="gcc83 jpeg jpeg-dev libexif libexif-dev libltdl libtool
    3.22 +	libusb libusb-compat-dev libusb-dev pkg-config"
    3.23  
    3.24  # What is the latest version available today?
    3.25  current_version()
    3.26 @@ -28,25 +29,26 @@
    3.27  compile_rules()
    3.28  {
    3.29  	./configure				\
    3.30 +		CC=gcc-83			\
    3.31 +		CXX=g++-83			\
    3.32  		--prefix=/usr			\
    3.33  		udevscriptdir=/lib/udev		\
    3.34  		--with-camlibs=everything	\
    3.35  		--with-exif			\
    3.36  		--disable-static		\
    3.37  		$CONFIGURE_ARGS &&
    3.38 -	make -j 1 &&
    3.39 +	make &&
    3.40  	make install
    3.41  }
    3.42  
    3.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.44  genpkg_rules()
    3.45  {
    3.46 -	mkdir -p \
    3.47 -		$fs/usr/lib/$PACKAGE \
    3.48 -		$fs/usr/share \
    3.49 -		$fs/lib \
    3.50 -		$fs/usr/share/hal/fdi/information/20thirdparty \
    3.51 -		$fs/etc/udev/rules.d
    3.52 +	mkdir -p $fs/etc/udev/rules.d
    3.53 +	mkdir -p $fs/lib
    3.54 +	mkdir -p $fs/usr/lib/$PACKAGE
    3.55 +	mkdir -p $fs/usr/share
    3.56 +	mkdir -p $fs/usr/share/hal/fdi/information/20thirdparty
    3.57  
    3.58  	cp -a $install/usr/bin			$fs/usr
    3.59  	cp -a $install/usr/lib/$PACKAGE		$fs/usr/lib
    3.60 @@ -89,8 +91,8 @@
    3.61  	fi
    3.62  
    3.63  	echo
    3.64 -	echo "Don't forget to add your user id to group camera to use libgphoto2:"
    3.65 -	echo "    # addgroup <user id> camera"
    3.66 +	echo "Don't forget to add user to group camera to use libgphoto2:"
    3.67 +	echo "    # addgroup <user> camera"
    3.68  }
    3.69  
    3.70  post_remove()