commit | author | age
|
aa1c63
|
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 2017 Alexander Pyhalov |
|
14 |
# |
|
15 |
|
756aec
|
16 |
BUILD_STYLE=configure |
AL |
17 |
BUILD_BITS=64 |
aa1c63
|
18 |
include ../../../make-rules/shared-macros.mk |
AP |
19 |
|
756aec
|
20 |
COMPONENT_NAME= audacity |
AL |
21 |
COMPONENT_VERSION= 2.3.2 |
|
22 |
COMPONENT_REVISION= 1 |
|
23 |
COMPONENT_SUMMARY= Cross-platform audio software for recording and editing |
|
24 |
COMPONENT_SRC= audacity-Audacity-$(COMPONENT_VERSION) |
|
25 |
COMPONENT_ARCHIVE= Audacity-$(COMPONENT_VERSION).zip |
aa1c63
|
26 |
COMPONENT_ARCHIVE_HASH= \ |
756aec
|
27 |
sha256:675fb1a7a4270800324cd5add5b9f23dae32c9f4df5b3dbe5124dac6c4de0988 |
AL |
28 |
COMPONENT_ARCHIVE_URL= \ |
|
29 |
https://github.com/audacity/audacity/archive/$(COMPONENT_ARCHIVE) |
|
30 |
COMPONENT_PROJECT_URL= http://www.audacityteam.org/ |
|
31 |
COMPONENT_FMRI= audio/audacity |
|
32 |
COMPONENT_CLASSIFICATION=Applications/Sound and Video |
|
33 |
COMPONENT_LICENSE= GPLv2 |
aa1c63
|
34 |
COMPONENT_LICENSE_FILE= LICENSE.txt |
AP |
35 |
|
|
36 |
include $(WS_MAKE_RULES)/encumbered.mk |
756aec
|
37 |
TEST_TARGET=$(NO_TESTS) |
AL |
38 |
include $(WS_MAKE_RULES)/common.mk |
aa1c63
|
39 |
|
AP |
40 |
PATH=$(PATH.gnu) |
|
41 |
|
|
42 |
COMPONENT_PREP_ACTION = (cd $(@D) && autoreconf -fi) |
|
43 |
|
|
44 |
CFLAGS += -std=c99 $(CPP_XPG6MODE) |
|
45 |
|
|
46 |
# Missing files in build dir for configure without this. |
|
47 |
COMPONENT_PRE_CONFIGURE_ACTION = ($(CP) -rpP $(SOURCE_DIR)/* $(@D)) |
|
48 |
CONFIGURE_SCRIPT = $(@D)/configure |
|
49 |
|
756aec
|
50 |
CONFIGURE_ENV += WX_CONFIG=/usr/bin/$(MACH64)/wx-config-3 |
fdd3b6
|
51 |
|
aa1c63
|
52 |
CONFIGURE_OPTIONS+= --sysconfdir=/etc |
AP |
53 |
CONFIGURE_OPTIONS+= --libexecdir=/usr/lib |
|
54 |
CONFIGURE_OPTIONS+= --enable-unicode |
|
55 |
CONFIGURE_OPTIONS+= --with-lib-preference="local" |
|
56 |
CONFIGURE_OPTIONS+= --with-expat=system |
|
57 |
CONFIGURE_OPTIONS+= --with-libsndfile=system |
|
58 |
CONFIGURE_OPTIONS+= --with-libsoxr=system |
|
59 |
CONFIGURE_OPTIONS+= --with-midi |
|
60 |
CONFIGURE_OPTIONS+= --with-portaudio |
|
61 |
CONFIGURE_OPTIONS+= --disable-alsa |
|
62 |
CONFIGURE_OPTIONS+= --with-widgetextra |
|
63 |
CONFIGURE_OPTIONS+= --with-ffmpeg=system |
|
64 |
CONFIGURE_OPTIONS+= --with-libflac=system |
|
65 |
CONFIGURE_OPTIONS+= --with-libid3tag=system |
|
66 |
CONFIGURE_OPTIONS+= --with-libmad=system |
|
67 |
CONFIGURE_OPTIONS+= --with-lame=system |
|
68 |
CONFIGURE_OPTIONS+= --with-libtwolame=system |
|
69 |
CONFIGURE_OPTIONS+= --with-libvorbis=system |
|
70 |
CONFIGURE_OPTIONS+= --with-portmixer=yes |
fdd3b6
|
71 |
CONFIGURE_OPTIONS+= --with-portmidi=local |
aa1c63
|
72 |
|
24a804
|
73 |
REQUIRED_PACKAGES += shell/which |
aa1c63
|
74 |
REQUIRED_PACKAGES += video/ffmpeg |
AP |
75 |
|
fdd3b6
|
76 |
# Auto-generated dependencies |
AP |
77 |
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) |
|
78 |
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG) |
aa1c63
|
79 |
REQUIRED_PACKAGES += audio/twolame |
AP |
80 |
REQUIRED_PACKAGES += codec/flac |
|
81 |
REQUIRED_PACKAGES += library/audio/libid3tag |
|
82 |
REQUIRED_PACKAGES += library/audio/libmad |
|
83 |
REQUIRED_PACKAGES += library/audio/soxr |
fdd3b6
|
84 |
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf |
AP |
85 |
REQUIRED_PACKAGES += library/desktop/gtk3 |
aa1c63
|
86 |
REQUIRED_PACKAGES += library/expat |
AP |
87 |
REQUIRED_PACKAGES += library/glib2 |
fdd3b6
|
88 |
REQUIRED_PACKAGES += library/graphics/wxwidgets-3 |
aa1c63
|
89 |
REQUIRED_PACKAGES += library/libogg |
AP |
90 |
REQUIRED_PACKAGES += library/libsndfile |
|
91 |
REQUIRED_PACKAGES += library/libvorbis |
|
92 |
REQUIRED_PACKAGES += system/library |
|
93 |
REQUIRED_PACKAGES += system/library/math |