From c75fe2fd0f19a7ffaad0685faef4fee021b46a3b Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 12 Sep 2019 12:40:05 -0700 Subject: [PATCH] libogg: Update to 1.3.4 Added PKG_BUILD_PARALLEL for faster compilation. Added ABI_VERSION to force rebuilds on ABI upgrade. Added a couple of LDFLAGS for smaller size. Signed-off-by: Rosen Penev --- libs/libogg/Makefile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/libs/libogg/Makefile b/libs/libogg/Makefile index cc363e0515..91dfe8e1c3 100644 --- a/libs/libogg/Makefile +++ b/libs/libogg/Makefile @@ -8,20 +8,20 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libogg -PKG_VERSION:=1.3.3 +PKG_VERSION:=1.3.4 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://downloads.xiph.org/releases/ogg/ -PKG_HASH:=4f3fc6178a533d392064f14776b23c397ed4b9f48f5de297aba73b643f955c08 -PKG_MAINTAINER:=Ted Hess +PKG_HASH:=c163bc12bc300c401b6aa35907ac682671ea376f13ae0969a220f7ddf71893fe +PKG_MAINTAINER:=Ted Hess PKG_LICENSE:=BSD-3-Clause PKG_LICENSE_FILES:=COPYING PKG_FIXUP:=autoreconf - PKG_INSTALL:=1 +PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk @@ -29,7 +29,8 @@ define Package/libogg SECTION:=libs CATEGORY:=Libraries TITLE:=libogg - URL:=http://xiph.org/ogg/ + URL:=https://xiph.org/ogg/ + ABI_VERSION:=0 endef define Package/libogg/description @@ -40,6 +41,8 @@ possible, as well as mixing several sepearate, concurrent media streams into a single physical bitstream. endef +TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include/ogg/ $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/ogg/* $(1)/usr/include/ogg/ @@ -53,7 +56,7 @@ endef define Package/libogg/install $(INSTALL_DIR) $(1)/usr/lib/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so.* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libogg.so.* $(1)/usr/lib/ endef $(eval $(call BuildPackage,libogg)) -- 2.30.2