summaryrefslogtreecommitdiff
path: root/dev-util/pkgconfig
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-10 04:21:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-10 04:21:55 +0100
commit677b7ba5c317778df2ad7e70df94b9b7eec4adbc (patch)
tree6c418a1546fff5becab5d8b9ed6803323e7f316e /dev-util/pkgconfig
parentfbda87924e6faa7a1919f1a2b4182490bde5ec5c (diff)
gentoo resync : 10.09.2021
Diffstat (limited to 'dev-util/pkgconfig')
-rw-r--r--dev-util/pkgconfig/Manifest4
-rw-r--r--dev-util/pkgconfig/metadata.xml10
-rw-r--r--dev-util/pkgconfig/pkgconfig-0.29.2.ebuild121
-rw-r--r--dev-util/pkgconfig/pkgconfig-9999.ebuild117
4 files changed, 0 insertions, 252 deletions
diff --git a/dev-util/pkgconfig/Manifest b/dev-util/pkgconfig/Manifest
deleted file mode 100644
index 75b8b0646f55..000000000000
--- a/dev-util/pkgconfig/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST pkg-config-0.29.2.tar.gz 2016830 BLAKE2B e8f0420033524ad768cac3c82138546e4cd76c47f5835b7b98662ab01eaf3feef08f495a69c04980d51b57935567ab1d465ef4e1d0529735ad0031c828585324 SHA512 4861ec6428fead416f5cbbbb0bbad10b9152967e481d4b0ff2eb396a9f297f552984c9bb72f6864a37dcd8fca1d9ccceda3ef18d8f121938dbe4fdf2b870fe75
-EBUILD pkgconfig-0.29.2.ebuild 3815 BLAKE2B bc1f6b7642cb410871d38989fb0870c848dab00c284d1cf7cba8fd4dee1bec801f70a4f8d744e270141bcea854c7920c379ef24ef852626089492a5c29b9a84e SHA512 8ae7a64d6776dc7d22d9fe2f8753b7ed66ee69fea4e523d97050513efea15fe5143888247f90efff6ab1079f58178e5da28021d6878708ff225cc4daf4dfa015
-EBUILD pkgconfig-9999.ebuild 3697 BLAKE2B 22e3607d803206ca94d05973ee9e1cd6b0899080918a5a2e1f3c72f987ff8aca10ed117fc6d924ecbc7dc9da27ceedbe41299c8e7363f5876ce6af4e7cd82fa8 SHA512 7b1aaa6608f13b7587d63e1db9dc1654bfffadacc46334e7cea67f8cedec453d83663f6ed1dbebed497e1383497bde1c1d306dac953e6c0060a49b405bb166c0
-MISC metadata.xml 325 BLAKE2B af0abf473903faa5ce1e6d1918fa87b558b99b82d95c7f95ecb596684f7f55ee365a10e943752d1f3c8b6b1684ac4e0985329b89a6f19de2c926bcc0c3127382 SHA512 0db9510bbe132efa03acbbb4fb31407188edd83a6ac5c1d84316fa682db9399879957e8cd4447c1cbde01638f6d220f9a30a17611cd31e35769e71e5d38287a4
diff --git a/dev-util/pkgconfig/metadata.xml b/dev-util/pkgconfig/metadata.xml
deleted file mode 100644
index feea3b542d9b..000000000000
--- a/dev-util/pkgconfig/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>freedesktop-bugs@gentoo.org</email>
- </maintainer>
- <use>
- <flag name="internal-glib">Use internal copy of <pkg>dev-libs/glib</pkg></flag>
- </use>
-</pkgmetadata>
diff --git a/dev-util/pkgconfig/pkgconfig-0.29.2.ebuild b/dev-util/pkgconfig/pkgconfig-0.29.2.ebuild
deleted file mode 100644
index d854a38b0820..000000000000
--- a/dev-util/pkgconfig/pkgconfig-0.29.2.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-# Do not inherit autotools in non-live ebuild - causes circular dependency, bug #550856
-inherit eutils flag-o-matic libtool multilib multilib-minimal
-
-MY_P=pkg-config-${PV}
-
-if [[ ${PV} == *9999* ]]; then
- # 1.12 is only needed for tests due to some am__check_pre / LOG_DRIVER
- # weirdness with "/bin/bash /bin/sh" in arguments chain with >=1.13
- WANT_AUTOMAKE=1.12
- EGIT_REPO_URI="https://anongit.freedesktop.org/git/pkg-config.git"
- EGIT_CHECKOUT_DIR=${WORKDIR}/${MY_P}
- inherit autotools git-r3
-else
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
- SRC_URI="https://pkgconfig.freedesktop.org/releases/${MY_P}.tar.gz"
-fi
-
-DESCRIPTION="Package config system that manages compile/link flags"
-HOMEPAGE="https://pkgconfig.freedesktop.org/wiki/"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="elibc_FreeBSD elibc_glibc hardened internal-glib"
-
-RDEPEND="!internal-glib? ( >=dev-libs/glib-2.34.3[${MULTILIB_USEDEP}] )
- !dev-util/pkgconf[pkg-config]
- !dev-util/pkg-config-lite
- !dev-util/pkgconfig-openbsd[pkg-config]
- virtual/libintl"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-DOCS=( AUTHORS NEWS README )
-
-src_prepare() {
- sed -i -e "s|^prefix=/usr\$|prefix=${EPREFIX}/usr|" check/simple.pc || die #434320
-
- eapply_user
-
- if [[ ${PV} == *9999* ]]; then
- eautoreconf
- else
- elibtoolize
- fi
-
- if [[ ${CHOST} == *-solaris* ]] ; then
- # fix standards conflict, since gcc-4.5 default is gnu90
- if tc-is-gcc && [[ $(gcc-major-version) -gt 4 || \
- ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -ge 5 ) ]] ;
- then
- sed -i \
- -e 's/\<\(_XOPEN_SOURCE_EXTENDED\)\>/\1_DISABLED/' \
- -e '/\<_XOPEN_SOURCE\>/s/2/600/' \
- glib/configure || die
- fi
- fi
-}
-
-multilib_src_configure() {
- local myconf
-
- if use internal-glib; then
- myconf+=' --with-internal-glib'
- # non-glibc platforms use GNU libiconv, but configure needs to
- # know about that not to get confused when it finds something
- # outside the prefix too
- if use prefix && use !elibc_glibc ; then
- myconf+=" --with-libiconv=gnu"
- # add the libdir for libtool, otherwise it'll make love with system
- # installed libiconv
- append-ldflags "-L${EPREFIX}/usr/$(get_libdir)"
- # the glib objects reference symbols from these frameworks,
- # not good, esp. since Carbon should be deprecated
- [[ ${CHOST} == *-darwin* ]] && \
- append-ldflags -framework CoreFoundation -framework Carbon
- if [[ ${CHOST} == *-solaris* ]] ; then
- # required due to __EXTENSIONS__
- append-cppflags -DENABLE_NLS
- # similar to Darwin
- append-ldflags -lintl
- fi
- fi
- else
- if ! has_version --host-root dev-util/pkgconfig; then
- export GLIB_CFLAGS="-I${EPREFIX}/usr/include/glib-2.0 -I${EPREFIX}/usr/$(get_libdir)/glib-2.0/include"
- export GLIB_LIBS="-lglib-2.0"
- fi
- fi
-
- use ppc64 && use hardened && replace-flags -O[2-3] -O1
-
- # Force using all the requirements when linking, so that needed -pthread
- # lines are inherited between libraries
- use elibc_FreeBSD && myconf+=' --enable-indirect-deps'
-
- [[ ${PV} == *9999* ]] && myconf+=' --enable-maintainer-mode'
-
- ECONF_SOURCE=${S} \
- econf \
- --docdir="${EPREFIX}"/usr/share/doc/${PF}/html \
- --with-system-include-path="${EPREFIX}"/usr/include \
- --with-system-library-path="${EPREFIX}"/usr/$(get_libdir) \
- ${myconf}
-}
-
-multilib_src_install() {
- emake DESTDIR="${D}" install
-
- if use prefix; then
- # Add an explicit reference to $EPREFIX to PKG_CONFIG_PATH to
- # simplify cross-prefix builds
- echo "PKG_CONFIG_PATH=${EPREFIX}/usr/$(get_libdir)/pkgconfig:${EPREFIX}/usr/share/pkgconfig" >> "${T}"/99${PN}
- doenvd "${T}"/99${PN}
- fi
-}
diff --git a/dev-util/pkgconfig/pkgconfig-9999.ebuild b/dev-util/pkgconfig/pkgconfig-9999.ebuild
deleted file mode 100644
index d2554a4effda..000000000000
--- a/dev-util/pkgconfig/pkgconfig-9999.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-# Do not inherit autotools in non-live ebuild - causes circular dependency, bug #550856
-inherit eutils flag-o-matic libtool multilib multilib-minimal
-
-MY_P=pkg-config-${PV}
-
-if [[ ${PV} == *9999* ]]; then
- # 1.12 is only needed for tests due to some am__check_pre / LOG_DRIVER
- # weirdness with "/bin/bash /bin/sh" in arguments chain with >=1.13
- WANT_AUTOMAKE=1.12
- EGIT_REPO_URI="https://anongit.freedesktop.org/git/pkg-config.git"
- EGIT_CHECKOUT_DIR=${WORKDIR}/${MY_P}
- inherit autotools git-r3
-else
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
- SRC_URI="https://pkgconfig.freedesktop.org/releases/${MY_P}.tar.gz"
-fi
-
-DESCRIPTION="Package config system that manages compile/link flags"
-HOMEPAGE="https://pkgconfig.freedesktop.org/wiki/"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="elibc_FreeBSD elibc_glibc hardened internal-glib"
-
-RDEPEND="!internal-glib? ( >=dev-libs/glib-2.34.3[${MULTILIB_USEDEP}] )
- !dev-util/pkgconf[pkg-config]
- !dev-util/pkg-config-lite
- !dev-util/pkgconfig-openbsd[pkg-config]
- virtual/libintl"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-DOCS=( AUTHORS NEWS README )
-
-src_prepare() {
- sed -i -e "s|^prefix=/usr\$|prefix=${EPREFIX}/usr|" check/simple.pc || die #434320
-
- eapply_user
-
- if [[ ${PV} == *9999* ]]; then
- eautoreconf
- else
- elibtoolize
- fi
-
- if [[ ${CHOST} == *-solaris* ]] ; then
- # fix standards conflicts
- sed -i -e 's/\(_XOPEN_SOURCE\(_EXTENDED\)\?\|__EXTENSIONS__\)/ \1_DISABLED/' \
- glib/configure || die
- sed -i -e '/#define\s\+_POSIX_SOURCE/d' \
- glib/glib/giounix.c || die
- fi
-}
-
-multilib_src_configure() {
- local myconf
-
- if use internal-glib; then
- myconf+=' --with-internal-glib'
- # non-glibc platforms use GNU libiconv, but configure needs to
- # know about that not to get confused when it finds something
- # outside the prefix too
- if use prefix && use !elibc_glibc ; then
- myconf+=" --with-libiconv=gnu"
- # add the libdir for libtool, otherwise it'll make love with system
- # installed libiconv
- append-ldflags "-L${EPREFIX}/usr/$(get_libdir)"
- # the glib objects reference symbols from these frameworks,
- # not good, esp. since Carbon should be deprecated
- [[ ${CHOST} == *-darwin* ]] && \
- append-ldflags -framework CoreFoundation -framework Carbon
- if [[ ${CHOST} == *-solaris* ]] ; then
- # required due to __EXTENSIONS__
- append-cppflags -DENABLE_NLS
- # similar to Darwin
- append-ldflags -lintl
- fi
- fi
- else
- if ! has_version --host-root dev-util/pkgconfig; then
- export GLIB_CFLAGS="-I${EPREFIX}/usr/include/glib-2.0 -I${EPREFIX}/usr/$(get_libdir)/glib-2.0/include"
- export GLIB_LIBS="-lglib-2.0"
- fi
- fi
-
- use ppc64 && use hardened && replace-flags -O[2-3] -O1
-
- # Force using all the requirements when linking, so that needed -pthread
- # lines are inherited between libraries
- use elibc_FreeBSD && myconf+=' --enable-indirect-deps'
-
- [[ ${PV} == *9999* ]] && myconf+=' --enable-maintainer-mode'
-
- ECONF_SOURCE=${S} \
- econf \
- --docdir="${EPREFIX}"/usr/share/doc/${PF}/html \
- --with-system-include-path="${EPREFIX}"/usr/include \
- --with-system-library-path="${EPREFIX}"/usr/$(get_libdir) \
- ${myconf}
-}
-
-multilib_src_install() {
- emake DESTDIR="${D}" install
-
- if use prefix; then
- # Add an explicit reference to $EPREFIX to PKG_CONFIG_PATH to
- # simplify cross-prefix builds
- echo "PKG_CONFIG_PATH=${EPREFIX}/usr/$(get_libdir)/pkgconfig:${EPREFIX}/usr/share/pkgconfig" >> "${T}"/99${PN}
- doenvd "${T}"/99${PN}
- fi
-}