summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Seitter <adk@seitter.net>2020-04-29 22:17:57 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-05-05 09:22:52 +0200
commit507595deb18ca860cef50966f0118fa57cfadd64 (patch)
tree3ee5260d2056dff96cc28a42fc3a6593c4339c03
parenteb9bda562b7d43853f30aa8a5c5d7cbe20926ec3 (diff)
new package shairport-sync
Signed-off-by: Joerg Seitter <adk@seitter.net>
-rw-r--r--package/shairport-sync/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/package/shairport-sync/Makefile b/package/shairport-sync/Makefile
new file mode 100644
index 000000000..d9279f0dc
--- /dev/null
+++ b/package/shairport-sync/Makefile
@@ -0,0 +1,40 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= shairport-sync
+PKG_VERSION:= 3.3.6
+PKG_RELEASE:= 1
+PKG_GIT:= tag
+PKG_DESCR:= airplay daemon
+PKG_SECTION:= mm/audio
+PKG_DEPENDS:= libressl popt libdaemon libconfig jack mosquitto
+PKG_BUILDDEP:= libressl popt libdaemon libconfig jack mosquitto
+PKG_URL:= https://github.com/mikebrady/shairport-sync
+PKG_SITES:= https://github.com/mikebrady/shairport-sync.git
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,SHAIRPORT_SYNC,shairport-sync,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+AUTOTOOL_STYLE:= autoreconf
+CONFIGURE_ARGS+= --with-pkg-config \
+ --without-systemv \
+ --without-systemd \
+ --with-libdaemon \
+ --disable-avahi \
+ --with-tinysvcmdns \
+ --with-alsa \
+ --with-jack \
+ --with-mqtt-client \
+ -with-ssl=openssl
+
+shairport-sync-install:
+ $(INSTALL_DIR) $(IDIR_SHAIRPORT_SYNC)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/shairport-sync \
+ $(IDIR_SHAIRPORT_SYNC)/usr/bin
+ $(INSTALL_DATA) $(WRKINST)/etc/shairport-sync.conf \
+ $(IDIR_SHAIRPORT_SYNC)/etc/shairport-sync.conf
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk