mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
Replaced install_prefix with DESTDIR in _INSTALL_TARGET_OPTS following
changes in upstream Makefiles, for example:
acb9dd88dc (diff-d56275146b88014f5017f78d3eb4ccdb545c8b82d94877b09ef33bac8f228414L13)
Build-tested using this defconfig
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE=y
BR2_PACKAGE_MESA3D_OPENGL_GLX=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_XSCREENSAVER=y
arm-aarch64 [ 1/32]: OK
bootlin-aarch64-glibc [ 2/32]: OK
bootlin-aarch64-glibc-old [ 3/32]: SKIPPED
bootlin-arcle-hs38-uclibc [ 4/32]: OK
bootlin-armv5-uclibc [ 5/32]: OK
bootlin-armv7-glibc [ 6/32]: OK
bootlin-armv7m-uclibc [ 7/32]: SKIPPED
bootlin-armv7-musl [ 8/32]: OK
bootlin-m68k-5208-uclibc [ 9/32]: SKIPPED
bootlin-m68k-68040-uclibc [10/32]: OK
bootlin-microblazeel-uclibc [11/32]: SKIPPED
bootlin-mips64el-glibc [12/32]: OK
bootlin-mipsel32r6-glibc [13/32]: OK
bootlin-mipsel-uclibc [14/32]: OK
bootlin-openrisc-uclibc [15/32]: OK
bootlin-powerpc64le-power8-glibc [16/32]: OK
bootlin-powerpc-e500mc-uclibc [17/32]: OK
bootlin-riscv32-glibc [18/32]: OK
bootlin-riscv64-glibc [19/32]: OK
bootlin-riscv64-musl [20/32]: OK
bootlin-s390x-z13-glibc [21/32]: OK
bootlin-sh4-uclibc [22/32]: OK
bootlin-sparc64-glibc [23/32]: OK
bootlin-sparc-uclibc [24/32]: SKIPPED
bootlin-x86-64-glibc [25/32]: OK
bootlin-x86-64-musl [26/32]: OK
bootlin-x86-64-uclibc [27/32]: OK
bootlin-x86-i686-musl [28/32]: OK
bootlin-xtensa-uclibc [29/32]: OK
br-arm-basic [30/32]: SKIPPED
br-arm-full-nothread [31/32]: SKIPPED
br-arm-full-static [32/32]: SKIPPED
32 builds, 8 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
84 lines
2.1 KiB
Makefile
84 lines
2.1 KiB
Makefile
################################################################################
|
|
#
|
|
# xscreensaver
|
|
#
|
|
################################################################################
|
|
|
|
XSCREENSAVER_VERSION = 6.14
|
|
XSCREENSAVER_SITE = https://www.jwz.org/xscreensaver
|
|
|
|
# N.B. GPL-2.0+ code (in the hacks/glx subdirectory) is not currently built.
|
|
XSCREENSAVER_LICENSE = MIT-like, GPL-2.0+
|
|
XSCREENSAVER_LICENSE_FILES = hacks/screenhack.h hacks/glx/chessmodels.h
|
|
XSCREENSAVER_CPE_ID_VALID = YES
|
|
XSCREENSAVER_SELINUX_MODULES = xdg xscreensaver xserver
|
|
|
|
define XSCREENSAVER_FIX_INCLUDE_GL
|
|
$(SED) 's%OpenGL/gl.h%GL/gl.h%' $(@D)/driver/subprocs.c
|
|
endef
|
|
XSCREENSAVER_POST_EXTRACT_HOOKS = XSCREENSAVER_FIX_INCLUDE_GL
|
|
|
|
XSCREENSAVER_DEPENDENCIES = \
|
|
gdk-pixbuf \
|
|
jpeg \
|
|
libgl \
|
|
libglu \
|
|
libgtk3 \
|
|
libxml2 \
|
|
xlib_libX11 \
|
|
xlib_libXft \
|
|
xlib_libXi \
|
|
xlib_libXt \
|
|
$(TARGET_NLS_DEPENDENCIES) \
|
|
host-intltool
|
|
|
|
# otherwise we end up with host include/library dirs passed to the
|
|
# compiler/linker
|
|
XSCREENSAVER_CONF_OPTS = \
|
|
--includedir=$(STAGING_DIR)/usr/include \
|
|
--libdir=$(STAGING_DIR)/usr/lib \
|
|
--with-gl=yes
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
|
XSCREENSAVER_CONF_OPTS += --with-png=yes
|
|
XSCREENSAVER_DEPENDENCIES += libpng
|
|
else
|
|
XSCREENSAVER_CONF_OPTS += --with-png=no
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
|
|
XSCREENSAVER_DEPENDENCIES += libxcrypt
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
|
XSCREENSAVER_CONF_OPTS += --with-systemd=yes
|
|
XSCREENSAVER_DEPENDENCIES += systemd
|
|
else
|
|
XSCREENSAVER_CONF_OPTS += --with-systemd=no
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
|
|
XSCREENSAVER_CONF_OPTS += --with-xinerama-ext=yes
|
|
XSCREENSAVER_DEPENDENCIES += xlib_libXinerama
|
|
else
|
|
XSCREENSAVER_CONF_OPTS += --with-xinerama-ext=no
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
|
|
XSCREENSAVER_CONF_OPTS += --with-randr-ext=yes
|
|
XSCREENSAVER_DEPENDENCIES += xlib_libXrandr
|
|
else
|
|
XSCREENSAVER_CONF_OPTS += --with-randr-ext=no
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y)
|
|
XSCREENSAVER_CONF_OPTS += --with-xf86vmode-ext=yes
|
|
XSCREENSAVER_DEPENDENCIES += xlib_libXxf86vm
|
|
else
|
|
XSCREENSAVER_CONF_OPTS += --with-xf86vmode-ext=no
|
|
endif
|
|
|
|
XSCREENSAVER_INSTALL_TARGET_OPTS = DESTDIR="$(TARGET_DIR)" install
|
|
|
|
$(eval $(autotools-package))
|