python/cmd2: update to 2.5.6
[oi-userland.git] / components / encumbered / libmpeg2 / Makefile
blob07878cbaa27f045e54c2844fc084bd52d4c2cfe2
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 2015 Alexander Pyhalov
14 # Copyright 2023 Niklas Poslovski
17 USE_DEFAULT_TEST_TRANSFORMS = yes
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= libmpeg2
21 COMPONENT_VERSION= 0.5.1
22 COMPONENT_REVISION= 2
23 COMPONENT_SUMMARY= MPEG2 Decoder library
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_HASH= \
27 sha256:dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4
28 COMPONENT_ARCHIVE_URL= \
29 https://libmpeg2.sourceforge.net/files/$(COMPONENT_ARCHIVE)
30 COMPONENT_PROJECT_URL= https://libmpeg2.sourceforge.net/
31 COMPONENT_LICENSE= GPLv2
32 COMPONENT_LICENSE_FILE= COPYING
33 COMPONENT_CLASSIFICATION=System/Multimedia Libraries
34 COMPONENT_FMRI= library/video/libmpeg2
36 include $(WS_MAKE_RULES)/encumbered.mk
37 include $(WS_MAKE_RULES)/common.mk
39 CONFIGURE_OPTIONS += --enable-shared
40 CONFIGURE_OPTIONS += --disable-static
42 COMPONENT_TEST_ENV += PATH=$(PATH.gnu)
44 # Auto-generated dependencies
45 REQUIRED_PACKAGES += library/sdl
46 REQUIRED_PACKAGES += system/library
47 REQUIRED_PACKAGES += x11/library/libx11
48 REQUIRED_PACKAGES += x11/library/libxext
49 REQUIRED_PACKAGES += x11/library/libxv