From 3074960bb61077361a01834cc41614340f3f5034 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 14 Mar 2021 14:46:03 -0700 Subject: [PATCH] libmatroska: update to 1.6.3 Switch to AUTORELEASE for simplicity. Switch to ninja for faster compilation. Remove LTO as it's broken on this package. Signed-off-by: Rosen Penev --- libs/libmatroska/Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/libs/libmatroska/Makefile b/libs/libmatroska/Makefile index bf830429b..f35bb0389 100644 --- a/libs/libmatroska/Makefile +++ b/libs/libmatroska/Makefile @@ -6,12 +6,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libmatroska -PKG_VERSION:=1.6.2 -PKG_RELEASE:=1 +PKG_VERSION:=1.6.3 +PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/Matroska-Org/libmatroska/tar.gz/release-$(PKG_VERSION)? -PKG_HASH:=62ff966c30c545450eefef49cf2774a1a281f25fb385c5b2ee4a603700ddf98a +PKG_HASH:=0c8c875ae26ac69a722f7fd0f4a4fecb4fdff681f2a165f09c06a40cbf1d0de6 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-release-$(PKG_VERSION) PKG_MAINTAINER:= @@ -19,11 +19,10 @@ PKG_LICENSE:=LGPL-2.1-or-later PKG_LICENSE_FILES:=LICENSE.LGPL CMAKE_INSTALL:=1 -PKG_BUILD_PARALLEL:=1 PKG_BUILD_DEPENDS:=libebml include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/cmake.mk +include ../../devel/ninja/ninja-cmake.mk define Package/libmatroska SECTION:=libs @@ -39,10 +38,10 @@ define Package/libmatroska/description endef CMAKE_OPTIONS += \ + -DCMAKE_LINK_WHAT_YOU_USE=ON \ -DDISABLE_PKGCONFIG=OFF \ -DDISABLE_CMAKE_CONFIG=OFF -TARGET_CFLAGS += -flto -TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed +TARGET_LDFLAGS += -Wl,--gc-sections $(eval $(call BuildPackage,libmatroska))