4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
21 # Copyright 2016 Jim Klimov
22 # Copyright 2021 Nona Hansel
23 # Copyright (c) 2011, 2021, Oracle and/or its affiliates.
28 USE_PARALLEL_BUILD
= yes
29 USE_DEFAULT_TEST_TRANSFORMS
= yes
30 include ..
/..
/..
/make-rules
/shared-macros.mk
33 COMPONENT_MJR_VERSION
= 3.22
34 COMPONENT_VERSION
= $(COMPONENT_MJR_VERSION
).2
35 COMPONENT_SUMMARY
= meld
- graphical diff and merge tool
36 COMPONENT_DESCRIPTION
=\
37 Meld is a visual diff and merge tool. You can compare two or three files \
38 and edit them in place
(diffs update dynamically
). You can compare two or \
39 three folders and launch file comparisons. You can browse and view a working \
40 copy from popular version control systems such such
as Git
, CVS
, Subversion
, \
41 Bazaar-ng and Mercurial.
42 COMPONENT_PROJECT_URL
= https
://meld.sourceforge.net
/
43 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
44 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
45 COMPONENT_ARCHIVE_HASH
= sha256
:46a0a713fbcd1b153b377a1e0757c8ce255c9822467658eacfbd89b1e92316ef
46 COMPONENT_ARCHIVE_URL
= https
://download.gnome.org
/sources
/meld
/$(COMPONENT_MJR_VERSION
)/$(COMPONENT_ARCHIVE
)
47 COMPONENT_FMRI
= developer
/$(COMPONENT_NAME
)
48 COMPONENT_CLASSIFICATION
= Development
/Editors
49 COMPONENT_LICENSE
= GPLv2
50 COMPONENT_LICENSE_FILE
= COPYING
52 include $(WS_MAKE_RULES
)/common.mk
56 # Don't build and package these, they need to be generated on install to
57 # reflect all the other packages installed on the machine too, not just meld
58 COMPONENT_SETUP_ARGS
+= --no-compile-schemas
59 COMPONENT_SETUP_ARGS
+= --no-update-icon-cache
61 COMPONENT_POST_INSTALL_ACTION
+= \
62 $(MKDIR
) $(PROTOUSRLIBDIR
)/python3.9
/vendor-packages
; \
63 $(MV
) $(PROTOUSRLIBDIR
)/python3.9
/site-packages
/* $(PROTOUSRLIBDIR
)/python3.9
/vendor-packages
/; \
64 $(PYTHON
) -m compileall
$(PROTOUSRLIBDIR
)/python3.9
/vendor-packages
;
66 # Manually added dependencies
67 PYTHON_REQUIRED_PACKAGES
+= library
/python
/pycairo
68 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
69 REQUIRED_PACKAGES
+= library
/glib2
70 REQUIRED_PACKAGES
+= library
/desktop
/gtksourceview4
71 REQUIRED_PACKAGES
+= text
/itstool
73 # Auto-generated dependencies
74 PYTHON_REQUIRED_PACKAGES
+= library
/python
/pygobject
75 PYTHON_REQUIRED_PACKAGES
+= library
/python
/tkinter
76 PYTHON_REQUIRED_PACKAGES
+= runtime
/python