e2fa32a26b
lxqt-config-0.17.1 / 2021-04-16 =============================== - Fixed compilation against Qt 5.12. lxqt-config-0.17.0 / 2021-04-15 =============================== - Made lxqt-config-appearance work under Wayland. - Made the code cleaner and more up-to-date.
62 lines
1.7 KiB
Makefile
62 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.13 2021/04/20 18:41:57 pin Exp $
|
|
|
|
DISTNAME= lxqt-config-0.17.1
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=lxqt/}
|
|
GITHUB_RELEASE= ${PKGVERSION_NOREV}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/lxqt/lxqt-config/
|
|
COMMENT= System configuration control center
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
USE_CMAKE= yes
|
|
USE_TOOLS+= pkg-config perl
|
|
USE_LANGUAGES= c c++
|
|
|
|
CONFIGURE_DIRS= build
|
|
CMAKE_ARG_PATH= ..
|
|
|
|
MENUS_CONF= share/examples/menus
|
|
PKG_SYSCONFSUBDIR= xdg
|
|
MAKE_DIRS= ${PKG_SYSCONFDIR}/menus
|
|
|
|
CONF_FILES+= ${MENUS_CONF}/lxqt-config.menu \
|
|
${PKG_SYSCONFDIR}/menus/lxqt-config.menu
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if ${OPSYS} != "Linux"
|
|
CMAKE_ARGS+= -DWITH_INPUT=OFF
|
|
.endif
|
|
|
|
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/lxqt-config \
|
|
-L${PREFIX}/lib/lxqt-config/
|
|
|
|
# NetBSD base X11 places xkb config files in a non-standard location
|
|
.if ${OPSYS} == "NetBSD" && ${X11_TYPE} != "modular"
|
|
XKBSUB= lib
|
|
.else
|
|
XKBSUB= share
|
|
.endif
|
|
|
|
SUBST_CLASSES+= prefix
|
|
SUBST_MESSAGE.prefix= Fixing paths.
|
|
SUBST_STAGE.prefix= pre-configure
|
|
SUBST_FILES.prefix= lxqt-config-input/keyboardlayoutconfig.h
|
|
SUBST_VARS.prefix= X11BASE
|
|
SUBST_VARS.prefix+= XKBSUB
|
|
|
|
pre-configure:
|
|
${MKDIR} -p ${WRKSRC}/build
|
|
|
|
TOOL_DEPENDS+= lxqt-build-tools>=0.9:../../devel/lxqt-build-tools
|
|
TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
|
|
DEPENDS+= lxqt-themes-[0-9]*:../../graphics/lxqt-themes
|
|
|
|
.include "../../x11/qt5-qtsvg/buildlink3.mk"
|
|
.include "../../x11/libXcursor/buildlink3.mk"
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
.include "../../x11/liblxqt/buildlink3.mk"
|
|
.include "../../x11/libkscreen/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|