Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: librav1e-0.6.2
@ 2023-01-08 21:20 ezag
  2023-01-08 21:37 ` [PR PATCH] [Updated] " ezag
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: ezag @ 2023-01-08 21:20 UTC (permalink / raw)
  To: ml

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

There is a new 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: 2169 bytes --]

From d9f89aca2575e24d5eff85707af46d21bbb71b2a Mon Sep 17 00:00:00 2001
From: Eugen Zagorodniy <zag@disroot.org>
Date: Sun, 8 Jan 2023 21:58:12 +0200
Subject: [PATCH] New package: librav1e-0.6.2

---
 common/shlibs             |  1 +
 srcpkgs/librav1e-devel    |  1 +
 srcpkgs/librav1e/template | 38 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 40 insertions(+)
 create mode 120000 srcpkgs/librav1e-devel
 create mode 100644 srcpkgs/librav1e/template

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..8e2d925a88d9
--- /dev/null
+++ b/srcpkgs/librav1e/template
@@ -0,0 +1,38 @@
+# Template file for 'librav1e'
+pkgname=librav1e
+version=0.6.2
+revision=1
+hostmakedepends="cargo nasm openssl-devel pkg-config"
+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 install cargo-c --version=0.9.14
+	cargo cbuild --release \
+		--target=${XBPS_RUST_TARGET} \
+		--destdir=${DESTDIR} \
+		--prefix=usr
+}
+
+do_install() {
+	vlicense LISENSE
+	cargo cinstall --release \
+		--target=${XBPS_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
+	}
+}

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

end of thread, other threads:[~2023-04-11 18:53 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-08 21:20 [PR PATCH] New package: librav1e-0.6.2 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
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

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