* Add "inherit pkgconfig" where necessary.
* Fix configure errors: "error: required file './ABOUT-NLS' not found".
* Add ':' to FILESEXTRAPATHS.
Change-Id: I07be3e410af6c5f723b56089e1ac894b0d9652d0
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
-FILESEXTRAPATHS_prepend := "${THISDIR}/pulseaudio_5.0"
+FILESEXTRAPATHS_prepend := "${THISDIR}/pulseaudio_5.0:"
SRC_URI += "file://change_libsystemd_to_libsystemd-login_in_configure.patch"
#SRC_URI += "file://changes-to-pa-simple-api-samsung.patch"
SRC_URI += "file://0100-sink-input-source-output-Add-hooks-for-reference-rat.patch"
SRC_URI += "file://0101-sink-input-source-output-Use-new_data.volume-only-fo.patch"
SRC_URI += "file://0102-sink-input-source-output-Add-the-real-object-pointer.patch"
-SRC_URI += "file://0103-audio-groups-main-volume-policy-volume-api-Various-f.patch"
\ No newline at end of file
+SRC_URI += "file://0103-audio-groups-main-volume-policy-volume-api-Various-f.patch"
+inherit pkgconfig
+
do_compile() {
- cd ${S}
- LANG=C
- export LANG
- unset DISPLAY
- LD_AS_NEEDED=1; export LD_AS_NEEDED ;
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ;
- cp -f ${PKG_CONFIG_SYSROOT_DIR}${datadir}/libtool/config/config.guess ${WORKDIR}
- cp -f ${PKG_CONFIG_SYSROOT_DIR}${datadir}/libtool/config/config.sub ${WORKDIR}
+ cp -f ${PKG_CONFIG_SYSROOT_DIR}${datadir}/libtool/config/config.guess ${WORKDIR}
+ cp -f ${PKG_CONFIG_SYSROOT_DIR}${datadir}/libtool/config/config.sub ${WORKDIR}
- autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
- --target=x86_64-tizen-linux \
- --program-prefix= \
- --prefix=${prefix} \
- --exec-prefix=${prefix} \
- --bindir=${prefix}/bin \
- --sbindir=${prefix}/sbin \
- --sysconfdir=${sysconfdir} \
- --datadir=${prefix}/share \
- --includedir=${prefix}/include \
- --libdir=${prefix}/lib \
- --libexecdir=${prefix}/libexec \
- --localstatedir=${localstatedir} \
- --sharedstatedir=${prefix}/com \
- --mandir=${mandir} \
- --infodir=${infodir} --disable-static
- make -j16
+ autotools_do_configure \
+ --build=${TARGET_SYS} \
+ --host=${HOST_SYS} \
+ --target=x86_64-tizen-linux \
+ --program-prefix= \
+ --prefix=${prefix} \
+ --exec-prefix=${prefix} \
+ --bindir=${prefix}/bin \
+ --sbindir=${prefix}/sbin \
+ --sysconfdir=${sysconfdir} \
+ --datadir=${prefix}/share \
+ --includedir=${prefix}/include \
+ --libdir=${prefix}/lib \
+ --libexecdir=${prefix}/libexec \
+ --localstatedir=${localstatedir} \
+ --sharedstatedir=${prefix}/com \
+ --mandir=${mandir} \
+ --infodir=${infodir} --disable-static
+ make -j16
}
SRC_URI += "file://add-subdir-objects-option.patch"
SRC_URI += "file://add-PA_PROP_MEDIA_POLICY-Define.patch"
+inherit pkgconfig
+
avsystem-dbg_files += "${prefix}/local/bin/.debug"
avsystem-dbg_files += "${prefix}/local/bin/.debug/*"
avsystem-dbg_files += "${prefix}/lib/.debug/*.so.*"
-
avsystem-dev_files = ""
avsystem-dev_files += "avsystem.manifest"
avsystem-dev_files += "${prefix}/lib/pkgconfig/*.pc"
avsystem-dev_files += "${prefix}/lib/*.so"
avsystem-dev_files += "${prefix}/include/avsystem/*.h"
-
libavsysaudio_files = ""
libavsysaudio_files += "avsystem.manifest"
libavsysaudio_files += "${prefix}/lib/lib*.so.*"
+inherit pkgconfig
+
INSANE_SKIP_${PN} = "dev-so"
EXTRA_OECONF += " \
DEPENDS_append_class-target = " efl-native "
+do_configure_prepend() {
+ # Fix configure error: "error: required file './ABOUT-NLS' not found"
+ sed -i 's/AM_INIT_AUTOMAKE(\[1.6 dist-bzip2 -Wall color-tests\])/AM_INIT_AUTOMAKE(\[1.6 dist-bzip2 -Wall color-tests foreign\])/' configure.ac
+}
+
# new efl doesn't have option to disable eeze build and we don't want to provide udev-native just to build eeze-native we don't need
do_configure_prepend_class-native() {
sed -i 's/EFL_LIB_START_OPTIONAL(\[Eeze\], \[test "${have_linux}" = "yes"\])/EFL_LIB_START_OPTIONAL([Eeze], [test "${no-we-really-dont-want-native-eeze}" = "yes"])/g' ${S}/configure.ac
+inherit pkgconfig
+
SRC_URI += "file://Fix_build.patch"
do_configure_prepend() {
+ # Fix configure error: "error: required file './ABOUT-NLS' not found"
+ sed -i 's/AM_INIT_AUTOMAKE(\[1.6 dist-bzip2\])/AM_INIT_AUTOMAKE(\[1.6 dist-bzip2 foreign\])/' configure.ac
# prefix returned eolian paths with STAGING_DIR_HOST also use $PKG_CONFIG instead of pkg-config directly
sed -i "s^DEPS_EOLIAN_FLAGS=\`pkg-config --variable=eolian_flags eo evas edje ecore\`$^DEPS_EOLIAN_FLAGS=\`\$PKG_CONFIG --variable=eolian_flags eo evas edje ecore | sed 's#-I${prefix}#-I${STAGING_DIR_HOST}${prefix}#g'\`^g" ${S}/configure.ac
}
FILES_${PN}-dbg += "${prefix}/lib/elementary/modules/test_entry/v-1.9.3/.debug"
FILES_${PN}-dbg += "${prefix}/lib/elementary/modules/access_output/v-1.9.3/.debug"
FILES_${PN}-dbg += "${prefix}/lib/elementary/modules/test_map/v-1.9.3/.debug"
-FILES_${PN}-dbg += "${prefix}/lib/edje/modules/elm/v-1.9/.debug"
\ No newline at end of file
+FILES_${PN}-dbg += "${prefix}/lib/edje/modules/elm/v-1.9/.debug"
-EXTRA_OECONF += " --disable-introspection "
+inherit pkgconfig
+
+SRC_URI += " file://Remove_vala_test.patch "
DEPENDS_append_class-target = " vala-native "
-SRC_URI += " file://Remove_vala_test.patch "
+EXTRA_OECONF += " --disable-introspection "
+
+FILES_${PN} += "/usr/lib/ibus/ibus-wayland"
-FILES_${PN} += "/usr/lib/ibus/ibus-wayland"
\ No newline at end of file
+inherit pkgconfig
+
+do_configure_prepend() {
+ # Fix configure error: "error: required file './ABOUT-NLS' not found"
+ sed -i 's/^AM_INIT_AUTOMAKE$/AM_INIT_AUTOMAKE(\[foreign\])/' configure.ac
+}
-do_install() {
- echo export RPM_BUILD_ROOT=${D}
- cd ${S}
- LANG=C
- export LANG
- unset DISPLAY
- rm -rf ${D}
- mkdir -p ${D}
-
+inherit pkgconfig
- oe_runmake \
- DESTDIR=${D} \
- INSTALL_ROOT=${D} \
- BINDIR=${prefix}/bin \
- install
- rm -f ${D}${infodir}/dir
- find ${D} -regex ".*\.la$" | xargs rm -f --
- find ${D} -regex ".*\.a$" | xargs rm -f --
+INSANE_SKIP_${PN} = "dev-so"
- #License
- mkdir -p ${D}${prefix}/share/license
- cp LICENSE.Flora ${D}${prefix}/share/license/libnet-client
+do_install() {
+ echo export RPM_BUILD_ROOT=${D}
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf ${D}
+ mkdir -p ${D}
+ oe_runmake \
+ DESTDIR=${D} \
+ INSTALL_ROOT=${D} \
+ BINDIR=${prefix}/bin \
+ install
+ rm -f ${D}${infodir}/dir
+ find ${D} -regex ".*\.la$" | xargs rm -f --
+ find ${D} -regex ".*\.a$" | xargs rm -f --
+ #License
+ mkdir -p ${D}${prefix}/share/license
+ cp LICENSE.Flora ${D}${prefix}/share/license/libnet-client
}
-
-
-INSANE_SKIP_${PN} = "dev-so"
\ No newline at end of file
+inherit pkgconfig
+
DEPENDS_append_class-target += "libpinyin-native"
EXTRA_OEMAKE_class-target += " utils_storage=${STAGING_BINDIR_NATIVE}"
autotools_do_configure
oe_runmake -j16
}
+
+inherit pkgconfig
+
EXTRA_OECONF += " --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc "
+