From: Alexandru Ardelean Date: Sun, 9 Aug 2026 17:59:24 +0000 (+0300) Subject: libmpc: update to 1.4.1 and drop only-src patch X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=2b4556e32ecc2ca53e31db1e7f552db7f860a818;p=openwrt-packages.git libmpc: update to 1.4.1 and drop only-src patch 1.4.1 ships as a .tar.xz (the .tar.gz is gone), so switch PKG_SOURCE to .tar.xz; the @GNU mirror still serves it. Replace 001-only-src.patch (SUBDIRS = src) with PKG_SUBDIRS:=src so tests/doc/tools stay unbuilt. Signed-off-by: Alexandru Ardelean --- diff --git a/libs/libmpc/Makefile b/libs/libmpc/Makefile index 2381d8f91..7cef09d71 100644 --- a/libs/libmpc/Makefile +++ b/libs/libmpc/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mpc -PKG_VERSION:=1.3.1 +PKG_VERSION:=1.4.1 PKG_RELEASE:=1 PKG_SOURCE_URL:=@GNU/mpc/ -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_HASH:=ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_HASH:=91204cd32f164bd3b7c992d4a6a8ce6519511aadab30f78b6982d0bf8d73e931 PKG_LICENSE:=LGPL-3.0-or-later PKG_LICENSE_FILES:=COPYING.LESSER @@ -22,6 +22,8 @@ PKG_MAINTAINER:=Alexandru Ardelean PKG_BUILD_PARALLEL:=1 PKG_FIXUP:=autoreconf PKG_INSTALL:=1 +# Build/install only the library; skip the tests, doc and tools subdirs. +PKG_SUBDIRS:=src include $(INCLUDE_DIR)/package.mk diff --git a/libs/libmpc/patches/001-only-src.patch b/libs/libmpc/patches/001-only-src.patch deleted file mode 100644 index 8201ec7b0..000000000 --- a/libs/libmpc/patches/001-only-src.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/Makefile.am -+++ b/Makefile.am -@@ -23,7 +23,7 @@ ACLOCAL_AMFLAGS = -I m4 - # VERSION = @VERSION@@GITVERSION@ # for development version - VERSION = @VERSION@ - --SUBDIRS = src tests doc tools -+SUBDIRS = src - - EXTRA_HEADERS = src/mpc-log.h - include_HEADERS = src/mpc.h @MPC_LOG_H@ ---- a/Makefile.in -+++ b/Makefile.in -@@ -376,7 +376,7 @@ top_build_prefix = @top_build_prefix@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ - ACLOCAL_AMFLAGS = -I m4 --SUBDIRS = src tests doc tools -+SUBDIRS = src - EXTRA_HEADERS = src/mpc-log.h - include_HEADERS = src/mpc.h @MPC_LOG_H@ - EXTRA_DIST = doc/fdl-1.3.texi src/mpc-log.h