Jan Alexander Steffens (heftig) pushed to branch main at Arch Linux / Packaging
/ Packages / tinycompress
Commits:
9cbdc8f1 by Jan Alexander Steffens (heftig) at 2024-10-05T06:04:55+02:00
1.2.11-3: ffmpeg rebuild
- - - - -
4 changed files:
- .SRCINFO
- .nvchecker.toml
- ffmpeg-7.patch → 0001-Fix-build-with-FFmpeg-7.patch
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = tinycompress
pkgdesc = ALSA compressed device interface
pkgver = 1.2.11
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/alsa-project/tinycompress
arch = x86_64
license = BSD-3-Clause OR LGPL-2.1-only
@@ -12,8 +12,8 @@ pkgbase = tinycompress
provides = libtinycompress.so
options = debug
source =
git+https://github.com/alsa-project/tinycompress#commit=e98e500873c9c4fdd752d1c85b6116da426a8a70
- source = ffmpeg-7.patch
+ source = 0001-Fix-build-with-FFmpeg-7.patch
b2sums =
e23df6e28228fc059613f182bf6d5c5edbd95932ccc6d36e7aefadaa7474f59a55dccb841d24c25453d416cbd31ffb3a1d651061b3441c21d813e7127fd451db
- b2sums =
83b55cabf2a0d2fe3f935c085a959f237fac0c9c1f652265a5132789b1a71c7e6ab740043721223480a62e99c231e4fa9c81fe91d68013f17fbb08b5d9741448
+ b2sums =
29ccd63a6c70397239ac7f9661c3b27256ae044b2de6458e55595886867300cd3c004bb9ba827a1304ba410dd3f5a869e8045755f7e9a04eebd34034bee2cd9a
pkgname = tinycompress
=====================================
.nvchecker.toml
=====================================
@@ -1,4 +1,5 @@
[tinycompress]
-source = "git"
-git = "https://github.com/alsa-project/tinycompress.git"
+source = "github"
+github = "alsa-project/tinycompress"
+use_max_tag = true
prefix = "v"
=====================================
ffmpeg-7.patch → 0001-Fix-build-with-FFmpeg-7.patch
=====================================
@@ -1,5 +1,14 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Antonio Rojas <[email protected]>
+Date: Sat, 25 May 2024 19:12:00 +0200
+Subject: [PATCH] Fix build with FFmpeg 7
+
+---
+ src/utils-lgpl/fcplay.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
diff --git a/src/utils-lgpl/fcplay.c b/src/utils-lgpl/fcplay.c
-index aff0915..eac0712 100644
+index aff091579d7d..eac0712b907c 100644
--- a/src/utils-lgpl/fcplay.c
+++ b/src/utils-lgpl/fcplay.c
@@ -240,8 +240,8 @@ static int parse_file(char *file, struct snd_codec *codec)
=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
pkgname=tinycompress
pkgver=1.2.11
-pkgrel=2
+pkgrel=3
pkgdesc="ALSA compressed device interface"
url="https://github.com/alsa-project/tinycompress"
arch=(x86_64)
@@ -16,10 +16,12 @@ optdepends=("ffmpeg: fcplay utility")
provides=(libtinycompress.so)
options=(debug)
_commit=e98e500873c9c4fdd752d1c85b6116da426a8a70 # tags/v1.2.11^0
-source=("git+$url#commit=$_commit"
- ffmpeg-7.patch)
+source=(
+ "git+$url#commit=$_commit"
+ 0001-Fix-build-with-FFmpeg-7.patch
+)
b2sums=('e23df6e28228fc059613f182bf6d5c5edbd95932ccc6d36e7aefadaa7474f59a55dccb841d24c25453d416cbd31ffb3a1d651061b3441c21d813e7127fd451db'
-
'83b55cabf2a0d2fe3f935c085a959f237fac0c9c1f652265a5132789b1a71c7e6ab740043721223480a62e99c231e4fa9c81fe91d68013f17fbb08b5d9741448')
+
'29ccd63a6c70397239ac7f9661c3b27256ae044b2de6458e55595886867300cd3c004bb9ba827a1304ba410dd3f5a869e8045755f7e9a04eebd34034bee2cd9a')
pkgver() {
cd tinycompress
@@ -30,8 +32,7 @@ prepare() {
mkdir -p build
cd tinycompress
-
- patch -p1 -i ../ffmpeg-7.patch # Fix build with ffmpeg 7
+ git apply -3 ../0001-Fix-build-with-FFmpeg-7.patch
./autogen.sh
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/tinycompress/-/commit/9cbdc8f1a618eac5f0e4259cd6c2ef577490dd8f
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/tinycompress/-/commit/9cbdc8f1a618eac5f0e4259cd6c2ef577490dd8f
You're receiving this email because of your account on gitlab.archlinux.org.