summaryrefslogtreecommitdiffhomepage
path: root/vars/gdk.vars
blob: 0aac8f8a8b55ca294691ca2644546d735a4ac517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# set +o errexit -o noglob 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:\s\+gobject-2.0$/s/^.*$/& gio-2.0/' "${_pc_path}"; then
			return 1;
		fi;
	done;
};

# vim:filetype=sh textwidth=0