From: ezag <ezag@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: librav1e-0.6.2
Date: Mon, 09 Jan 2023 08:20:06 +0100 [thread overview]
Message-ID: <20230109072006.KjGJ6FLHc0A_3L7h2lP4fNZ010iZyo0MlfdsTTUkCYU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41525@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1083 bytes --]
There is an updated pull request by ezag against master on the void-packages repository
https://github.com/ezag/void-packages librav1e
https://github.com/void-linux/void-packages/pull/41525
New package: librav1e-0.6.2
<!-- 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 [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
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, x86_64-glibc
A patch file from https://github.com/void-linux/void-packages/pull/41525.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-librav1e-41525.patch --]
[-- Type: text/x-diff, Size: 3764 bytes --]
From 3811b6431163d0e2fa612bfc42ba88d636fcd6c3 Mon Sep 17 00:00:00 2001
From: Eugen Zagorodniy <zag@disroot.org>
Date: Sun, 8 Jan 2023 21:58:12 +0200
Subject: [PATCH 1/2] New package: librav1e-0.6.2
---
common/shlibs | 1 +
srcpkgs/librav1e-devel | 1 +
srcpkgs/librav1e/template | 48 +++++++++++++++++++++++++++++++++++++++
srcpkgs/rav1e | 1 +
4 files changed, 51 insertions(+)
create mode 120000 srcpkgs/librav1e-devel
create mode 100644 srcpkgs/librav1e/template
create mode 120000 srcpkgs/rav1e
diff --git a/common/shlibs b/common/shlibs
index 349c183cdb38..5408e00a5c2f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4220,3 +4220,4 @@ libdspy-1.so.1 d-spy-1.4.0_1
libpanel-1.so.1 libpanel-1.0.1_1
libqrtr.so.1 qrtr-ns-1.0_1
libbpf.so.1 libbpf-1.0.0_1
+librav1e.so.0 librav1e-0.6.2_1
diff --git a/srcpkgs/librav1e-devel b/srcpkgs/librav1e-devel
new file mode 120000
index 000000000000..45cbadcee218
--- /dev/null
+++ b/srcpkgs/librav1e-devel
@@ -0,0 +1 @@
+librav1e
\ No newline at end of file
diff --git a/srcpkgs/librav1e/template b/srcpkgs/librav1e/template
new file mode 100644
index 000000000000..b0a453e8d94e
--- /dev/null
+++ b/srcpkgs/librav1e/template
@@ -0,0 +1,48 @@
+# Template file for 'librav1e'
+pkgname=librav1e
+version=0.6.2
+revision=1
+build_helper="rust"
+hostmakedepends="cargo cargo-c nasm pkg-config"
+makedepends="rust"
+short_desc="AV1 video encoder suitable for cases where libaom is too slow"
+maintainer="Eugen Zagorodniy <zag@disroot.org>"
+license=BSD-2-Clause
+homepage="https://github.com/xiph/rav1e"
+distfiles="https://github.com/xiph/rav1e/archive/refs/tags/v${version}.tar.gz"
+checksum=8fe8d80bc80a05ee33113c0ee19779d9c57189e5434c8e1da8f67832461aa089
+
+do_build() {
+ cargo cbuild --release --target ${RUST_TARGET} --destdir ${DESTDIR} --prefix usr
+ cargo auditable build --release --target ${RUST_TARGET}
+}
+
+do_check() {
+ cargo ctest --target ${RUST_TARGET}
+}
+
+do_install() {
+ vlicense LICENSE
+ cargo cinstall --release --target=${RUST_TARGET} --destdir ${DESTDIR} --prefix usr
+}
+
+librav1e-devel_package() {
+ depends="librav1e>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/lib/pkgconfig
+ }
+}
+
+rav1e_package() {
+ short_desc+=" - standalone binary"
+ pkg_check() {
+ cargo auditable test --release --target ${RUST_TARGET}
+ }
+ pkg_install() {
+ vbin target/${RUST_TARGET}/release/rav1e
+ }
+}
diff --git a/srcpkgs/rav1e b/srcpkgs/rav1e
new file mode 120000
index 000000000000..45cbadcee218
--- /dev/null
+++ b/srcpkgs/rav1e
@@ -0,0 +1 @@
+librav1e
\ No newline at end of file
From 6091e5db1c0e0afcf265d1f5f0fd8bd326fd723e Mon Sep 17 00:00:00 2001
From: Eugen Zagorodniy <zag@disroot.org>
Date: Mon, 9 Jan 2023 07:54:27 +0200
Subject: [PATCH 2/2] New package: cargo-c-0.9.14
---
srcpkgs/cargo-c/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/cargo-c/template
diff --git a/srcpkgs/cargo-c/template b/srcpkgs/cargo-c/template
new file mode 100644
index 000000000000..8df5265c5ce8
--- /dev/null
+++ b/srcpkgs/cargo-c/template
@@ -0,0 +1,17 @@
+# Template file for 'cargo-c'
+pkgname=cargo-c
+version=0.9.14
+revision=1
+build_style="cargo"
+hostmakedepends="cargo pkg-config"
+makedepends="openssl-devel"
+short_desc="Cargo applet to build and install C-ABI compatible libraries"
+maintainer="Eugen Zagorodniy <zag@disroot.org>"
+license=MIT
+homepage="https://github.com/lu-zero/cargo-c"
+distfiles="https://github.com/lu-zero/cargo-c/archive/refs/tags/v${version}.tar.gz"
+checksum=d79c12eae1460803a1ce8b440ae213dc4df63a6f2bf39ebd49eea1d7a008bec6
+
+do_post_install() {
+ vlicense LICENSE
+}
next prev parent reply other threads:[~2023-01-09 7:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-08 21:20 [PR PATCH] " ezag
2023-01-08 21:37 ` [PR PATCH] [Updated] " ezag
2023-01-08 23:08 ` [PR REVIEW] " classabbyamp
2023-01-09 3:49 ` [PR PATCH] [Updated] " ezag
2023-01-09 4:20 ` ezag
2023-01-09 4:50 ` ezag
2023-01-09 7:13 ` ezag
2023-01-09 7:20 ` ezag [this message]
2023-01-09 7:37 ` ezag
2023-01-09 8:45 ` ezag
2023-01-09 9:35 ` ezag
2023-04-10 1:50 ` github-actions
2023-04-10 6:32 ` nekopsykose
2023-04-11 18:53 ` ezag
2023-04-11 18:53 ` [PR PATCH] [Closed]: " ezag
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=20230109072006.KjGJ6FLHc0A_3L7h2lP4fNZ010iZyo0MlfdsTTUkCYU@z \
--to=ezag@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).