desktop-file-utils: update to 0.28
[oi-userland.git] / components / desktop / sound-juicer / Makefile
blob86f67d5c410ec08a1e6d46ac980c47df3f43f2f3
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 2017 Alexander Pyhalov
15 BUILD_STYLE=configure
16 BUILD_BITS=64
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= sound-juicer
20 COMPONENT_VERSION= 2.32.0
21 COMPONENT_REVISION= 4
22 COMPONENT_PROJECT_URL= https://wiki.gnome.org/SoundJuicer
23 COMPONENT_SUMMARY= CD ripping tool
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
26 COMPONENT_ARCHIVE_HASH= \
27 sha256:f6040e19e50094daff9699dea3e9884ce3226a61f28acbe9ad3a0458975a305a
28 COMPONENT_ARCHIVE_URL= https://download.gnome.org/sources/$(COMPONENT_NAME)/2.32/$(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.bz2
29 COMPONENT_CLASSIFICATION=Applications/Sound and Video
30 COMPONENT_FMRI= desktop/cd-ripping/sound-juicer
31 COMPONENT_LICENSE= GPLv2
32 COMPONENT_LICENSE_FILE= COPYING
34 TEST_TARGET=$(NO_TESTS)
35 include $(WS_MAKE_RULES)/common.mk
37 PATH=$(PATH.gnu)
39 COMPONENT_PRE_CONFIGURE_ACTION = (cp -r $(SOURCE_DIR)/* $(@D) && \
40 cp -r $(COMPONENT_DIR)/files/po-sun $(@D) && \
41 cd $(@D)/po-sun && $(MAKE) all &&\
42 cd $(@D) && intltoolize --force --copy --automake &&\
43 aclocal -I ./m4 &&\
44 autoheader &&\
45 automake -a -f -c --gnu &&\
46 autoconf )
48 CONFIGURE_SCRIPT= $(@D)/configure
50 gcc_OPT = -O2
52 CONFIGURE_OPTIONS+= --sysconfdir=/etc
53 CONFIGURE_OPTIONS+= --localstatedir=/var
54 CONFIGURE_OPTIONS+= --disable-scrollkeeper
55 CONFIGURE_OPTIONS+= --with-gtk=3.0
57 COMPONENT_INSTALL_ENV+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
59 # Auto-generated dependencies
60 REQUIRED_PACKAGES += desktop/cd-burning/brasero
61 REQUIRED_PACKAGES += gnome/config/gconf
62 REQUIRED_PACKAGES += library/audio/gstreamer
63 REQUIRED_PACKAGES += library/audio/gstreamer/plugin/base
64 REQUIRED_PACKAGES += library/audio/libcdio
65 REQUIRED_PACKAGES += library/desktop/atk
66 REQUIRED_PACKAGES += library/desktop/gtk3
67 REQUIRED_PACKAGES += library/desktop/pango
68 REQUIRED_PACKAGES += library/desktop/xdg/libcanberra
69 REQUIRED_PACKAGES += library/glib2
70 REQUIRED_PACKAGES += library/musicbrainz/libmusicbrainz-3
71 REQUIRED_PACKAGES += system/library
72 REQUIRED_PACKAGES += system/library/libdbus-glib