summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2022-12-15 10:39:39 +0100
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2022-12-15 10:39:39 +0100
commit7fea2504ae7dcb446781fb3cd9dbb75a337bd26b (patch)
tree000a52a17620c1c210c6142efe14f21533b20e66
parent7dbc08519c61501a87caa2c22422aa62fb93bc00 (diff)
downloadmidipix_build-7fea2504ae7dcb446781fb3cd9dbb75a337bd26b.tar.bz2
midipix_build-7fea2504ae7dcb446781fb3cd9dbb75a337bd26b.tar.xz
groups/251.native_packages_lib.group:libiconv:${PKG_INSTALL_FILES_V2}: additionally install %[_files]/lib/pkgconfig/iconv.pc=lib/pkgconfig/iconv.pc (fixes pixz build.)
files/libiconv/lib/pkgconfig/iconv.pc: added.
-rw-r--r--files/libiconv/lib/pkgconfig/iconv.pc13
-rw-r--r--groups/251.native_packages_lib.group4
2 files changed, 16 insertions, 1 deletions
diff --git a/files/libiconv/lib/pkgconfig/iconv.pc b/files/libiconv/lib/pkgconfig/iconv.pc
new file mode 100644
index 00000000..0e78f9d4
--- /dev/null
+++ b/files/libiconv/lib/pkgconfig/iconv.pc
@@ -0,0 +1,13 @@
+prefix=
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: iconv
+Description: library that provides an iconv() implementation, for use on systems which don't have one, or whose implementation cannot convert from/to Unicode
+Version: 1.17
+Cflags: -I${includedir}
+Cflags.private:
+Libs: -L${libdir} -liconv
+Libs.private:
+Requires.private:
diff --git a/groups/251.native_packages_lib.group b/groups/251.native_packages_lib.group
index 346b7aef..375e93e2 100644
--- a/groups/251.native_packages_lib.group
+++ b/groups/251.native_packages_lib.group
@@ -158,7 +158,9 @@ gcry_cv_visibility_attribute=yes"};
: ${PKG_LIBICONV_VERSION:=1.17};
: ${PKG_LIBICONV_URL:=https://ftp.gnu.org/pub/gnu/libiconv/libiconv-${PKG_LIBICONV_VERSION}.tar.gz};
: ${PKG_LIBICONV_CONFIGURE_ARGS_EXTRA:="--enable-extra-encodings"};
-: ${PKG_LIBICONV_INSTALL_FILES_V2:="@../../native/include/iconv.h=%[_prefix]/../x86_64-nt64-midipix/include/iconv.h"};
+: ${PKG_LIBICONV_INSTALL_FILES_V2:="
+ @../../native/include/iconv.h=%[_prefix]/../x86_64-nt64-midipix/include/iconv.v
+ +%[_files]/lib/pkgconfig/iconv.pc=lib/pkgconfig/iconv.pc"};
: ${PKG_LIBIDN2_DEPENDS:="libunistring libiconv"};
: ${PKG_LIBIDN2_SHA256SUM:=93caba72b4e051d1f8d4f5a076ab63c99b77faee019b72b9783b267986dbb45f};
: ${PKG_LIBIDN2_VERSION:=2.3.4};