esound: fix build after update of audiofile

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Andreas Müller
2016-12-16 14:23:37 +01:00
committed by Martin Jansa
parent 58fbe56044
commit a21cdb62c6
2 changed files with 38 additions and 4 deletions

View File

@@ -0,0 +1,31 @@
From 218e0702d6ce4d2cb20d5d108daa16afca2b7c41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Fri, 16 Dec 2016 13:22:51 +0100
Subject: [PATCH] replace missing AM_PATH_AUDIOFILE by PKG_CHECK_MODULES(
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstrem-Status: Pending
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 486c492..dccfd1b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -353,7 +353,7 @@ echo "---------------------------------------------------------------------"
echo "--- Checking for the audiofile library. NOTE: This library is now"
echo "--- REQUIRED from proper compilation of the esound package."
-AM_PATH_AUDIOFILE(0.1.5, [
+PKG_CHECK_MODULES(AUDIOFILE, audiofile, [
build_esdplay=true
echo "--- libaudiofile found. Building esound with audiofile support"
--
2.7.4

View File

@@ -8,10 +8,13 @@ inherit gnome binconfig
PR = "r1"
SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/esound/0.2/esound-0.2.36.tar.bz2;name=archive \
file://esound_0.2.36-1ubuntu5.diff.gz \
file://no-docs.patch \
file://configure-fix.patch"
SRC_URI = " \
ftp://ftp.gnome.org/pub/GNOME/sources/esound/0.2/esound-0.2.36.tar.bz2;name=archive \
file://esound_0.2.36-1ubuntu5.diff.gz \
file://no-docs.patch \
file://configure-fix.patch \
file://0001-replace-missing-AM_PATH_AUDIOFILE-by-PKG_CHECK_MODUL.patch \
"
SRC_URI[archive.md5sum] = "3facb5aa0115cc1c31771b9ad454ae76"
SRC_URI[archive.sha256sum] = "68bf399fcbd45c5e9ba99cd13a3a479e4ef2bc5dc52e540ffa00aef1e1b19a76"