summaryrefslogtreecommitdiffhomepage
path: root/vars/gdk.vars
blob: c14492921174a88df668da2dc3ef2b7442b9c83c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# 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