2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Alexander Pyhalov
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= schroedinger
19 COMPONENT_VERSION
= 1.0.11
21 COMPONENT_SUMMARY
= Library for decoding and encoding video in the Dirac format
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
24 COMPONENT_ARCHIVE_HASH
= \
25 sha256
:1e572a0735b92aca5746c4528f9bebd35aa0ccf8619b22fa2756137a8cc9f912
26 COMPONENT_ARCHIVE_URL
= \
27 https
://launchpad.net
/schroedinger
/trunk
/$(COMPONENT_VERSION
)/+download
/$(COMPONENT_ARCHIVE
)
28 COMPONENT_PROJECT_URL
= http
://diracvideo.org
29 COMPONENT_LICENSE
= LGPLv2
30 COMPONENT_LICENSE_FILE
= COPYING.LGPL
31 COMPONENT_CLASSIFICATION
= System
/Media
32 COMPONENT_FMRI
= library
/video
/libschroedinger
34 include $(WS_MAKE_RULES
)/prep.mk
35 include $(WS_MAKE_RULES
)/configure.mk
36 include $(WS_MAKE_RULES
)/ips.mk
38 # Build can't create generated sources without this
39 COMPONENT_PRE_CONFIGURE_ACTION
= ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
41 CONFIGURE_SCRIPT
=$(@D
)/configure
43 CONFIGURE_OPTIONS
+= --disable-gtk-doc
44 CONFIGURE_OPTIONS
+= --enable-shared
45 CONFIGURE_OPTIONS
+= --disable-static
47 build
: $(BUILD_32_and_64
)
49 install: $(INSTALL_32_and_64
)
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES
+= system
/library
53 REQUIRED_PACKAGES
+= system
/library
/math
54 REQUIRED_PACKAGES
+= system
/library
/orc
55 REQUIRED_PACKAGES
+= developer
/documentation-tool
/gtk-doc