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 (c) 2015 Alexander Pyhalov
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= SDL_sound
20 COMPONENT_VERSION
= 1.0.3
22 COMPONENT_PROJECT_URL
= http
://icculus.org
/SDL_sound
/
23 COMPONENT_SUMMARY
= Sound decoding library for SDL
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= \
27 sha256
:3999fd0bbb485289a52be14b2f68b571cb84e380cc43387eadf778f64c79e6df
28 COMPONENT_ARCHIVE_URL
= http
://icculus.org
/SDL_sound
/downloads
/$(COMPONENT_ARCHIVE
)
29 COMPONENT_FMRI
= library
/audio
/sdl-sound
30 COMPONENT_LICENSE
= LGPLv2
31 COMPONENT_LICENSE_FILE
= COPYING
32 COMPONENT_CLASSIFICATION
=System
/Multimedia Libraries
34 TEST_TARGET
=$(NO_TESTS
)
35 include $(WS_MAKE_RULES
)/common.mk
39 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
40 CONFIGURE_OPTIONS
+= --libexecdir
=$(CONFIGURE_LIBDIR.
$(BITS
))
41 # mpeg libraries are disabled for future
42 # in case we ever have hipster-encumbered
43 CONFIGURE_OPTIONS
+= --disable-smpeg
44 CONFIGURE_OPTIONS
+= --disable-mpglib
45 CONFIGURE_OPTIONS
+= --disable-mikmod
46 CONFIGURE_OPTIONS
+= --disable-modplug
47 CONFIGURE_OPTIONS
+= --disable-physfs
49 # Auto-generated dependencies
50 REQUIRED_PACKAGES
+= codec
/flac
51 REQUIRED_PACKAGES
+= codec
/speex
52 REQUIRED_PACKAGES
+= library
/libogg
53 REQUIRED_PACKAGES
+= library
/libvorbis
54 REQUIRED_PACKAGES
+= library
/sdl
55 REQUIRED_PACKAGES
+= system
/library