commit | author | age
|
62ade8
|
1 |
# |
AP |
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. |
|
5 |
# |
|
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. |
|
9 |
# |
|
10 |
|
|
11 |
# |
4ec68f
|
12 |
# Copyright 2017 Alexander Pyhalov |
62ade8
|
13 |
# |
AP |
14 |
|
927885
|
15 |
include ../../../make-rules/shared-macros.mk |
62ade8
|
16 |
|
AP |
17 |
COMPONENT_NAME= sound-juicer |
|
18 |
COMPONENT_VERSION= 2.32.0 |
4ec68f
|
19 |
COMPONENT_REVISION= 2 |
62ade8
|
20 |
COMPONENT_PROJECT_URL= https://wiki.gnome.org/SoundJuicer |
AP |
21 |
COMPONENT_SUMMARY= CD ripping tool |
|
22 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
23 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
|
24 |
COMPONENT_ARCHIVE_HASH= \ |
|
25 |
sha256:f6040e19e50094daff9699dea3e9884ce3226a61f28acbe9ad3a0458975a305a |
b7ef23
|
26 |
COMPONENT_ARCHIVE_URL= https://download.gnome.org/sources/$(COMPONENT_NAME)/2.32/$(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.bz2 |
4ec68f
|
27 |
COMPONENT_CLASSIFICATION= Applications/Sound and Video |
AP |
28 |
COMPONENT_FMRI= desktop/cd-ripping/sound-juicer |
|
29 |
COMPONENT_LICENSE= GPLv2 |
|
30 |
COMPONENT_LICENSE_FILE= COPYING |
62ade8
|
31 |
|
4ec68f
|
32 |
include $(WS_MAKE_RULES)/prep.mk |
AP |
33 |
include $(WS_MAKE_RULES)/configure.mk |
|
34 |
include $(WS_MAKE_RULES)/ips.mk |
62ade8
|
35 |
|
AP |
36 |
PATH=/usr/gnu/bin:/usr/bin:/usr/perl5/bin |
|
37 |
|
|
38 |
COMPONENT_PRE_CONFIGURE_ACTION = (cp -r $(SOURCE_DIR)/* $(@D) && \ |
|
39 |
cp -r $(COMPONENT_DIR)/files/po-sun $(@D) && \ |
|
40 |
cd $(@D)/po-sun && $(MAKE) all &&\ |
|
41 |
cd $(@D) && intltoolize --force --copy --automake &&\ |
|
42 |
aclocal -I ./m4 &&\ |
|
43 |
autoheader &&\ |
|
44 |
automake -a -f -c --gnu &&\ |
|
45 |
autoconf ) |
|
46 |
|
|
47 |
CONFIGURE_SCRIPT= $(@D)/configure |
|
48 |
|
|
49 |
gcc_OPT = -O2 |
|
50 |
|
|
51 |
CONFIGURE_OPTIONS+= --sysconfdir=/etc |
|
52 |
CONFIGURE_OPTIONS+= --localstatedir=/var |
|
53 |
CONFIGURE_OPTIONS+= --disable-scrollkeeper |
4ec68f
|
54 |
CONFIGURE_OPTIONS+= --with-gtk=3.0 |
62ade8
|
55 |
|
AP |
56 |
COMPONENT_INSTALL_ENV+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
57 |
|
|
58 |
# common targets |
|
59 |
build: $(BUILD_32) |
|
60 |
|
|
61 |
install: $(INSTALL_32) |
|
62 |
|
|
63 |
test: $(NO_TESTS) |
|
64 |
|
4ec68f
|
65 |
REQUIRED_PACKAGES += desktop/cd-burning/brasero |
AP |
66 |
REQUIRED_PACKAGES += gnome/config/gconf |
|
67 |
REQUIRED_PACKAGES += library/audio/gstreamer |
|
68 |
REQUIRED_PACKAGES += library/audio/gstreamer/plugin/base |
|
69 |
REQUIRED_PACKAGES += library/audio/libcdio |
|
70 |
REQUIRED_PACKAGES += library/desktop/atk |
|
71 |
REQUIRED_PACKAGES += library/desktop/gtk3 |
|
72 |
REQUIRED_PACKAGES += library/desktop/pango |
|
73 |
REQUIRED_PACKAGES += library/desktop/xdg/libcanberra |
|
74 |
REQUIRED_PACKAGES += library/glib2 |
|
75 |
REQUIRED_PACKAGES += library/musicbrainz/libmusicbrainz-3 |
|
76 |
REQUIRED_PACKAGES += system/library |
969846
|
77 |
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) |
4ec68f
|
78 |
REQUIRED_PACKAGES += system/library/libdbus-glib |