[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / lxqt-panel

File: [cvs.NetBSD.org] / pkgsrc / x11 / lxqt-panel / Makefile (download)

Revision 1.3, Mon Jun 1 12:24:06 2020 UTC (5 months, 4 weeks ago) by pin
Branch: MAIN
Changes since 1.2: +7 -6 lines

x11/lxqt-panel: update to 0.15.1

lxqt-panel-0.15.1 / 2020-05-20
==============================
  * Bumped version to 0.15.1.
  * Fixed a problem in keyboard indicator flag, that might cause a huge amount of error messages.
  * Let the panel be at virtual screen edges but not between screens.

lxqt-panel-0.15.0 / 2020-04-22
==============================
  * Bumped version to 0.15.0.
  * Fixed cut text in World Clock text.
  * Silenced some compiler warnings.
  * Show (the old) system tray icons in a predictable order and add a spacing between them.
  * Made showing of the week number optional in World Clock.
  * Fixed icons of applications like Skype, Doscord, etc. in Status Notifier.
  * Fixed possible abort on assert in WindowNotifier.
  * Don't include headers of plugins that aren't being built.
  * Fetch window icons in an appropriate size to avoid scaling in task bar.
  * Don't (possibly) block on initializing statusnotifier.
  * Avoid char raw strings literals memory allocations.
  * Don't use automatic string conversions.
  * Override the menu icon size only if a custom font size is selected.
  * Enhance service name registration in statusnotifier.
  * Fixed a crash in LXQtTaskButton under kwin_wayland.
  * Only show group popup on left clicking a grouping task button.
  * Added the option "Show only active desktop" to Desktop Switcher.
  * Better text eliding and painting of task buttons.
  * Smoother menu search.
  * Added an option to toggle volume notifications with keyboard.
  * Made quicklaunch respect Panel's lock state.
  * Added hints for Ctrl+DND to Quick Launch.
  * Cleanup and fixes for the taksbar code.
  * Release mouse after task button DND (to prevent them from remaining pressed after being dragged).
  * Reset panel style sheet before updating it (to update plugin handles with Qt  5.13 when panel orientation changes).
  * Removed press-and-hold popup menu from launchers in Quick Launch.
  * Check if panel is under mouse on auto-hiding.
  * Removed QDesktopWidget from panel.
  * Put panel only at an edge of virtual screen (to prevent it from being positioned at the middle of virtual screen).
  * Set the geometry of panel before showing it (because, otherwise. some WMs might not position the panel correctly).
  * Removed deprecated QImage method `byteCount()` and used `sizeInBytes()` instead.
  * Remove deprecated `trUtf8()` and used `tr()` instead.
  * Fixd eventFilter() logic in kbindicator.
  * Set alignment for layout button in kbindicator.
  * Add basic support for country flags to Keyboard status indicator.
  * Fixed high CPU usage of Desktop Switcher.
  * Added an option to Task Manager for moving window with mouse wheel.
  * Added a plugin to change display backlight.

# $NetBSD: Makefile,v 1.3 2020/06/01 12:24:06 pin Exp $

VERSION=	0.15.1
DISTNAME=	lxqt-panel-${VERSION}
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_GITHUB:=lxqt/lxqt-panel/releases/download/${VERSION}/}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/lxqt/lxqt-panel/
COMMENT=	Desktop panel
LICENSE=	gnu-lgpl-v2.1

USE_CMAKE=	yes
USE_TOOLS+=	pkg-config
USE_LANGUAGES=	c c++

CONFIGURE_DIRS=	build
CMAKE_ARG_PATH=	..

.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Linux"
CMAKE_ARGS+=	-DCPULOAD_PLUGIN=No
CMAKE_ARGS+=	-DKBINDICATOR_PLUGIN=No
CMAKE_ARGS+=	-DMOUNT_PLUGIN=No
CMAKE_ARGS+=	-DSENSORS_PLUGIN=No
CMAKE_ARGS+=	-DNETWORKMONITOR_PLUGIN=No
CMAKE_ARGS+=	-DSYSSTAT_PLUGIN=No
CMAKE_ARGS+=	-DVOLUME_USE_ALSA=No
CMAKE_ARGS+=	-DBACKLIGHT_PLUGIN=No
.endif

MENU_CONF=		share/examples/lxqt/xdg/menus
AUTOSTART_CONF=		share/examples/lxqt/xdg/autostart
PKG_SYSCONFSUBDIR=	xdg
MAKE_DIRS=		${PKG_SYSCONFDIR}/menus
MAKE_DIRS+=		${PKG_SYSCONFDIR}/autostart

SUBST_CLASSES+=		prefix
SUBST_MESSAGE.prefix=	Fixing paths.
SUBST_STAGE.prefix=	pre-configure
SUBST_FILES.prefix=	plugin-directorymenu/directorymenuconfiguration.cpp
SUBST_FILES.prefix+=	plugin-mainmenu/lxqtmainmenuconfiguration.cpp
SUBST_FILES.prefix+=	plugin-kbindicator/src/x11/kbdlayout.cpp
SUBST_SED.prefix=	-e 's,/etc/xdg,${PKG_SYSCONFDIR},g'
SUBST_SED.prefix+=	-e 's,/usr/bin,${PREFIX}/bin,g'
SUBST_SED.prefix+=	-e 's,/usr/share,${PREFIX}/share,g'

CONF_FILES=	${MENU_CONF}/lxqt-applications.menu \
		${PKG_SYSCONFDIR}/menus/lxqt-applications.menu
CONF_FILES+=	${AUTOSTART_CONF}/lxqt-panel.desktop \
		${PKG_SYSCONFDIR}/autostart/lxqt-panel.desktop

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+=	lxmenu-data-[0-9]*:../../sysutils/lxmenu-data

.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/libXcomposite/buildlink3.mk"
.include "../../x11/libXdamage/buildlink3.mk"
.include "../../devel/libdbusmenu-qt5/buildlink3.mk"
.include "../../x11/lxqt-globalkeys/buildlink3.mk"
.include "../../audio/pulseaudio/buildlink3.mk"
.include "../../sysutils/solid/buildlink3.mk"
.include "../../x11/kwindowsystem/buildlink3.mk"
.include "../../x11/kguiaddons/buildlink3.mk"
.include "../../sysutils/menu-cache/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"