wok-next rev 20468

Up alsaequal, tls (1.6.7), libv4l (0.8.5) -> v4l-utils (1.14.2)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Mar 08 02:34:55 2018 +0200 (2018-03-08)
parents 31a5f8af77a8
children 577783a50854
files alsaequal/stuff/patches/series libv4l/receipt tls/receipt v4l-utils/receipt
line diff
     1.1 --- a/alsaequal/stuff/patches/series	Thu Mar 08 01:13:43 2018 +0200
     1.2 +++ b/alsaequal/stuff/patches/series	Thu Mar 08 02:34:55 2018 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4  # from https://aur.archlinux.org/packages/alsaequal/
     1.5 --p0|alsaequal.install
     1.6  -p0|caps_9.x.patch
     1.7  -p0|false_error.patch
     1.8 +-p0|makefile.patch
     2.1 --- a/libv4l/receipt	Thu Mar 08 01:13:43 2018 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,49 +0,0 @@
     2.4 -# SliTaz package receipt v2.
     2.5 -
     2.6 -PACKAGE="libv4l"
     2.7 -VERSION="0.8.5"
     2.8 -CATEGORY="multimedia"
     2.9 -MAINTAINER="jozee@slitaz.org"
    2.10 -LICENSE="GPL2"
    2.11 -SHORT_DESC="Userspace library for Video 4 Linux (1 and 2)"
    2.12 -WEB_SITE="http://freshmeat.net/projects/libv4l"
    2.13 -
    2.14 -TARBALL="v4l-utils-$VERSION.tar.bz2"
    2.15 -WGET_URL="http://linuxtv.org/downloads/v4l-utils/$TARBALL"
    2.16 -
    2.17 -BUILD_DEPENDS="jpeg-dev"
    2.18 -SPLIT="libv4l"
    2.19 -
    2.20 -compile_rules() {
    2.21 -	make &&
    2.22 -	make install PREFIX="/usr" DESTDIR="$DESTDIR"
    2.23 -}
    2.24 -
    2.25 -genpkg_rules() {
    2.26 -	case $PACKAGE in
    2.27 -		libv4l)
    2.28 -			mkdir -p $fs/usr/lib
    2.29 -			cp -a $install/usr/lib/*so* $fs/usr/lib/
    2.30 -			cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
    2.31 -			DEPENDS="libjpeg"
    2.32 -			TAGS="webcam video"
    2.33 -			;;
    2.34 -		*-dev)
    2.35 -			mkdir -p $fs/usr/lib
    2.36 -			cp -a $install/usr/include $fs/usr
    2.37 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    2.38 -			;;
    2.39 -	esac
    2.40 -}
    2.41 -
    2.42 -post_install_libv4l() {
    2.43 -	lib='/usr/lib/libv4l/v4l1compat.so'
    2.44 -	if [ -e "$1$lib" ]; then
    2.45 -		grep -q "^export LD_PRELOAD=$lib$"   "$1/etc/profile" ||
    2.46 -		echo     "export LD_PRELOAD=$lib" >> "$1/etc/profile"
    2.47 -	fi
    2.48 -}
    2.49 -
    2.50 -post_remove_libv4l() {
    2.51 -	sed -i '/export LD_PRELOAD=\/usr\/lib\/libv4l\/v4l1compat.so/d' "$1/etc/profile"
    2.52 -}
     3.1 --- a/tls/receipt	Thu Mar 08 01:13:43 2018 +0200
     3.2 +++ b/tls/receipt	Thu Mar 08 02:34:55 2018 +0200
     3.3 @@ -1,35 +1,38 @@
     3.4 -# SliTaz package receipt.
     3.5 +# SliTaz package receipt v2.
     3.6  
     3.7  PACKAGE="tls"
     3.8 -VERSION="1.6"
     3.9 +VERSION="1.6.7"
    3.10  CATEGORY="network"
    3.11 -SHORT_DESC="OpenSSL Tcl extension."
    3.12 +SHORT_DESC="OpenSSL Tcl extension"
    3.13  MAINTAINER="erjo@slitaz.org"
    3.14  LICENSE="MIT"
    3.15 -TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
    3.16  WEB_SITE="http://tls.sourceforge.net/"
    3.17 +
    3.18 +TARBALL="$PACKAGE$VERSION-src.tar.gz"
    3.19  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.20  
    3.21 -DEPENDS="openssl tcl"
    3.22 -BUILD_DEPENDS="openssl-dev tcl-dev"
    3.23 +BUILD_DEPENDS="openssl10-dev tcl-dev"
    3.24 +SPLIT="tls-dev"
    3.25  
    3.26 -# Rules to configure and make the package.
    3.27 -compile_rules()
    3.28 -{
    3.29 +compile_rules() {
    3.30 +	sed -i 's|/include$|/include/openssl-1.0|' ./configure
    3.31 +
    3.32 +	CPPFLAGS="$CPPFLAGS -I/usr/include/openssl-1.0" \
    3.33  	./configure \
    3.34 -		--prefix=/usr \
    3.35 -		--with-ssl-dir=/usr \
    3.36 -		--disable-symboles &&
    3.37 -	make
    3.38 +		--disable-symboles \
    3.39 +		$CONFIGURE_ARGS &&
    3.40 +	make &&
    3.41 +	make DESTDIR=$DESTDIR install
    3.42  }
    3.43  
    3.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.45 -genpkg_rules()
    3.46 -{
    3.47 -	mkdir -p $fs/usr/lib/tls1.6
    3.48 -	cp -a $src/libtls1.6.so $fs/usr/lib/tls1.6
    3.49 -	cp -a $src/pkgIndex.tcl $fs/usr/lib/tls1.6
    3.50 -	cp -a $src/tls.tcl $fs/usr/lib/tls1.6
    3.51 -
    3.52 -	sed -i 's/dir ../dir/' $fs/usr/lib/tls1.6/pkgIndex.tcl
    3.53 +genpkg_rules() {
    3.54 +	case $PACKAGE in
    3.55 +		tls)
    3.56 +			copy @std
    3.57 +			DEPENDS="openssl10 tcl"
    3.58 +			;;
    3.59 +		*-dev)
    3.60 +			copy @dev
    3.61 +			;;
    3.62 +	esac
    3.63  }
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/v4l-utils/receipt	Thu Mar 08 02:34:55 2018 +0200
     4.3 @@ -0,0 +1,49 @@
     4.4 +# SliTaz package receipt v2.
     4.5 +
     4.6 +PACKAGE="v4l-utils"
     4.7 +VERSION="1.14.2"
     4.8 +CATEGORY="multimedia"
     4.9 +SHORT_DESC="Userspace tools and conversion library for Video 4 Linux"
    4.10 +MAINTAINER="al.bobylev@gmail.com"
    4.11 +LICENSE="GPL2"
    4.12 +WEB_SITE="https://linuxtv.org/wiki/index.php/V4l-utils"
    4.13 +
    4.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.15 +WGET_URL="http://linuxtv.org/downloads/v4l-utils/$TARBALL"
    4.16 +
    4.17 +BUILD_DEPENDS="libjpeg-turbo-dev perl gettext alsa-lib-dev eudev-dev"
    4.18 +SPLIT="v4l-utils-dev"
    4.19 +
    4.20 +compile_rules() {
    4.21 +	./configure $CONFIGURE_ARGS &&
    4.22 +	make &&
    4.23 +	make -j1 install
    4.24 +}
    4.25 +
    4.26 +genpkg_rules() {
    4.27 +	case $PACKAGE in
    4.28 +		v4l-utils)
    4.29 +			copy @std
    4.30 +			DEPENDS="eudev libjpeg-turbo"
    4.31 +			PROVIDE="libv4l"
    4.32 +			TAGS="webcam video"
    4.33 +			;;
    4.34 +		*-dev)
    4.35 +			copy @dev
    4.36 +			DEPENDS="v4l-utils eudev-dev libjpeg-turbo-dev"
    4.37 +			PROVIDE="libv4l-dev"
    4.38 +			;;
    4.39 +	esac
    4.40 +}
    4.41 +
    4.42 +post_install_v4l_utils() {
    4.43 +	lib='/usr/lib/libv4l/v4l1compat.so'
    4.44 +	if [ -e "$1$lib" ]; then
    4.45 +		grep -q "^export LD_PRELOAD=$lib$"   "$1/etc/profile" ||
    4.46 +		echo     "export LD_PRELOAD=$lib" >> "$1/etc/profile"
    4.47 +	fi
    4.48 +}
    4.49 +
    4.50 +post_remove_v4l_utils() {
    4.51 +	sed -i '/export LD_PRELOAD=\/usr\/lib\/libv4l\/v4l1compat.so/d' "$1/etc/profile"
    4.52 +}