aboutsummaryrefslogtreecommitdiff
path: root/libs/libogg
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-09-12 12:40:05 -0700
committerRosen Penev <rosenp@gmail.com>2019-09-17 16:01:34 -0700
commitc75fe2fd0f19a7ffaad0685faef4fee021b46a3b (patch)
treedb1ad7e41bea2de94ab6497b4311cd06f9525a4a /libs/libogg
parent99d6731ed9fdb286c5cf42eeefae4bce560b0967 (diff)
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 <rosenp@gmail.com>
Diffstat (limited to 'libs/libogg')
-rw-r--r--libs/libogg/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/libs/libogg/Makefile b/libs/libogg/Makefile
index cc363e051..91dfe8e1c 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 <thess@kitschensync.net>
+PKG_HASH:=c163bc12bc300c401b6aa35907ac682671ea376f13ae0969a220f7ddf71893fe
+PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
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))