wok-current rev 25424

updated x265 and x265-dev (3.2 -> 3.5)
author Hans-G?nter Theisgen
date Thu Aug 18 16:24:15 2022 +0100 (2022-08-18)
parents a41dbb6ded61
children f96349892d0a
files x265-dev/receipt x265/receipt
line diff
     1.1 --- a/x265-dev/receipt	Wed Aug 17 14:38:41 2022 +0000
     1.2 +++ b/x265-dev/receipt	Thu Aug 18 16:24:15 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="x265-dev"
     1.7 -VERSION="3.2"
     1.8 +VERSION="3.5"
     1.9  CATEGORY="development"
    1.10  MAINTAINER="pascal.bellard@slitaz.org"
    1.11  LICENSE="GPL2"
    1.12 @@ -14,9 +14,5 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p $fs/usr/lib
    1.17 -
    1.18 -	cp -a $install/usr/lib/*a		$fs/usr/lib
    1.19 -	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.20 -	cp -a $install/usr/include		$fs/usr
    1.21 +	get_dev_files
    1.22  }
     2.1 --- a/x265/receipt	Wed Aug 17 14:38:41 2022 +0000
     2.2 +++ b/x265/receipt	Thu Aug 18 16:24:15 2022 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="x265"
     2.7 -VERSION="3.2"
     2.8 +VERSION="3.5"
     2.9  CATEGORY="multimedia"
    2.10  MAINTAINER="pascal.bellard@slitaz.org"
    2.11  LICENSE="GPL2"
    2.12 @@ -9,7 +9,7 @@
    2.13  WEB_SITE="https://www.videolan.org/developers/x265.html"
    2.14  
    2.15  TARBALL="${PACKAGE}_$VERSION.tar.gz"
    2.16 -WGET_URL="http://ftp.videolan.org/pub/videolan/x265/$TARBALL"
    2.17 +WGET_URL="https://bitbucket.org/multicoreware/${PACKAGE}_git/downloads/$TARBALL"
    2.18  
    2.19  DEPENDS="glibc-base"
    2.20  BUILD_DEPENDS="cmake nasm"
    2.21 @@ -27,16 +27,15 @@
    2.22  compile_rules()
    2.23  {
    2.24  	cd $src/build
    2.25 -	cmake -DCMAKE_INSTALL_PREFIX=/usr ../source &&
    2.26 +	cmake	../source			\
    2.27 +		-D CMAKE_INSTALL_PREFIX=/usr &&
    2.28  	make &&
    2.29 -	make DESTDIR=$DESTDIR install
    2.30 +	make install DESTDIR=$DESTDIR
    2.31  }
    2.32  
    2.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.34  genpkg_rules()
    2.35  {
    2.36 -	mkdir -p $fs/usr/lib
    2.37 -
    2.38 -	cp -a $install/usr/bin		$fs/usr
    2.39 -	cp -a $install/usr/lib/*so*	$fs/usr/lib/
    2.40 +	cook_copy_folders	bin
    2.41 +	cook_copy_files		*.so*
    2.42  }