Andreas Wacknitz
2024-04-04 8590298b09ebad29af56370cd23105cd0931b389
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL)". You may
# only use this file in accordance with the terms of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
 
#
# Copyright 2016 Alexander Pyhalov
#
 
BUILD_STYLE=configure
BUILD_BITS=64
include ../../../make-rules/shared-macros.mk
 
COMPONENT_NAME=         dia
COMPONENT_VERSION=      0.97.3
COMPONENT_REVISION=     5
COMPONENT_COMMIT=         b86085dfe2b048a2d37d587adf8ceba6fb8bc43c
COMPONENT_PROJECT_URL=  https://wiki.gnome.org/Apps/Dia
COMPONENT_SUMMARY=      Dia Diagram Editor
COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_COMMIT)
COMPONENT_ARCHIVE=      $(COMPONENT_SRC).zip
COMPONENT_ARCHIVE_HASH= \
    sha256:447b6979829aa5f4989b8ac5c0685b25f8b8ec740e87853af113891b6e9c2738
COMPONENT_ARCHIVE_URL=  https://github.com/GNOME/$(COMPONENT_NAME)/archive/$(COMPONENT_COMMIT).zip
COMPONENT_FMRI=         editor/diagram/dia
COMPONENT_CLASSIFICATION=Applications/Graphics and Imaging
COMPONENT_LICENSE=      GPLv2
COMPONENT_LICENSE_FILE= COPYING
 
TEST_TARGET=$(NO_TESTS)
include $(WS_MAKE_RULES)/common.mk
 
PATH=$(PATH.gnu)
 
COMPONENT_PREP_ACTION = (cd $(@D) && intltoolize --force --copy &&\
                autoreconf -fi)
 
# Missing files in build dir for configure without this.
COMPONENT_PRE_CONFIGURE_ACTION =        ($(CLONEY) $(SOURCE_DIR) $(@D))
 
CONFIGURE_SCRIPT =    $(@D)/configure
 
CONFIGURE_OPTIONS +=        --sysconfdir=/etc
CONFIGURE_OPTIONS +=        --disable-gnome
CONFIGURE_OPTIONS +=        --with-cairo
CONFIGURE_OPTIONS +=        --disable-static
CONFIGURE_OPTIONS +=        --enable-db2html
 
# Build dependencies
REQUIRED_PACKAGES += text/intltool
# Auto-generated dependencies
REQUIRED_PACKAGES += image/library/libart
REQUIRED_PACKAGES += image/library/libpng16
REQUIRED_PACKAGES += library/desktop/cairo
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
REQUIRED_PACKAGES += library/desktop/gtk2
REQUIRED_PACKAGES += library/desktop/pango
REQUIRED_PACKAGES += library/glib2
REQUIRED_PACKAGES += library/libxml2
REQUIRED_PACKAGES += library/libxslt
REQUIRED_PACKAGES += library/zlib
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/freetype-2
REQUIRED_PACKAGES += system/library/math