Browse Source

libebml: update to 1.4.2

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 <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
7888403545
1 changed files with 6 additions and 7 deletions
  1. +6
    -7
      libs/libebml/Makefile

+ 6
- 7
libs/libebml/Makefile View File

@ -6,12 +6,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=libebml PKG_NAME:=libebml
PKG_VERSION:=1.4.0
PKG_RELEASE:=1
PKG_VERSION:=1.4.2
PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/Matroska-Org/libebml/tar.gz/release-$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/Matroska-Org/libebml/tar.gz/release-$(PKG_VERSION)?
PKG_HASH:=5ad468d78d21dfcde2901320faad4122ade2a12ecb65ce557b5e15d46671cceb
PKG_HASH:=66486742fd4f443553ad1917505208404c8c4240c0ab26cedaf41d9476efc665
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-release-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-release-$(PKG_VERSION)
PKG_MAINTAINER:= PKG_MAINTAINER:=
@ -19,10 +19,9 @@ PKG_LICENSE:=LGPL-2.1-or-later
PKG_LICENSE_FILES:=LICENSE.LGPL PKG_LICENSE_FILES:=LICENSE.LGPL
CMAKE_INSTALL:=1 CMAKE_INSTALL:=1
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
include ../../devel/ninja/ninja-cmake.mk
define Package/libebml define Package/libebml
SECTION:=libs SECTION:=libs
@ -39,11 +38,11 @@ define Package/libebml/description
endef endef
CMAKE_OPTIONS += \ CMAKE_OPTIONS += \
-DCMAKE_LINK_WHAT_YOU_USE=ON \
-DDISABLE_PKGCONFIG=OFF \ -DDISABLE_PKGCONFIG=OFF \
-DDISABLE_CMAKE_CONFIG=OFF \ -DDISABLE_CMAKE_CONFIG=OFF \
-DENABLE_WIN32_IO=OFF -DENABLE_WIN32_IO=OFF
TARGET_CFLAGS += -flto
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
TARGET_LDFLAGS += -Wl,--gc-sections
$(eval $(call BuildPackage,libebml)) $(eval $(call BuildPackage,libebml))

Loading…
Cancel
Save