mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-12 06:43:43 +08:00
84a2645e5b
First, the .pc file was so far fixed as a post-configure hook of the matchbox-fakekey package, by directly tweaking the .pc file installed in staging by matchbox-lib. That's uterly wrong and bad. So, we move the fix to matchbox-lib. Second, it was incorreclty tweaking the .pc file when xlib_libXft was not enabled, because only then a path to staging was present. Third, even when xlib_libXft was enabled, the tweaking was still wrong, because unnecessary. Fix all that. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
24 lines
871 B
Makefile
24 lines
871 B
Makefile
################################################################################
|
|
#
|
|
# matchbox-fakekey
|
|
#
|
|
################################################################################
|
|
|
|
MATCHBOX_FAKEKEY_VERSION = 0.1
|
|
MATCHBOX_FAKEKEY_SOURCE = libfakekey-$(MATCHBOX_FAKEKEY_VERSION).tar.bz2
|
|
MATCHBOX_FAKEKEY_SITE = http://downloads.yoctoproject.org/releases/matchbox/libfakekey/$(MATCHBOX_FAKEKEY_VERSION)
|
|
MATCHBOX_FAKEKEY_LICENSE = GPL-2.0+
|
|
MATCHBOX_FAKEKEY_LICENSE_FILES = COPYING
|
|
MATCHBOX_FAKEKEY_INSTALL_STAGING = YES
|
|
MATCHBOX_FAKEKEY_DEPENDENCIES = matchbox-lib xlib_libXtst
|
|
MATCHBOX_FAKEKEY_CONF_OPTS = --enable-expat
|
|
|
|
define MATCHBOX_FAKEKEY_POST_CONFIGURE_FIXES
|
|
$(SED) 's:^SUBDIRS = fakekey src tests.*:SUBDIRS = fakekey src:g' \
|
|
$(@D)/Makefile
|
|
endef
|
|
|
|
MATCHBOX_FAKEKEY_POST_CONFIGURE_HOOKS += MATCHBOX_FAKEKEY_POST_CONFIGURE_FIXES
|
|
|
|
$(eval $(autotools-package))
|