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 2016 Alexander Pyhalov
13 # Copyright 2019 Michal Nowak
14 # Copyright (c) 2021 Tim Mooney. All rights reserved
18 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_MJR_VERSION
= 1.28
22 COMPONENT_MNR_VERSION
= 0
23 COMPONENT_VERSION
= $(COMPONENT_MJR_VERSION
).
$(COMPONENT_MNR_VERSION
)
24 COMPONENT_SUMMARY
= MATE text editor
25 COMPONENT_PROJECT_URL
= https
://mate-desktop.org
/
26 COMPONENT_FMRI
= editor
/pluma
27 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
28 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
29 COMPONENT_ARCHIVE_HASH
= sha256
:aa8adf9589345093a50e30b27ede4a78a2421d1727c27f465fc87c435965a1d4
30 COMPONENT_ARCHIVE_URL
= https
://pub.mate-desktop.org
/releases
/$(COMPONENT_MJR_VERSION
)/$(COMPONENT_ARCHIVE
)
31 COMPONENT_CLASSIFICATION
= Applications
/Accessories
32 COMPONENT_LICENSE
= GPLv2
33 COMPONENT_LICENSE_FILE
= COPYING
35 include $(WS_MAKE_RULES
)/common.mk
37 # tests require X11 and that pluma is already installed, but
38 # as of 1.26.0 all 5 tests are passing
39 TEST_TARGET
= $(NO_TESTS
)
43 LDFLAGS
+= -lnsl
-lsocket
45 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && autoreconf
-f
)
47 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
48 CONFIGURE_OPTIONS
+= --libexecdir
=$(CONFIGURE_LIBDIR.
$(BITS
))
49 CONFIGURE_OPTIONS
+= --disable-static
51 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
53 COMPONENT_BUILD_ENV
+= CC
="$(CC)"
54 COMPONENT_BUILD_ENV
+= CFLAGS
="$(CFLAGS)"
56 COMPONENT_INSTALL_ENV
+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
=1
59 REQUIRED_PACKAGES
+= data
/iso-codes
60 REQUIRED_PACKAGES
+= developer
/documentation-tool
/gtk-doc
61 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
63 # Auto-generated dependencies
64 REQUIRED_PACKAGES
+= library
/desktop
/atk
65 REQUIRED_PACKAGES
+= library
/desktop
/cairo
66 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
67 REQUIRED_PACKAGES
+= library
/desktop
/gobject
/gobject-introspection
68 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
69 REQUIRED_PACKAGES
+= library
/desktop
/gtksourceview4
70 REQUIRED_PACKAGES
+= library
/desktop
/libpeas
71 REQUIRED_PACKAGES
+= library
/desktop
/mate
/mate-desktop
72 REQUIRED_PACKAGES
+= library
/desktop
/pango
73 REQUIRED_PACKAGES
+= library
/glib2
74 REQUIRED_PACKAGES
+= library
/libxml2
75 REQUIRED_PACKAGES
+= library
/spell-checking
/enchant
76 REQUIRED_PACKAGES
+= system
/library
77 REQUIRED_PACKAGES
+= x11
/library
/libice
78 REQUIRED_PACKAGES
+= x11
/library
/libsm
79 REQUIRED_PACKAGES
+= x11
/library
/libx11