From 1e7b9dbc9e02ed572f80300c5ca46b9498a20d8d220c96eaf2619fc5f08209b1 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 19 Dec 2019 15:41:29 +0000 Subject: [PATCH] Update to version 0.2.0 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/rav1e?expand=0&rev=6 --- rav1e-0.1.0-build_nasm_debug.patch | 74 ------------------------------ rav1e-0.1.0.tar.gz | 3 -- rav1e-0.2.0.tar.gz | 3 ++ rav1e.changes | 7 +++ rav1e.spec | 7 +-- vendor.tar.xz | 4 +- 6 files changed, 14 insertions(+), 84 deletions(-) delete mode 100644 rav1e-0.1.0-build_nasm_debug.patch delete mode 100644 rav1e-0.1.0.tar.gz create mode 100644 rav1e-0.2.0.tar.gz diff --git a/rav1e-0.1.0-build_nasm_debug.patch b/rav1e-0.1.0-build_nasm_debug.patch deleted file mode 100644 index b336031..0000000 --- a/rav1e-0.1.0-build_nasm_debug.patch +++ /dev/null @@ -1,74 +0,0 @@ -From 8a04e0f27552adeef428d8abe688c4490e6f663c Mon Sep 17 00:00:00 2001 -From: Luca Barbato -Date: Tue, 10 Dec 2019 11:44:19 +0100 -Subject: [PATCH] nasm_rs: Force the dwarf debug for elf targets - ---- - crates/nasm_rs/src/lib.rs | 27 ++++++++++++++------------- - 1 file changed, 14 insertions(+), 13 deletions(-) - -diff --git a/crates/nasm_rs/src/lib.rs b/crates/nasm_rs/src/lib.rs -index eb032a0a0..c48a84efc 100644 ---- a/crates/nasm_rs/src/lib.rs -+++ b/crates/nasm_rs/src/lib.rs -@@ -9,35 +9,35 @@ use std::path::{Path, PathBuf}; - use std::process::Command; - use std::process::Stdio; - --fn x86_triple(os: &str) -> &'static str { -+fn x86_triple(os: &str) -> (&'static str, &'static str) { - match os { -- "darwin" => "-fmacho32", -- "windows" => "-fwin32", -- _ => "-felf32", -+ "darwin" => ("-fmacho32", "-g"), -+ "windows" => ("-fwin32", "-g"), -+ _ => ("-felf32", "-gdwarf"), - } - } - --fn x86_64_triple(os: &str) -> &'static str { -+fn x86_64_triple(os: &str) -> (&'static str, &'static str) { - match os { -- "darwin" => "-fmacho64", -- "windows" => "-fwin64", -- _ => "-felf64", -+ "darwin" => ("-fmacho64", "-g"), -+ "windows" => ("-fwin64", "-g"), -+ _ => ("-felf64", "-gdwarf"), - } - } - --fn parse_triple(trip: &str) -> &'static str { -+fn parse_triple(trip: &str) -> (&'static str, &'static str) { - let parts = trip.split('-').collect::>(); - // ARCH-VENDOR-OS-ENVIRONMENT - // or ARCH-VENDOR-OS - // we don't care about environ so doesn't matter if triple doesn't have it - if parts.len() < 3 { -- return ""; -+ return ("", ""); - } - - match parts[0] { - "x86_64" => x86_64_triple(parts[2]), - "x86" | "i386" | "i586" | "i686" => x86_triple(parts[2]), -- _ => "", -+ _ => ("", ""), - } - } - -@@ -243,10 +243,11 @@ impl Build { - } - - fn get_args(&self, target: &str) -> Vec<&str> { -- let mut args = vec![parse_triple(&target)]; -+ let (arch_flag, debug_flag) = parse_triple(&target); -+ let mut args = vec![arch_flag]; - - if self.debug { -- args.push("-g"); -+ args.push(debug_flag); - } - - for arg in &self.flags { diff --git a/rav1e-0.1.0.tar.gz b/rav1e-0.1.0.tar.gz deleted file mode 100644 index 28d00db..0000000 --- a/rav1e-0.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:00395087eaba4778d17878924e007716e2f399116b8011bf057fd54cc528a6cb -size 637375 diff --git a/rav1e-0.2.0.tar.gz b/rav1e-0.2.0.tar.gz new file mode 100644 index 0000000..0fb8325 --- /dev/null +++ b/rav1e-0.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0fa8ee189f506c1a2dfd4b497ebb4e52739e850e1ecce7c02e6bc1073e63d66 +size 742651 diff --git a/rav1e.changes b/rav1e.changes index 0875ca3..4635f15 100644 --- a/rav1e.changes +++ b/rav1e.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Dec 19 15:26:33 UTC 2019 - Andreas Schneider + +- Update to version 0.2.0 + * https://github.com/xiph/rav1e/releases/tag/v0.2.0 +- Removed rav1e-0.1.0-build_nasm_debug.patch + ------------------------------------------------------------------- Mon Dec 9 22:54:35 UTC 2019 - Andreas Schneider diff --git a/rav1e.spec b/rav1e.spec index 393af46..4732fe0 100644 --- a/rav1e.spec +++ b/rav1e.spec @@ -16,20 +16,17 @@ # Name: rav1e -Version: 0.1.0 +Version: 0.2.0 Release: 0 Summary: Fastest and safest AV1 encoder Group: Productivity/Multimedia/Video/Editors and Convertors -# Upstream license specification: BSD-2-Clause License: BSD-2-Clause URL: https://github.com/xiph/rav1e # -Source0: https://github.com/xiph/rav1e/archive/%{version}/%{name}-%{version}.tar.gz +Source0: https://github.com/xiph/rav1e/archive/v%{version}/%{name}-%{version}.tar.gz Source1: vendor.tar.xz # -Patch0: rav1e-0.1.0-build_nasm_debug.patch -# BuildRequires: cargo-c BuildRequires: nasm BuildRequires: rust-packaging diff --git a/vendor.tar.xz b/vendor.tar.xz index 13d0f41..a91425c 100644 --- a/vendor.tar.xz +++ b/vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:adec5c0f6fa1bedc05a095e4283efc764dc8c8b5ff3580e4dc242b52380cf7a0 -size 9446460 +oid sha256:5c446a585fe4fadf0ea0d4d7ed462d42c533a48e1f11fdb4f9d3352019ffbd64 +size 9774492