gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / web / icedtea-web / Makefile
blob26374458a3b7a15e4d84e3da8d9d3285651d43ac
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
5 # 1.0 of the CDDL.
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 2017 Alexander Pyhalov
14 # Copyright 2023 Niklas Poslovski
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= icedtea-web
20 COMPONENT_VERSION= 1.8.8
21 COMPONENT_SUMMARY= Java browser plugin and Web Start launcher
22 COMPONENT_SRC_NAME= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_SRC= IcedTea-Web-$(COMPONENT_SRC_NAME)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC_NAME).tar.gz
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:f4203a605a3c9c50acdcc6eef4a366b9fdd36d95edcd76bcbfede01107cb5fe6
27 COMPONENT_ARCHIVE_URL= \
28 https://github.com/AdoptOpenJDK/IcedTea-Web/archive/$(COMPONENT_ARCHIVE)
29 COMPONENT_PROJECT_URL= http://icedtea.classpath.org/wiki/Main_Page
30 COMPONENT_FMRI= web/browser/firefox/plugin/firefox-java
31 COMPONENT_CLASSIFICATION= Applications/Plug-ins and Run-times
32 COMPONENT_LICENSE= GPLv2
34 TEST_TARGET=$(NO_TESTS)
35 include $(WS_MAKE_RULES)/common.mk
37 PATH=$(PATH.gnu)
39 CXXFLAGS+=-I$(COMPONENT_DIR)/files
41 COMPONENT_POST_UNPACK_ACTION += ($(GSED) -i -e 's/mozilla-plugin/firefox-plugin/' $(SOURCE_DIR)/acinclude.m4)
42 COMPONENT_PREP_ACTION += (cd $(@D) && autoreconf -if \
43 && cp -f $(COMPONENT_DIR)/files/*.h $(SOURCE_DIR)/plugin/icedteanp/)
45 CONFIGURE_OPTIONS+= --with-jdk-home=$(JAVA_HOME)
46 CONFIGURE_OPTIONS+= --without-rhino
47 CONFIGURE_OPTIONS+= --disable-docs
48 CONFIGURE_OPTIONS+= --with-itw-libs=BUNDLED
49 CONFIGURE_OPTIONS+= --disable-native-plugin
51 # Build dependencies
52 REQUIRED_PACKAGES += developer/java/openjdk8
53 REQUIRED_PACKAGES += developer/lang/rustc
55 # Auto-generated dependencies
56 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
57 REQUIRED_PACKAGES += runtime/java/openjdk8
58 REQUIRED_PACKAGES += system/library