Marcel Telka
2022-01-31 b7ef23180b8258d99f0990e953e0eddbaaab32a5
commit | author | age
9f0f78 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 #
12 # Copyright (c) 2013 Ken Mays
1304c2 13 # Copyright 2019, Michal Nowak
9f0f78 14 #
1304c2 15
4824bf 16 BUILD_BITS=        64_and_32
9f0f78 17
102ef9 18 include ../../../../make-rules/shared-macros.mk
9f0f78 19
1304c2 20 COMPONENT_NAME=        brasero
4824bf 21 COMPONENT_VERSION=    3.12.3
9f0f78 22 COMPONENT_PROJECT_URL=    https://projects.gnome.org/brasero/
AP 23 COMPONENT_SUMMARY=    Gnome CD/DVD burner
24 COMPONENT_SRC=    $(COMPONENT_NAME)-$(COMPONENT_VERSION)
102ef9 25 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.xz
4824bf 26 COMPONENT_ARCHIVE_HASH= sha256:87749eae33a141207d1b00be233b6d8045982ed3249ed4b98dae1f3a975fea15
b7ef23 27 COMPONENT_ARCHIVE_URL=    https://download.gnome.org/sources/$(COMPONENT_NAME)/3.12/$(COMPONENT_ARCHIVE)
1304c2 28 COMPONENT_FMRI=        desktop/cd-burning/brasero
102ef9 29 COMPONENT_CLASSIFICATION=    Applications/Internet
AP 30 COMPONENT_LICENSE=    GPLv2
31 COMPONENT_LICENSE_FILE=    COPYING
9f0f78 32
1304c2 33 TEST_TARGET=        $(NO_TESTS)
MN 34
35 include $(WS_MAKE_RULES)/common.mk
9f0f78 36
12dd40 37 PATH=$(PATH.gnu)
9f0f78 38
6bb7ce 39 CFLAGS.32 += -D_FILE_OFFSET_BITS=64
102ef9 40
AP 41 # Regenerate yelp rules
1a4f5a 42 COMPONENT_PREP_ACTION = ( cd $(@D) ; autoreconf -vif ) 
102ef9 43
9f0f78 44 CONFIGURE_OPTIONS+=    --sysconfdir=/etc
6bb7ce 45 CONFIGURE_OPTIONS.32+=    --libexecdir=/usr/lib
TM 46 CONFIGURE_OPTIONS.64+=    --libexecdir=/usr/lib/$(MACH64)
9f0f78 47 CONFIGURE_OPTIONS+=    --localstatedir=/var
AP 48 CONFIGURE_OPTIONS+=    --enable-shared
49 CONFIGURE_OPTIONS+=    --disable-static
50 CONFIGURE_OPTIONS+=    --enable-search
51 CONFIGURE_OPTIONS+=    --enable-playlist
102ef9 52 CONFIGURE_OPTIONS+=    --disable-nautilus
d18dbb 53 CONFIGURE_OPTIONS.64+=    --enable-introspection
9f0f78 54 CONFIGURE_OPTIONS+=    --enable-libburnia
AP 55 CONFIGURE_OPTIONS+=    --disable-gtk-doc
56 CONFIGURE_OPTIONS+=    --disable-inotify
102ef9 57 CONFIGURE_OPTIONS+=    --disable-maintainer-mode
9f0f78 58
AP 59 COMPONENT_BUILD_ENV += CC="$(CC)"
60 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
61
6bb7ce 62 # build dependency
TM 63 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
64 REQUIRED_PACKAGES += library/gnome/yelp-tools
65
66 # Auto-generated dependencies
102ef9 67 REQUIRED_PACKAGES += library/audio/gstreamer1
AP 68 REQUIRED_PACKAGES += library/audio/gstreamer1/plugin/base
077294 69 REQUIRED_PACKAGES += library/desktop/cairo
AP 70 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
102ef9 71 REQUIRED_PACKAGES += library/desktop/gtk3
077294 72 REQUIRED_PACKAGES += library/desktop/pango
102ef9 73 REQUIRED_PACKAGES += library/desktop/search/tracker
077294 74 REQUIRED_PACKAGES += library/desktop/xdg/libcanberra
AP 75 REQUIRED_PACKAGES += library/glib2
102ef9 76 REQUIRED_PACKAGES += library/libnotify
077294 77 REQUIRED_PACKAGES += library/libxml2
AP 78 REQUIRED_PACKAGES += library/media-player/totem-pl-parser
c1af93 79 REQUIRED_PACKAGES += media/cdrtools
077294 80 REQUIRED_PACKAGES += media/dvd+rw-tools
AP 81 REQUIRED_PACKAGES += system/library
82 REQUIRED_PACKAGES += system/library/math