Browse Source

Merge pull request #8112 from neheb/sha

shairplay: Update to 2018-08-24
lilik-openwrt-22.03
Ted Hess 6 years ago
committed by GitHub
parent
commit
6adb419a25
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 21 deletions
  1. +10
    -10
      sound/shairplay/Makefile
  2. +0
    -11
      sound/shairplay/patches/002-libavahi-compat-dnssd.patch
  3. +26
    -0
      sound/shairplay/patches/010-configure-only-check-for-dns_sd.h-in-case-libdl-was-.patch

+ 10
- 10
sound/shairplay/Makefile View File

@ -8,21 +8,21 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=shairplay PKG_NAME:=shairplay
PKG_VERSION:=2016-01-01
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/juhovh/shairplay
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=ce80e005908f41d0e6fde1c4a21e9cb8ee54007b
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
PKG_MIRROR_HASH:=a77e42fcde7b0d023c94d748e62c100bb0bc06da2adc5d4aff19361e4f1a313d
PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
PKG_SOURCE_DATE:=2018-08-24
PKG_SOURCE_VERSION:=096b61ad14c90169f438e690d096e3fcf87e504e
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_DATE).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/juhovh/shairplay/tar.gz/$(PKG_SOURCE_VERSION)?
PKG_HASH:=7e2b013ffe75ea2f13fb12b1aa38b8e2e8b1899ac292d57f05d7b352a3a181cf
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_SOURCE_VERSION)
PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE PKG_LICENSE_FILES:=LICENSE
PKG_FIXUP:=autoreconf PKG_FIXUP:=autoreconf
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk


+ 0
- 11
sound/shairplay/patches/002-libavahi-compat-dnssd.patch View File

@ -1,11 +0,0 @@
--- a/src/lib/dnssd.c
+++ b/src/lib/dnssd.c
@@ -167,7 +167,7 @@ dnssd_init(int *error)
return NULL;
}
#elif USE_LIBDL
- dnssd->module = dlopen("libdns_sd.so", RTLD_LAZY);
+ dnssd->module = dlopen("libdns_sd.so.1", RTLD_LAZY);
if (!dnssd->module) {
if (error) *error = DNSSD_ERROR_LIBNOTFOUND;
free(dnssd);

+ 26
- 0
sound/shairplay/patches/010-configure-only-check-for-dns_sd.h-in-case-libdl-was-.patch View File

@ -0,0 +1,26 @@
From 031c3d802e51bbc233b1044f812402a66bfcf237 Mon Sep 17 00:00:00 2001
From: Memphiz <memphis@machzwo.de>
Date: Fri, 21 Dec 2018 20:39:11 +0100
Subject: [PATCH] [configure] - only check for dns_sd.h in case libdl was not
found
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 5a4b8ad..682d74b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,7 +19,7 @@ LT_LIB_DLLOAD
# Checks for header files.
AC_HEADER_STDC
-if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
+if test no = "$libltdl_cv_func_dlopen" && test no = "$libltdl_cv_lib_dl_dlopen"
then
AC_CHECK_HEADERS([dns_sd.h], [],
[AC_MSG_ERROR([Could not find dns_sd.h header, please install libavahi-compat-libdnssd-dev or equivalent.])])
--
2.17.1

Loading…
Cancel
Save