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
17 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_VERSION
= 0.97.3
22 COMPONENT_COMMIT
= b86085dfe2b048a2d37d587adf8ceba6fb8bc43c
23 COMPONENT_PROJECT_URL
= https
://wiki.gnome.org
/Apps
/Dia
24 COMPONENT_SUMMARY
= Dia Diagram Editor
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_COMMIT
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).zip
27 COMPONENT_ARCHIVE_HASH
= \
28 sha256
:447b6979829aa5f4989b8ac5c0685b25f8b8ec740e87853af113891b6e9c2738
29 COMPONENT_ARCHIVE_URL
= https
://github.com
/GNOME
/$(COMPONENT_NAME
)/archive
/$(COMPONENT_COMMIT
).zip
30 COMPONENT_FMRI
= editor
/diagram
/dia
31 COMPONENT_CLASSIFICATION
=Applications
/Graphics and Imaging
32 COMPONENT_LICENSE
= GPLv2
33 COMPONENT_LICENSE_FILE
= COPYING
35 TEST_TARGET
=$(NO_TESTS
)
36 include $(WS_MAKE_RULES
)/common.mk
40 COMPONENT_PREP_ACTION
= (cd
$(@D
) && intltoolize
--force --copy
&&\
43 # Missing files in build dir for configure without this.
44 COMPONENT_PRE_CONFIGURE_ACTION
= ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
46 CONFIGURE_SCRIPT
= $(@D
)/configure
48 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
49 CONFIGURE_OPTIONS
+= --disable-gnome
50 CONFIGURE_OPTIONS
+= --with-cairo
51 CONFIGURE_OPTIONS
+= --disable-static
52 CONFIGURE_OPTIONS
+= --enable-db2html
55 REQUIRED_PACKAGES
+= text
/intltool
56 # Auto-generated dependencies
57 REQUIRED_PACKAGES
+= image
/library
/libart
58 REQUIRED_PACKAGES
+= image
/library
/libpng16
59 REQUIRED_PACKAGES
+= library
/desktop
/cairo
60 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
61 REQUIRED_PACKAGES
+= library
/desktop
/gtk2
62 REQUIRED_PACKAGES
+= library
/desktop
/pango
63 REQUIRED_PACKAGES
+= library
/glib2
64 REQUIRED_PACKAGES
+= library
/libxml2
65 REQUIRED_PACKAGES
+= library
/libxslt
66 REQUIRED_PACKAGES
+= library
/zlib
67 REQUIRED_PACKAGES
+= system
/library
68 REQUIRED_PACKAGES
+= system
/library
/freetype-2
69 REQUIRED_PACKAGES
+= system
/library
/math