Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] lrzip: update to 0.650.
@ 2022-03-01 12:57 tibequadorian
  2022-03-01 13:01 ` [PR PATCH] [Updated] " tibequadorian
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tibequadorian @ 2022-03-01 12:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1268 bytes --]

There is a new pull request by tibequadorian against master on the void-packages repository

https://github.com/tibequadorian/void-packages lrzip
https://github.com/void-linux/void-packages/pull/35904

lrzip: update to 0.650.
* enable ASM for x86
* liblrzip is deprecated

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/35904.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lrzip-35904.patch --]
[-- Type: text/x-diff, Size: 2200 bytes --]

From be697d92add9bb47905ca772f9a6ddb40f79d4a7 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
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 ++++++++++-----------------
 3 files changed, 10 insertions(+), 19 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 ce2559e2110e..000000000000
--- 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 ce2559e2110e..000000000000
--- 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 2ec52997c8e8..1b492e9e6c6c 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 <orphan@voidlinux.org>"
 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
 }

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-17 15:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-01 12:57 [PR PATCH] lrzip: update to 0.650 tibequadorian
2022-03-01 13:01 ` [PR PATCH] [Updated] " tibequadorian
2022-03-16 20:23 ` tibequadorian
2022-03-17 15:49 ` [PR PATCH] [Merged]: " leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).