From: the-eater <the-eater@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] unrar: update to 6.1.3
Date: Tue, 21 Dec 2021 22:42:52 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34651@inbox.vuxu.org> (raw)
[-- 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/
+ }
+}
next reply other threads:[~2021-12-21 21:42 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-21 21:42 the-eater [this message]
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
-- strict thread matches above, loose matches on Subject: below --
2021-12-11 7:55 [PR PATCH] unrar: update to 6.1.3 skmpz
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34651@inbox.vuxu.org \
--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).