From: archfan <archfan@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] sndio: update to 1.7.0
Date: Mon, 31 Aug 2020 22:44:08 +0200 [thread overview]
Message-ID: <20200831204408.YvS0ojeutOgb2IS5qgXOUrGxgVYob6EuAuWB-8AByrA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24581@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 529 bytes --]
There is an updated pull request by archfan against master on the void-packages repository
https://github.com/archfan/void-packages sndio-test
https://github.com/void-linux/void-packages/pull/24581
sndio: update to 1.7.0
I've updated SNDIO to version 1.7.0 and enabled libbsd as it uses more recent libraries compared to bsd-compat/* from sndio.
common/shlibs has been updated so a few packages have to be recompiled as well.
A patch file from https://github.com/void-linux/void-packages/pull/24581.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sndio-test-24581.patch --]
[-- Type: text/x-diff, Size: 2441 bytes --]
From 827a9a41007b52e8e26f0155ac704ef875090cfa Mon Sep 17 00:00:00 2001
From: archfan <ad-min@mailbox.org>
Date: Mon, 31 Aug 2020 22:41:46 +0200
Subject: [PATCH] sndio: update to 1.7.0
---
common/shlibs | 2 +-
srcpkgs/sndio/template | 29 +++++++++++++++++++++++------
2 files changed, 24 insertions(+), 7 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index 1c86f7f7774..5815d10e2a1 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2176,7 +2176,7 @@ libKF5CddbWidgets.so.5 libkcddb-17.08.2_1
libKF5Cddb.so.5 libkcddb-17.08.2_1
libk3bdevice.so.7 k3b-17.08.2_1
libk3blib.so.7 k3b-17.08.2_1
-libsndio.so.7.0 libsndio-1.4.0_1
+libsndio.so.7 libsndio-1.7.0_1
libopenconnect.so.5 openconnect-7.05_1
libusbredirparser.so.1 usbredir-0.7_1
libusbredirhost.so.1 usbredir-0.7_1
diff --git a/srcpkgs/sndio/template b/srcpkgs/sndio/template
index ae62ca79304..4b5b4d77d9f 100644
--- a/srcpkgs/sndio/template
+++ b/srcpkgs/sndio/template
@@ -1,26 +1,43 @@
# Template file for 'sndio'
pkgname=sndio
-version=1.6.0
+version=1.7.0
revision=1
build_style=configure
-configure_args="--prefix=/usr"
+configure_args="--prefix=/usr --enable-alsa"
makedepends="alsa-lib-devel"
short_desc="Small audio and MIDI framework part of the OpenBSD project"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="archfan <ad-min@mailbox.org>"
license="ISC"
+homepage="http://www.sndio.org/"
+distfiles="http://www.sndio.org/${pkgname}-${version}.tar.gz"
+checksum=dda4e3d0879423ed57923975ba74668cbb9299939cad579b0ac64a4b01535552
system_accounts="sndiod"
sndiod_descr="sndio daemon"
sndiod_pgroup="audio"
-homepage="http://www.sndio.org/"
-distfiles="http://www.sndio.org/${pkgname}-${version}.tar.gz"
-checksum=99e0064ac11aceab24c73ed4630a31de401ff2f37689565b7b375682476f5bc1
+
+post_extract() {
+ # remove minor version from SONAME to avoid rebuilding
+ # packages, the minor version just added new symbols.
+ vsed -e '/-soname=/s/\.\\${MIN}//' -i configure
+}
post_install() {
vsv sndiod
sed -n '/Copyright/,/PERFORMANCE/p' <sndiod/sndiod.c >LICENSE
vlicense LICENSE
+
+ # compatibility symlink, needed until the libsndio.so.7
+ # SONAME is used by everything.
+ ln -sf libsndio.so.7.1 libsndio.so.7.0
+ vcopy libsndio.so.7.0 usr/lib
+
+ # MAJOR SONAME to avoid rebuilds
+ ln -sf libsndio.so.7.1 libsndio.so.7
+ vcopy libsndio.so.7 usr/lib
+
}
+
libsndio_package() {
short_desc+=" -- library"
pkg_install() {
next prev parent reply other threads:[~2020-08-31 20:44 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-31 19:32 [PR PATCH] " archfan
2020-08-31 19:39 ` ericonr
2020-08-31 19:40 ` ericonr
2020-08-31 19:45 ` [PR PATCH] [Updated] " archfan
2020-08-31 19:48 ` archfan
2020-08-31 19:48 ` ericonr
2020-08-31 19:49 ` archfan
2020-08-31 19:50 ` ericonr
2020-08-31 20:00 ` [PR PATCH] [Updated] " archfan
2020-08-31 20:09 ` Duncaen
2020-08-31 20:10 ` Duncaen
2020-08-31 20:11 ` archfan
2020-08-31 20:12 ` Duncaen
2020-08-31 20:13 ` archfan
2020-08-31 20:22 ` Duncaen
2020-08-31 20:26 ` [PR PATCH] [Updated] " archfan
2020-08-31 20:38 ` [PR PATCH] [Closed]: " archfan
2020-08-31 20:38 ` [PR PATCH] [Updated] " archfan
2020-08-31 20:44 ` archfan [this message]
2020-08-31 20:44 ` archfan
2020-08-31 20:46 ` Duncaen
2020-08-31 20:46 ` Duncaen
2020-08-31 20:49 ` Duncaen
2020-09-02 15:05 ` [PR PATCH] [Closed]: " Duncaen
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=20200831204408.YvS0ojeutOgb2IS5qgXOUrGxgVYob6EuAuWB-8AByrA@z \
--to=archfan@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).