p7zip: assorted fixes
[oi-userland.git] / components / encumbered / minidlna / Makefile
blob13193ae23625cf91c2dcdfa4cceb84ff4a22e51c
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 2020 Alexander Pyhalov
13 # Copyright 2022-2023 Niklas Poslovski
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= minidlna
19 COMPONENT_VERSION= 1.3.3
20 COMPONENT_REVISION= 1
21 COMPONENT_SUMMARY= MiniDLNA DLNA/UPnP-AV media server
22 COMPONENT_PROJECT_URL= https://sourceforge.net/projects/minidlna/
23 COMPONENT_FMRI= media/minidlna
24 COMPONENT_CLASSIFICATION= System/Media
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
27 COMPONENT_ARCHIVE_URL= https://sourceforge.net/projects/minidlna/files/minidlna/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
28 COMPONENT_ARCHIVE_HASH= sha256:39026c6d4a139b9180192d1c37225aa3376fdf4f1a74d7debbdbb693d996afa4
29 COMPONENT_LICENSE= BSD
30 COMPONENT_LICENSE_FILE= LICENCE.miniupnpd
32 TEST_TARGET= $(NO_TESTS)
33 include $(WS_MAKE_RULES)/encumbered.mk
34 include $(WS_MAKE_RULES)/common.mk
36 CFLAGS += $(CPP_XPG5MODE)
38 CONFIGURE_OPTIONS += --with-log-path=$(VARDIR)/log/minidlna
40 LDFLAGS += -lsocket -lnsl -lsendfile
42 # Auto-generated dependencies
43 REQUIRED_PACKAGES += $(JPEG_IMPLEM_PKG)
44 REQUIRED_PACKAGES += SUNWcs
45 REQUIRED_PACKAGES += codec/flac
46 REQUIRED_PACKAGES += database/sqlite-3
47 REQUIRED_PACKAGES += image/library/libexif
48 REQUIRED_PACKAGES += image/library/libjpeg-turbo
49 REQUIRED_PACKAGES += library/audio/libid3tag
50 REQUIRED_PACKAGES += library/ffmpeg-6
51 REQUIRED_PACKAGES += library/libogg
52 REQUIRED_PACKAGES += library/libvorbis
53 REQUIRED_PACKAGES += shell/ksh93
54 REQUIRED_PACKAGES += system/library
55 REQUIRED_PACKAGES += video/ffmpeg