Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] unrar: update to 6.1.3
@ 2021-12-21 21:42 the-eater
  2021-12-21 21:50 ` paper42
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: the-eater @ 2021-12-21 21:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/the-eater/neo-void-packages pkg/unrar/6.1.3
https://github.com/void-linux/void-packages/pull/34651

unrar: update to 6.1.3
This also adds libunrar and libunrar-devel :)

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


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg/unrar/6.1.3-34651.patch --]
[-- Type: text/x-diff, Size: 1774 bytes --]

From 35e245cc2413bafbcf290329da4c8b61bcbfdcc7 Mon Sep 17 00:00:00 2001
From: eater <=@eater.me>
Date: Tue, 21 Dec 2021 22:39:09 +0100
Subject: [PATCH] unrar: update to 6.1.3

---
 srcpkgs/libunrar       |  1 +
 srcpkgs/libunrar-devel |  1 +
 srcpkgs/unrar/template | 21 +++++++++++++++++++++
 3 files changed, 23 insertions(+)
 create mode 120000 srcpkgs/libunrar
 create mode 120000 srcpkgs/libunrar-devel

diff --git a/srcpkgs/libunrar b/srcpkgs/libunrar
new file mode 120000
index 000000000000..77165df2b259
--- /dev/null
+++ b/srcpkgs/libunrar
@@ -0,0 +1 @@
+unrar
\ No newline at end of file
diff --git a/srcpkgs/libunrar-devel b/srcpkgs/libunrar-devel
new file mode 120000
index 000000000000..77165df2b259
--- /dev/null
+++ b/srcpkgs/libunrar-devel
@@ -0,0 +1 @@
+unrar
\ No newline at end of file
diff --git a/srcpkgs/unrar/template b/srcpkgs/unrar/template
index 11ce82028475..113ad5e6b888 100644
--- a/srcpkgs/unrar/template
+++ b/srcpkgs/unrar/template
@@ -11,14 +11,35 @@ distfiles="https://www.rarlab.com/rar/unrarsrc-${version}.tar.gz"
 checksum=d05022442009202a792e588bec58921c123ff046fc755f7f2272871a5bd79636
 repository=nonfree
 
+post_extract() {
+	cp -a . ../libunrar
+}
+
 do_build() {
 	vsed -e 's/^\(CXXFLAGS\)=\(.*\)/\1+=\2/' \
 		 -e 's/^\(LDFLAGS\)=\(.*\)/\1+=-lpthread \2/' \
 		 -i makefile
 	make CXX="$CXX" LD="$LD" STRIP=: -f makefile
+	make CXX="$CXX" LD="$LD" STRIP=: -C ../libunrar -f makefile lib
 }
 
 do_install() {
 	vbin unrar
 	vlicense license.txt LICENSE
 }
+
+libunrar_package() {
+	short_desc+= " - shared library"
+
+	pkg_install() {
+		vinstall ../libunrar/libunrar.so 0755 /usr/lib/
+	}
+}
+
+libunrar-devel_package() {
+	short_desc+= " - development files"
+
+	pkg_install() {
+		vinstall dll.hpp 644 /usr/include/unrar/
+	}
+}

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

end of thread, other threads:[~2021-12-22 18:16 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-21 21:42 [PR PATCH] unrar: update to 6.1.3 the-eater
2021-12-21 21:50 ` paper42
2021-12-21 21:56 ` [PR PATCH] [Updated] " the-eater
2021-12-21 21:56 ` unrar: Expose library and header files the-eater
2021-12-21 22:16 ` [PR REVIEW] " paper42
2021-12-21 22:25 ` paper42
2021-12-21 22:29 ` the-eater
2021-12-21 22:31 ` paper42
2021-12-21 22:33 ` the-eater
2021-12-21 22:37 ` paper42
2021-12-21 22:40 ` the-eater
2021-12-21 22:43 ` the-eater
2021-12-21 22:44 ` [PR PATCH] [Updated] " the-eater
2021-12-22 18:16 ` [PR PATCH] [Merged]: " paper42

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).