pkgsrc/x11/tint2/Makefile

42 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.42 2017/07/28 08:42:17 tnn Exp $
DISTNAME= tint2-0.14.6
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GITHUB:=o9000/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= fernandotcl@gmail.com
HOMEPAGE= https://gitlab.com/o9000/tint2
COMMENT= Tint2 is a simple panel/taskbar
LICENSE= gnu-gpl-v2
USE_LANGUAGES= c c++ # XXX CMake. pkg does not really need c++
USE_CMAKE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
Update tint2 to 0.9.0. Changes since 0.7.0 (http://code.google.com/p/tint2/source/browse/trunk/ChangeLog): 2010-01-28 - Battery hide option - bugfixes in task redrawing - traywindow and autohide bugfix 2010-01-13 - calculate right struts for multiple monitors - New timer implementation (works for *BSD too) - Changed behaviour for forwarding clicks to the window manager - Tint2 sets a class name, such that it can be identified by window managers - better omnipresent task handling - clock timezone support - real transparency - adjustable systray icons - systray: several icons in one line - autohide - more task states (active/urgent/iconified) - and some minor bugfixes which nobody recognized yet ;) 2009-12-16 - Scrolling through tasks by schattenprinz (added action next_task and prev_task) - Andreas : *add* setting tooltip on clock with 'clock_tooltip = format' - Andreas : *add* changed everything to kernel timer for easier integration with new timer - Andreas : *add* multiple tasks can be urgent now - Thierry : panel snapshot - patch for FULL battery by peter.ebden - Thierry : work on tint2conf. not ready for release yet. - Thierry : killall -SIGUSR1 tint2 will reload config file cleanly - Thierry : improved multi-monitor detection - Thierry : added left2right and right2left value to systray_sort option - Andreas : *add* option for ascending/descending/unsorted systray - Thierry : EWMH non-resizable panel - less disturbing omnipresent task by dmitry medvinsky - Thierry : lower cpu use with icon. replace HUE by ALPHA on icon (see task_icon_asb) - Thierry : add default icon on task - Andreas : *add* tooltips - Andreas : added possibility to put tint2 into the windowmanagers dock - Andreas : Drag n drop over Task bring Focus - Andreas : support skip_taskbar - Thierry : detect pid of process owning the systray - Andreas : added possibility to put tint2 into the windowmanagers dock 2009-09-08 - Drag n drop over Task bring Focus by Andreas.Fink85 2009-09-07 - fixed issue 117 : support skip_taskbar by Andreas.Fink85 - cleanup : switch space to tab 2009-09-01 - fixed segfault 2009-08-30 - detect pid of process owning the systray 2009-08-30 - added taskbar_active_background_id to change current desktop background. warning : this feature have a price on cpu (tint2 redraw all task) when you switch desktop. comment out taskbar_active_background_id if you don't want it. 2009-08-30 - fixed issue 130 by maato ordered systray icon with config "systray_sort = asc/desc" 2009-08-29 - fixed issue 134 2009-08-29 - cleanup and add desktop_right/desktop_left action on task (by jackp) 2009-08-29 - adjust saturation/brightness on task icon 2009-08-29 - merge change described in issue 122 (by jackp) made right click easier 2009-08-28 - add some HSB config 2009-08-09 - add mouse action : maximize_restore - fixed issue 125 2009-07-28 - some tint2conf code 2009-07-26 - fixed icon on 64 bit system by benjaminfranzke 2009-07-19 - fixed systray crash by mart1987 2009-07-14 - play with some tint2conf code 2009-07-04 - fixed 'defunct' process after fork
2010-04-11 23:43:57 +02:00
INSTALLATION_DIRS= share/examples/tint2
OWN_DIRS= ${PKG_SYSCONFDIR}/xdg/tint2
CONF_FILES= ${PREFIX}/share/examples/tint2/tint2rc \
${PKG_SYSCONFDIR}/xdg/tint2/tint2rc
CMAKE_ARGS.Linux= -DENABLE_BATTERY=ON
CMAKE_ARGS.*= -DENABLE_BATTERY=OFF
post-install:
${INSTALL_DATA} ${WRKSRC}/themes/tint2rc \
${DESTDIR}${PREFIX}/share/examples/tint2
.include "../../devel/cmake/buildlink3.mk"
.include "../../graphics/imlib2/buildlink3.mk"
.include "../../graphics/librsvg/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libXcomposite/buildlink3.mk"
.include "../../x11/libXdamage/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXrandr/buildlink3.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../x11/startup-notification/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"