Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone
Blob Blame History Raw
#
# set +o errexit -o noglob -o nounset is assumed.
#

: ${PKG_GDB_CONFIG_CACHE_EXTRA:="
enable_gio_sniffing=yes"};

pkg_gdk_install_files_post() {
	local _pc_path="";
	for _pc_path in $(find "${PKG_DESTDIR}"/lib/pkgconfig -name \*.pc); do
		if ! sed -i"" -e '/^Requires:[[:space:]]*gobject-2.0$/s/^.*$/& gio-2.0/' "${_pc_path}"; then
			return 1;
		fi;
	done;
};

# vim:filetype=sh textwidth=0