mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
gerbera: use npupnp
This is on track to replace libupnp in the next version. Since libupnp is not building with GCC10, do this now. Also backported needed header patch. Replace other patches with the upstream versions. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=gerbera
|
||||
PKG_VERSION:=1.5.0
|
||||
PKG_RELEASE:=7
|
||||
PKG_RELEASE:=8
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/gerbera/gerbera/tar.gz/v$(PKG_VERSION)?
|
||||
@@ -29,7 +29,7 @@ include $(INCLUDE_DIR)/nls.mk
|
||||
define Package/gerbera
|
||||
SECTION:=multimedia
|
||||
CATEGORY:=Multimedia
|
||||
DEPENDS:=+file +libupnp +libsqlite3 +libexif +libuuid +libfmt $(ICONV_DEPENDS)
|
||||
DEPENDS:=+file +libnpupnp +libsqlite3 +libexif +libuuid +libfmt $(ICONV_DEPENDS)
|
||||
TITLE:=A free media server
|
||||
URL:=https://gerbera.io
|
||||
USERID:=gerbera:gerbera
|
||||
@@ -64,7 +64,11 @@ CMAKE_OPTIONS += \
|
||||
-DWITH_DEBUG=OFF \
|
||||
-DWITH_TESTS=OFF
|
||||
|
||||
TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto
|
||||
TARGET_CFLAGS += \
|
||||
-ffunction-sections \
|
||||
-fdata-sections \
|
||||
-flto \
|
||||
-I$(STAGING_DIR)/usr/include/npupnp/upnp
|
||||
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
|
||||
|
||||
define Package/gerbera/install
|
||||
|
||||
Reference in New Issue
Block a user