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
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= sound-juicer
20 COMPONENT_VERSION
= 2.32.0
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
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
&&\
45 automake
-a
-f
-c
--gnu
&&\
48 CONFIGURE_SCRIPT
= $(@D
)/configure
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