From 21e3854774e63f0947e648f8890b6cfcc71eeb1a Mon Sep 17 00:00:00 2001 From: tibequadorian Date: Tue, 1 Mar 2022 13:38:42 +0100 Subject: [PATCH] lrzip: update to 0.650. * enable ASM for x86 * liblrzip is deprecated --- srcpkgs/liblrzip | 1 - srcpkgs/lrzip-devel | 1 - srcpkgs/lrzip/template | 27 ++++++++++----------------- srcpkgs/removed-packages/template | 4 +++- 4 files changed, 13 insertions(+), 20 deletions(-) delete mode 120000 srcpkgs/liblrzip delete mode 120000 srcpkgs/lrzip-devel diff --git a/srcpkgs/liblrzip b/srcpkgs/liblrzip deleted file mode 120000 index ce2559e211..0000000000 --- a/srcpkgs/liblrzip +++ /dev/null @@ -1 +0,0 @@ -lrzip \ No newline at end of file diff --git a/srcpkgs/lrzip-devel b/srcpkgs/lrzip-devel deleted file mode 120000 index ce2559e211..0000000000 --- a/srcpkgs/lrzip-devel +++ /dev/null @@ -1 +0,0 @@ -lrzip \ No newline at end of file diff --git a/srcpkgs/lrzip/template b/srcpkgs/lrzip/template index 2ec52997c8..1b492e9e6c 100644 --- a/srcpkgs/lrzip/template +++ b/srcpkgs/lrzip/template @@ -1,6 +1,6 @@ # Template file for 'lrzip' pkgname=lrzip -version=0.641 +version=0.650 revision=1 build_style="gnu-configure" hostmakedepends="perl automake libtool" @@ -10,25 +10,18 @@ maintainer="Orphaned " license="GPL-2.0-or-later" homepage="http://lrzip.kolivas.org/" distfiles="https://github.com/ckolivas/lrzip/archive/v${version}.tar.gz" -checksum=9b6b4bb1ae76dafbaab96ec9d50d41af5fed45a6c4f2e06feea828c2cd8025c0 +checksum=e07b2b3511689e4aaf7404d289feba5d9d6e1170c448f85e393a11249502dd66 + +case "$XBPS_TARGET_MACHINE" in + i686*|x86_64*) hostmakedepends+=" nasm";; +esac pre_configure() { NOCONFIGURE=1 ./autogen.sh } -lrzip-devel_package() { - short_desc+=" - development files" - depends="liblrzip-${version}_${revision}" - pkg_install() { - vmove usr/include - vmove usr/lib/pkgconfig - vmove "usr/lib/*.a" - vmove "usr/lib/*.so" - } -} -liblrzip_package() { - short_desc+=" - runtime library" - pkg_install() { - vmove "usr/lib/*.so.*" - } +# The library is deprecated as of lrzip 0.650. +post_install() { + rm -f ${DESTDIR}/usr/include/Lrzip.h + rm -f ${DESTDIR}/usr/lib/pkgconfig/lrzip.pc } diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template index 6a74419871..c23125bb0c 100644 --- a/srcpkgs/removed-packages/template +++ b/srcpkgs/removed-packages/template @@ -1,7 +1,7 @@ # Template file for 'removed-packages' pkgname=removed-packages version=0.1 -revision=65 +revision=66 build_style=meta short_desc="Uninstalls packages removed from repository" maintainer="Piotr Wójcik " @@ -211,6 +211,7 @@ replaces=" libgksu<=2.0.12_5 libglib-static<=2.58.3_5 libgtkhtml<=4.10.0_1 + liblrzip<=0.641_1 libmagick6-devel<=6.9.12.12_2 libmagick6-perl<=6.9.12.12_2 libmagick6<=6.9.12.12_2 @@ -228,6 +229,7 @@ replaces=" livewallpaper<=0.5.0_2 llvm3.9<=3.9.1_5 lprng<=3.8.C_1 + lrzip-devel<=0.641_1 ls++-git<=20140919_3 luxmark<=3.1_9 luxrays-devel<=3.1_18