Browse Source

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>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
c75fe2fd0f
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 9 additions and 6 deletions
  1. +9
    -6
      libs/libogg/Makefile

+ 9
- 6
libs/libogg/Makefile View File

@ -8,20 +8,20 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=libogg PKG_NAME:=libogg
PKG_VERSION:=1.3.3
PKG_VERSION:=1.3.4
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://downloads.xiph.org/releases/ogg/ 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:=BSD-3-Clause
PKG_LICENSE_FILES:=COPYING PKG_LICENSE_FILES:=COPYING
PKG_FIXUP:=autoreconf PKG_FIXUP:=autoreconf
PKG_INSTALL:=1 PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -29,7 +29,8 @@ define Package/libogg
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
TITLE:=libogg TITLE:=libogg
URL:=http://xiph.org/ogg/
URL:=https://xiph.org/ogg/
ABI_VERSION:=0
endef endef
define Package/libogg/description define Package/libogg/description
@ -40,6 +41,8 @@ possible, as well as mixing several sepearate, concurrent media
streams into a single physical bitstream. streams into a single physical bitstream.
endef endef
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/ogg/ $(INSTALL_DIR) $(1)/usr/include/ogg/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/ogg/* $(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 define Package/libogg/install
$(INSTALL_DIR) $(1)/usr/lib/ $(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 endef
$(eval $(call BuildPackage,libogg)) $(eval $(call BuildPackage,libogg))

Loading…
Cancel
Save