From: the-eater <the-eater@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] unrar: update to 6.1.3
Date: Tue, 21 Dec 2021 22:56:17 +0100 [thread overview]
Message-ID: <20211221215617.s17Bv04hIZ4QuOk5oiM3PEqAW9v667Se5g3QsP9h_bU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34651@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 447 bytes --]
There is an updated 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: 2025 bytes --]
From 2a5d1b03a926bb237511420018022f2357dd3b1c Mon Sep 17 00:00:00 2001
From: eater <=@eater.me>
Date: Tue, 21 Dec 2021 22:39:09 +0100
Subject: [PATCH] unrar: Expose library and header files
---
srcpkgs/libunrar | 1 +
srcpkgs/libunrar-devel | 1 +
srcpkgs/unrar/template | 23 ++++++++++++++++++++++-
3 files changed, 24 insertions(+), 1 deletion(-)
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..c81e0fe1e15c 100644
--- a/srcpkgs/unrar/template
+++ b/srcpkgs/unrar/template
@@ -1,7 +1,7 @@
# Template file for 'unrar'
pkgname=unrar
version=6.1.3
-revision=1
+revision=2
wrksrc=unrar
short_desc="Unarchiver for .rar files (non-free version)"
maintainer="skmpz <dem.procopiou@gmail.com>"
@@ -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/
+ }
+}
next prev parent reply other threads:[~2021-12-21 21:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-21 21:42 [PR PATCH] " the-eater
2021-12-21 21:50 ` paper42
2021-12-21 21:56 ` the-eater [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211221215617.s17Bv04hIZ4QuOk5oiM3PEqAW9v667Se5g3QsP9h_bU@z \
--to=the-eater@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).