mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
The MPD project dropped autotools support in version 0.21.x in favor of
meson. While adapting the package to the meson build infrastructure, the
recognition of libid3tag failed, as only pkg-config is used to detect
the library. Note, that the version bump of the mpd package to 0.21.x is
not submitted, yet.
To help finding the build system to detect libid3tag with pkg-config
properly, add a .pc file and install it to staging.
This is exactly what Debian and Fedora do as well.
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
(cherry picked from commit d6b68e6b6a)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
26 lines
836 B
Makefile
26 lines
836 B
Makefile
################################################################################
|
|
#
|
|
# libid3tag
|
|
#
|
|
################################################################################
|
|
|
|
LIBID3TAG_VERSION = 0.15.1b
|
|
LIBID3TAG_SITE = http://downloads.sourceforge.net/project/mad/libid3tag/$(LIBID3TAG_VERSION)
|
|
LIBID3TAG_LICENSE = GPL-2.0+
|
|
LIBID3TAG_LICENSE_FILES = COPYING COPYRIGHT
|
|
LIBID3TAG_INSTALL_STAGING = YES
|
|
LIBID3TAG_DEPENDENCIES = zlib
|
|
|
|
# Force autoreconf to be able to use a more recent libtool script, that
|
|
# is able to properly behave in the face of a missing C++ compiler.
|
|
LIBID3TAG_AUTORECONF = YES
|
|
|
|
define LIBID3TAG_INSTALL_STAGING_PC
|
|
$(INSTALL) -D package/libid3tag/id3tag.pc \
|
|
$(STAGING_DIR)/usr/lib/pkgconfig/id3tag.pc
|
|
endef
|
|
|
|
LIBID3TAG_POST_INSTALL_STAGING_HOOKS += LIBID3TAG_INSTALL_STAGING_PC
|
|
|
|
$(eval $(autotools-package))
|