commit | author | age
|
5f4d39
|
1 |
# |
AP |
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. |
|
6 |
# |
|
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. |
|
10 |
# |
|
11 |
|
|
12 |
# |
|
13 |
# Copyright 2019 Alexander Pyhalov |
703a66
|
14 |
# Copyright 2021,2024 Andreas Wacknitz |
5f4d39
|
15 |
# |
AP |
16 |
|
703a66
|
17 |
BUILD_BITS= 64 |
ce2c84
|
18 |
USE_DEFAULT_TEST_TRANSFORMS= yes |
5f4d39
|
19 |
include ../../../make-rules/shared-macros.mk |
AP |
20 |
|
|
21 |
COMPONENT_NAME= mpg123 |
859029
|
22 |
COMPONENT_VERSION= 1.32.6 |
5f4d39
|
23 |
COMPONENT_SUMMARY= Fast console MPEG Audio Player and decoder library |
703a66
|
24 |
COMPONENT_PROJECT_URL= https://mpg123.org |
5f4d39
|
25 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
AP |
26 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
703a66
|
27 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/download/$(COMPONENT_ARCHIVE) |
859029
|
28 |
COMPONENT_ARCHIVE_HASH= sha256:ccdd1d0abc31d73d8b435fc658c79049d0a905b30669b6a42a03ad169dc609e6 |
5f4d39
|
29 |
COMPONENT_SIG_URL= $(COMPONENT_ARCHIVE_URL).sig |
7f6fb3
|
30 |
COMPONENT_FMRI= audio/mpg123 |
AW |
31 |
COMPONENT_CLASSIFICATION= Applications/Sound and Video |
cbbfc6
|
32 |
COMPONENT_LICENSE= GPL-2.0-only OR LGPL-2.1-only |
7f6fb3
|
33 |
COMPONENT_LICENSE_FILE= COPYING |
5f4d39
|
34 |
|
AP |
35 |
include $(WS_MAKE_RULES)/common.mk |
|
36 |
|
703a66
|
37 |
CFLAGS += $(XPG6MODE) |
cbbfc6
|
38 |
CFLAGS += $(CPP_LARGEFILES) |
5f4d39
|
39 |
|
AP |
40 |
CONFIGURE_OPTIONS += --disable-static |
|
41 |
CONFIGURE_OPTIONS += --enable-shared |
|
42 |
CONFIGURE_OPTIONS += --enable-int-quality |
|
43 |
CONFIGURE_OPTIONS += --enable-fifo |
|
44 |
CONFIGURE_OPTIONS += --enable-network |
|
45 |
CONFIGURE_OPTIONS += --enable-ipv6=yes |
|
46 |
CONFIGURE_OPTIONS += --with-optimization=3 |
4260e2
|
47 |
ifeq ($(strip $(MACH)),i386) |
703a66
|
48 |
CONFIGURE_OPTIONS += --with-cpu=x86-64 |
4260e2
|
49 |
endif |
5f4d39
|
50 |
CONFIGURE_OPTIONS += --with-default-audio=pulse |
ce2c84
|
51 |
|
5f4d39
|
52 |
# Auto-generated dependencies |
AP |
53 |
REQUIRED_PACKAGES += library/audio/openal |
|
54 |
REQUIRED_PACKAGES += library/audio/pulseaudio |
229a77
|
55 |
REQUIRED_PACKAGES += library/sdl2 |
5f4d39
|
56 |
REQUIRED_PACKAGES += system/library |
AP |
57 |
REQUIRED_PACKAGES += system/library/math |