From 310d2fb69d6d80e2091b93669420fe4b742aea0f Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Wed, 22 Oct 2014 23:12:54 +0200 Subject: [PATCH] forked-daapd: fix libevent dependency problem MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Switch to libevent2 which also enables configuring LastFM and removing special linker flags for libevent1 Signed-off-by: Espen Jürgensen --- sound/forked-daapd/Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/sound/forked-daapd/Makefile b/sound/forked-daapd/Makefile index e7319e9aeb..5f94b07152 100644 --- a/sound/forked-daapd/Makefile +++ b/sound/forked-daapd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=forked-daapd PKG_VERSION:=22.0 -PKG_RELEASE:=20141016 +PKG_RELEASE:=20141022 PKG_REV:=61a4da215c05b621951aa3903d7d390fd1839537 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 @@ -35,8 +35,8 @@ CATEGORY:=Sound TITLE:=Improved iTunes (DAAP) server. Support for Apple Remote and AirPlay. URL:=https://github.com/ejurgensen/forked-daapd DEPENDS:=+libgpg-error +libgcrypt +libgdbm +zlib +libexpat +libunistring \ - +libevent +libdaemon +libantlr3c +confuse +glib2 +alsa-lib +libffmpeg-full \ - +mxml +libavl +avahi-daemon +libavahi-client +sqlite3-cli +libplist + +libevent2 +libdaemon +libantlr3c +confuse +glib2 +alsa-lib +libffmpeg-full \ + +mxml +libavl +avahi-daemon +libavahi-client +sqlite3-cli +libplist +libcurl endef define Package/forked-daapd/conffiles @@ -44,11 +44,8 @@ define Package/forked-daapd/conffiles endef CONFIGURE_ARGS += \ - --enable-itunes - -# Fix for libevent -TARGET_CPPFLAGS += -I$(STAGING_DIR)/usr/include/libevent -TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib/libevent + --enable-itunes \ + --enable-lastfm TARGET_CFLAGS += $(FPIC) TARGET_LDFLAGS += -Wl,-rpath-link,$(STAGING_DIR)/usr/lib -- 2.30.2