2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright (c) 2018 Alexander Pyhalov
13 # Copyright (c) 2019 Michal Nowak
14 # Copyright (c) 2020 Marco van Wieringen
15 # Copyright (c) 2021 Tim Mooney. All rights reserved
16 # Copyright 2022 Andreas Wacknitz
20 BUILD_STYLE
= configure
21 include ..
/..
/..
/..
/make-rules
/shared-macros.mk
22 include $(WS_MAKE_RULES
)/mate.mk
24 COMPONENT_NAME
= mate-power-manager
25 COMPONENT_MJR_VERSION
= 1.26
26 COMPONENT_MNR_VERSION
= 1
28 COMPONENT_SUMMARY
= MATE Power Manager utilities for desktop users
29 COMPONENT_ARCHIVE_HASH
= sha256
:20cd9d22ed04babf98bb50e71a0ec5d78a8a476287723278f87da76cabfb1042
30 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
31 COMPONENT_LICENSE
= GPLv2
32 COMPONENT_LICENSE_FILE
= COPYING
34 include $(WS_MAKE_RULES
)/common.mk
36 # Manually add apps icons files not getting installed by the Makefiles
37 COMPONENT_POST_INSTALL_ACTION
+= \
38 $(MKDIR
) -p
$(PROTO_DIR
)/usr
/share
/icons
/hicolor
/16x16
/apps
; \
39 $(CP
) $(SOURCE_DIR
)/data
/icons
/16x16
/apps
/* $(PROTO_DIR
)/usr
/share
/icons
/hicolor
/16x16
/apps
; \
40 $(MKDIR
) -p
$(PROTO_DIR
)/usr
/share
/icons
/hicolor
/22x22
/apps
; \
41 $(CP
) $(SOURCE_DIR
)/data
/icons
/22x22
/apps
/* $(PROTO_DIR
)/usr
/share
/icons
/hicolor
/22x22
/apps
; \
42 $(MKDIR
) -p
$(PROTO_DIR
)/usr
/share
/icons
/hicolor
/24x24
/apps
; \
43 $(CP
) $(SOURCE_DIR
)/data
/icons
/24x24
/apps
/* $(PROTO_DIR
)/usr
/share
/icons
/hicolor
/24x24
/apps
; \
44 $(MKDIR
) -p
$(PROTO_DIR
)/usr
/share
/icons
/hicolor
/32x32
/apps
; \
45 $(CP
) $(SOURCE_DIR
)/data
/icons
/32x32
/apps
/* $(PROTO_DIR
)/usr
/share
/icons
/hicolor
/32x32
/apps
; \
46 $(MKDIR
) -p
$(PROTO_DIR
)/usr
/share
/icons
/hicolor
/48x48
/apps
; \
47 $(CP
) $(SOURCE_DIR
)/data
/icons
/48x48
/apps
/* $(PROTO_DIR
)/usr
/share
/icons
/hicolor
/48x48
/apps
; \
48 $(MKDIR
) -p
$(PROTO_DIR
)/usr
/share
/icons
/hicolor
/64x64
/apps
; \
49 $(CP
) $(SOURCE_DIR
)/data
/icons
/64x64
/apps
/* $(PROTO_DIR
)/usr
/share
/icons
/hicolor
/64x64
/apps
; \
50 $(MKDIR
) -p
$(PROTO_DIR
)/usr
/share
/icons
/hicolor
/96x96
/apps
; \
51 $(CP
) $(SOURCE_DIR
)/data
/icons
/96x96
/apps
/* $(PROTO_DIR
)/usr
/share
/icons
/hicolor
/96x96
/apps
; \
52 $(MKDIR
) -p
$(PROTO_DIR
)/usr
/share
/icons
/hicolor
/128x128
/apps
; \
53 $(CP
) $(SOURCE_DIR
)/data
/icons
/128x128
/apps
/* $(PROTO_DIR
)/usr
/share
/icons
/hicolor
/128x128
/apps
; \
54 $(MKDIR
) -p
$(PROTO_DIR
)/usr
/share
/icons
/hicolor
/256x256
/apps
; \
55 $(CP
) $(SOURCE_DIR
)/data
/icons
/256x256
/apps
/* $(PROTO_DIR
)/usr
/share
/icons
/hicolor
/256x256
/apps
; \
56 $(MKDIR
) -p
$(PROTO_DIR
)/usr
/share
/icons
/hicolor
/scalable
/apps
; \
57 $(CP
) $(SOURCE_DIR
)/data
/icons
/scalable
/apps
/* $(PROTO_DIR
)/usr
/share
/icons
/hicolor
/scalable
/apps
;
59 # Manually add icons files not getting installed by the Makefiles
60 COMPONENT_POST_INSTALL_ACTION
+= \
61 $(MKDIR
) -p
$(PROTO_DIR
)/usr
/share
/mate-power-manager
/icons
/hicolor
; \
62 $(CP
) -pr
$(SOURCE_DIR
)/data
/icons
/* $(PROTO_DIR
)/usr
/share
/mate-power-manager
/icons
/hicolor
;
66 REQUIRED_PACKAGES
+= developer
/build
/autoconf-archive
68 # Auto-generated dependencies
69 REQUIRED_PACKAGES
+= desktop
/mate
/mate-panel
70 REQUIRED_PACKAGES
+= library
/desktop
/cairo
71 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
72 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
73 REQUIRED_PACKAGES
+= library
/desktop
/pango
74 REQUIRED_PACKAGES
+= library
/desktop
/xdg
/libcanberra
75 REQUIRED_PACKAGES
+= library
/glib2
76 REQUIRED_PACKAGES
+= library
/libnotify
77 REQUIRED_PACKAGES
+= library
/libsecret
78 REQUIRED_PACKAGES
+= system
/library
79 REQUIRED_PACKAGES
+= system
/library
/libdbus
80 REQUIRED_PACKAGES
+= system
/library
/libdbus-glib
81 REQUIRED_PACKAGES
+= system
/library
/math
82 REQUIRED_PACKAGES
+= system
/upower
83 REQUIRED_PACKAGES
+= x11
/library
/libx11
84 REQUIRED_PACKAGES
+= x11
/library
/libxext
85 REQUIRED_PACKAGES
+= x11
/library
/libxrandr