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 2018 Harry Liebel <hliebel@gmail.com>
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= timidity
++
19 COMPONENT_VERSION
= 2.15.0
21 COMPONENT_SUMMARY
= Software MIDI player
22 COMPONENT_DESCRIPTION
= A software synthesizer
, without external instruments
, that can play MIDI files without a hardware synthesizer. It can either render to the sound card in real time
, or it can save the result to a file
, such
as a PCM .wav file.
23 COMPONENT_PROJECT_URL
= https
://sourceforge.net
/projects
/timidity
24 COMPONENT_SRC
= TiMidity
++-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
26 COMPONENT_ARCHIVE_HASH
= sha256
:161fc0395af16b51f7117ad007c3e434c825a308fa29ad44b626ee8f9bb1c8f5
27 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/files
/TiMidity
++/$(COMPONENT_SRC
)/$(COMPONENT_ARCHIVE
)
28 COMPONENT_FMRI
= multimedia
/timidity
++
29 COMPONENT_CLASSIFICATION
= Applications
/Sound and Video
30 COMPONENT_LICENSE_FILE
= timidity
++.license
31 COMPONENT_LICENSE
= GPLv2
32 COMPONENT_LICENSE_FILE
= COPYING
34 TEST_TARGET
= $(NO_TESTS
)
35 include $(WS_MAKE_RULES
)/common.mk
37 CONFIGURE_OPTIONS
+= --enable-audio
=oss
,ao
,vorbis
,flac
38 CONFIGURE_OPTIONS
+= --enable-ncurses
40 # Manually added build dependencies
41 REQUIRED_PACKAGES
+= system
/header
/header-audio
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES
+= codec
/flac
45 REQUIRED_PACKAGES
+= library
/audio
/libao
46 REQUIRED_PACKAGES
+= library
/libogg
47 REQUIRED_PACKAGES
+= library
/libvorbis
48 REQUIRED_PACKAGES
+= library
/ncurses
49 REQUIRED_PACKAGES
+= system
/library
50 REQUIRED_PACKAGES
+= system
/library
/math