diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/libcdio-paranoia | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/libcdio-paranoia')
9 files changed, 436 insertions, 0 deletions
diff --git a/dev-libs/libcdio-paranoia/Manifest b/dev-libs/libcdio-paranoia/Manifest new file mode 100644 index 000000000000..25dfc2956411 --- /dev/null +++ b/dev-libs/libcdio-paranoia/Manifest @@ -0,0 +1,12 @@ +AUX libcdio-paranoia-0.90-mkdir_p.patch 635 BLAKE2B ed82c6ad81e3fc9540f9dade8e7b006b37cb98240c867e8673ed9ff6f928ed7e6ac5c7bf1356cf10a1437972a68fdf7d7770825dbfbc1e8b58615137a6168bbe SHA512 e4f96b631c7dcec607878af5b4c26307b9b002ad7a2866f31030f9c5f596607d0ec2df760941220d3ec209919b2cd9f911afe80240d7a0ab67b163e34759418f +AUX libcdio-paranoia-0.90-oos-tests.patch 1401 BLAKE2B 0b4ba222d667325b2413519e1cc16065c756c17c5739e6edf3ade9dc6e0156b5a769f0f608d75624047ae47ed2187f4c80e182e58cb51bf7433a433e6673a695 SHA512 b8f556f39daa9746a87804d2c35d0458f133a21a026c8e5fb7739826d86972b7ed85255e5c3e6e739da40d56a9b8166f9b096308c844a471d4e152b7d39a7b1a +DIST libcdio-paranoia-10.2+0.90+1.tar.gz 634050 BLAKE2B 10a7f8b2a45e5605afa6961132f0bf949ba51222a6c23b7a933032e3e430e60104eae8f7d49fc6ec18894fe0e826e9387f67f186af0ba277a9e7341484aa8ac3 SHA512 c3d00b57f22deb19be929ba87f41bbd83fc51ca66e8ccc1da7acb4131d85449fdd38161cc3ec0f1714fc0571e219d72029b5a72f853c139aa479695df783aad6 +DIST libcdio-paranoia-10.2+0.93+1.tar.gz 686055 BLAKE2B 5b4c30687c907cc8dd0917263c20e3d55e425cb7fb2a935a79ec6c5cc82c6165a5504fe71b77e314bd4a828b0c652f948cce62fecf94341d20c920c66450d97a SHA512 2bb418c99ef037aeb90ba3db841ea9182c5bc401e74c6f4b552730e6c8561552f7d3e27be71ef4fbb07b4fcd9db418a4fe330d5278e8f41cdd99c757aa4b8bc6 +DIST libcdio-paranoia-10.2+0.94+1.tar.gz 703424 BLAKE2B 592ac7704f60e7701cff4edb7e4dc532cb35603ef47c159c84c6aa8bfa69bdc41e435ac566fd0483cee2a2fd1d03a31202382fc1ccaf179c9183f324d5605d80 SHA512 9b2381491271090bac08594cb1d84de98e9f0a5afc6a2c98e9ffcf4b95addc3adcd0f0b9adeb928dfbf8178356ad6a7ccfeb048685c823d138b2af232f0b4c93 +DIST libcdio-paranoia-10.2+0.94+2.tar.gz 704560 BLAKE2B babb912a7252b25b1d32f7d3cc80d73235383170b16118c4f6fcddd58ded534b2e5a8bb61aa8ca784270fc4631ea3e53cdc88d03b0a7686f74ab1cef7ca35980 SHA512 0e4ed5cc52d0758e945ac7f956c1ca870068f6444df912e2ba5f597947962c471d1c526b5cdab4e092fecb924ecb317667df454497b2e515a4e985693cd86f47 +EBUILD libcdio-paranoia-0.90_p1-r1.ebuild 1574 BLAKE2B dbc8b3712c4e67372d2d5329130fc7bdee625ae7306ad8a61b357ac80446ccac85841f1431ab873d0ff7ad5bf443ce6fa56fb66803261dc469e5b61a32ab6acc SHA512 7aa1a3fb8258978074a86f04ec5bb78253505152a13aea868182b46daa2f7ff4ce97adc130e53a0a7f7a2fa2ab7a9959d3fbd71824eb11f42dfc7ff797af266c +EBUILD libcdio-paranoia-0.93_p1-r1.ebuild 1762 BLAKE2B c43f64a13e6aec5229d0d774478e4c29719b6a9055aa314a56d11b7b3b00161674b85ceef8693f713f11436ce19c730ce502a4e2c5274d2c5d015790f7c3dc6a SHA512 a243098fd587b73e37cd71794618dd56a4351fb2391a63b5f2a7c817f4636c091abce590d6fdef8bb575bb275e06142202d22c93b3ca837a9972d27a6659640e +EBUILD libcdio-paranoia-0.93_p1.ebuild 1754 BLAKE2B 5f61c570e2dc7e958893cfaa5ef3617c597de277e81fbd2c084efeaee47f0876f2657d4a0b298c201e9e66bf0fef16a86b5f6f82b87f25445c4257bc7e5e6bf5 SHA512 1243a48a69fea0103a7782c741148f7a5901541976907eb8ce948374cf691110be9a94c685bd7a7ec80fb297250f5f1d600db2a8bd851ce2317078308a54e39a +EBUILD libcdio-paranoia-0.94_p1-r1.ebuild 1996 BLAKE2B cdcc9c4af325236f037f8746b30accb3ac3ba9b243db868d43aa80657a09bf23b3d6fbe83fe355b77fd572dda0d638df8781b4c1354cb12ba225940d1159ed84 SHA512 2da677ab4afc41ec79202dccb1482758da48d34e496b4b82010d0b3248e52794667841cba837ee639ed8debff363c30b67861ad9a9ff67744072bf99d5765daa +EBUILD libcdio-paranoia-0.94_p2.ebuild 1993 BLAKE2B 91b862846445245a8efab6b6ffb9c03175c0839a84eee5ff38d529247f064c3177b94e15455d37e4a545c855e727b187a1429ab3c2b4c243cbd6fe3b89c0cb07 SHA512 4d33bffa64d781a9032fb428a6ecbcafeac541f9817e4d2678d7e4b7d886f149510c271828c09f1902b76c4a1b67b78ccd5423fde47fe84639415aa41ff96463 +MISC metadata.xml 249 BLAKE2B f7f8f071ecba933f3d39b0b60983281d59299b92de9375a60ab4109d7202800cb790bce0c426227f04b3e2624b1adb20876145741355abc6a4938b8b9698d144 SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 diff --git a/dev-libs/libcdio-paranoia/files/libcdio-paranoia-0.90-mkdir_p.patch b/dev-libs/libcdio-paranoia/files/libcdio-paranoia-0.90-mkdir_p.patch new file mode 100644 index 000000000000..98681d0a08fc --- /dev/null +++ b/dev-libs/libcdio-paranoia/files/libcdio-paranoia-0.90-mkdir_p.patch @@ -0,0 +1,26 @@ +http://bugs.gentoo.org/455374 +http://github.com/rocky/libcdio-paranoia/issues/1 +https://savannah.gnu.org/bugs/index.php?38273 + +--- a/configure.ac ++++ b/configure.ac +@@ -74,6 +74,8 @@ + dnl Checks for programs. + AC_AIX + ++AC_PROG_MKDIR_P ++ + if test "x$GCC" != "xyes" + then + AC_MSG_WARN([ +--- a/doc/ja/Makefile.am ++++ b/doc/ja/Makefile.am +@@ -25,7 +25,7 @@ + + install-man1: $(man_MANS) + @$(NORMAL_INSTALL) +- test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(mandir)$(mansubdir)" ++ test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(mandir)$(mansubdir)" + @list='$(man1_MANS)'; \ + l2='$(man_MANS)'; for i in $$l2; do \ + case "$$i" in \ diff --git a/dev-libs/libcdio-paranoia/files/libcdio-paranoia-0.90-oos-tests.patch b/dev-libs/libcdio-paranoia/files/libcdio-paranoia-0.90-oos-tests.patch new file mode 100644 index 000000000000..86cf9da8d0fd --- /dev/null +++ b/dev-libs/libcdio-paranoia/files/libcdio-paranoia-0.90-oos-tests.patch @@ -0,0 +1,48 @@ +From 4803c621d4f907402f29eba8cc3a6515bdda2ee2 Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich <slyfox@gentoo.org> +Date: Mon, 12 Jun 2017 21:20:35 +0100 +Subject: [PATCH] configure.ac: fix out-of-tree tests + +To reproduce the test failure one needs to run +configure using absolute path in a directory +outside source tree. For example: + + $ $(pwd)/../libcdio-paranoia/configure + $ make + $ make check + +This will cause 'native_abs_top_srcdir' to contain wrong path. + +It happens because '[]' is an escape in autoconf. +As a the following configure.ac snippet: + [\\/]* | ?:[\\/]* ) # Absolute name. +gets translated into the following shell code: + \\/* | ?:\\/* ) # Absolute name. + +The fix is to change quotes from '[]' for a short while. + +Reported-by: eroen +Reported-by: Paolo Pedroni +Bug: https://bugs.gentoo.org/546388 +Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> +--- + configure.ac | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/configure.ac b/configure.ac +index a502273..608277b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -243,7 +243,9 @@ dnl native_abs_top_srcdir is used here. + case $srcdir in + .) # We are building in place. + native_abs_top_srcdir=$ac_pwd ;; ++ changequote(`,') + [\\/]* | ?:[\\/]* ) # Absolute name. ++ changequote([,]) + native_abs_top_srcdir=$srcdir ;; + *) # Relative name. + native_abs_top_srcdir=$ac_pwd/$srcdir ;; +-- +2.13.1 + diff --git a/dev-libs/libcdio-paranoia/libcdio-paranoia-0.90_p1-r1.ebuild b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.90_p1-r1.ebuild new file mode 100644 index 000000000000..ed391732a871 --- /dev/null +++ b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.90_p1-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_P=${PN}-10.2+${PV/_p/+} + +inherit autotools multilib-minimal + +DESCRIPTION="an advanced CDDA reader with error correction" +HOMEPAGE="https://www.gnu.org/software/libcdio/" +SRC_URI="mirror://gnu/${PN%-*}/${MY_P}.tar.gz" + +# COPYING-GPL from cdparanoia says "2 or later" +# COPYING-LGPL from cdparanoia says "2.1 or later" but 2 files are without the +# clause "or later" so we use LGPL-2.1 without + +LICENSE="GPL-3+ GPL-2+ LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="+cxx static-libs test" + +RDEPEND="app-eselect/eselect-cdparanoia + >=dev-libs/libcdio-0.90-r1[${MULTILIB_USEDEP}] + >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] +" + +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig + test? ( dev-lang/perl )" + +S="${WORKDIR}/${MY_P}" + +DOCS=( AUTHORS ChangeLog NEWS README THANKS ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.90-mkdir_p.patch +) + +src_prepare() { + default + sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #466410 + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + --disable-maintainer-mode + --disable-example-progs + $(use_enable cxx) + --disable-cpp-progs + --with-cd-paranoia-name=libcdio-paranoia + ) + ECONF_SOURCE="${S}" \ + econf "${myeconfargs[@]}" +} + +pkg_postinst() { + eselect cdparanoia update ifunset +} + +pkg_postrm() { + eselect cdparanoia update ifunset +} diff --git a/dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1-r1.ebuild b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1-r1.ebuild new file mode 100644 index 000000000000..4e154159b78b --- /dev/null +++ b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_P=${PN}-10.2+${PV/_p/+} + +inherit autotools multilib-minimal flag-o-matic + +DESCRIPTION="an advanced CDDA reader with error correction" +HOMEPAGE="https://www.gnu.org/software/libcdio/" +SRC_URI="mirror://gnu/${PN%-*}/${MY_P}.tar.gz" + +# COPYING-GPL from cdparanoia says "2 or later" +# COPYING-LGPL from cdparanoia says "2.1 or later" but 2 files are without the +# clause "or later" so we use LGPL-2.1 without + +LICENSE="GPL-3+ GPL-2+ LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="+cxx static-libs test" + +RDEPEND="app-eselect/eselect-cdparanoia + >=dev-libs/libcdio-0.93:0=[${MULTILIB_USEDEP}] + >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] +" + +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig + test? ( dev-lang/perl )" + +S="${WORKDIR}/${MY_P}" + +DOCS=( AUTHORS ChangeLog NEWS README THANKS ) + +PATCHES=("${FILESDIR}"/${PN}-0.90-oos-tests.patch) + +src_prepare() { + default + sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #466410 + eautoreconf + + [[ ${CC} == *clang* ]] && append-flags -std=gnu89 +} + +multilib_src_configure() { + local myeconfargs=( + --disable-maintainer-mode + --disable-example-progs + $(use_enable cxx) + --disable-cpp-progs + --with-cd-paranoia-name=libcdio-paranoia + ) + # Darwin linker doesn't get this + [[ ${CHOST} == *-darwin* ]] && myeconfargs+=( --without-versioned-libs ) + ECONF_SOURCE="${S}" \ + econf "${myeconfargs[@]}" +} + +pkg_postinst() { + eselect cdparanoia update ifunset +} + +pkg_postrm() { + eselect cdparanoia update ifunset +} diff --git a/dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1.ebuild b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1.ebuild new file mode 100644 index 000000000000..d10701c912ca --- /dev/null +++ b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_P=${PN}-10.2+${PV/_p/+} + +inherit autotools flag-o-matic multilib-minimal + +DESCRIPTION="an advanced CDDA reader with error correction" +HOMEPAGE="https://www.gnu.org/software/libcdio/" +SRC_URI="mirror://gnu/${PN%-*}/${MY_P}.tar.gz" + +# COPYING-GPL from cdparanoia says "2 or later" +# COPYING-LGPL from cdparanoia says "2.1 or later" but 2 files are without the +# clause "or later" so we use LGPL-2.1 without + +LICENSE="GPL-3+ GPL-2+ LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="+cxx static-libs test" + +RDEPEND="app-eselect/eselect-cdparanoia + >=dev-libs/libcdio-0.93[${MULTILIB_USEDEP}] + >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] +" + +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig + test? ( dev-lang/perl )" + +S="${WORKDIR}/${MY_P}" + +DOCS=( AUTHORS ChangeLog NEWS README THANKS ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.90-oos-tests.patch +) + +src_prepare() { + default + sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #466410 + eautoreconf + + [[ ${CC} == *clang* ]] && append-flags -std=gnu89 +} + +multilib_src_configure() { + local myeconfargs=( + --disable-maintainer-mode + --disable-example-progs + $(use_enable cxx) + --disable-cpp-progs + --with-cd-paranoia-name=libcdio-paranoia + ) + # Darwin linker doesn't get this + [[ ${CHOST} == *-darwin* ]] && myeconfargs+=( --without-versioned-libs ) + ECONF_SOURCE="${S}" \ + econf "${myeconfargs[@]}" +} + +pkg_postinst() { + eselect cdparanoia update ifunset +} + +pkg_postrm() { + eselect cdparanoia update ifunset +} diff --git a/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p1-r1.ebuild b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p1-r1.ebuild new file mode 100644 index 000000000000..0fe60647a429 --- /dev/null +++ b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p1-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_P=${PN}-10.2+${PV/_p/+} + +inherit eutils autotools multilib-minimal flag-o-matic + +DESCRIPTION="an advanced CDDA reader with error correction" +HOMEPAGE="https://www.gnu.org/software/libcdio/" +SRC_URI="mirror://gnu/${PN%-*}/${MY_P}.tar.gz" + +# COPYING-GPL from cdparanoia says "2 or later" +# COPYING-LGPL from cdparanoia says "2.1 or later" but 2 files are without the +# clause "or later" so we use LGPL-2.1 without + +LICENSE="GPL-3+ GPL-2+ LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="+cxx static-libs test" + +RDEPEND="app-eselect/eselect-cdparanoia + >=dev-libs/libcdio-0.94:0=[${MULTILIB_USEDEP}] + >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] +" + +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig + test? ( dev-lang/perl )" + +S="${WORKDIR}/${MY_P}" + +DOCS=( AUTHORS ChangeLog NEWS README.md THANKS ) + +PATCHES=("${FILESDIR}"/${PN}-0.90-oos-tests.patch) + +src_prepare() { + default + sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #466410 + eautoreconf + + [[ ${CC} == *clang* ]] && append-flags -std=gnu89 +} + +multilib_src_configure() { + local myeconfargs=( + --disable-maintainer-mode + --disable-example-progs + $(use_enable cxx) + --disable-cpp-progs + --with-cd-paranoia-name=libcdio-paranoia + # upstream accidentally default-disabled it + # reenable it to preserve ABI compat with previous versions + # https://bugs.gentoo.org/616054 + # https://savannah.gnu.org/bugs/index.php?50978 + --enable-ld-version-script + ) + # Darwin linker doesn't get this + [[ ${CHOST} == *-darwin* ]] && myeconfargs+=( --disable-ld-version-script ) + ECONF_SOURCE="${S}" \ + econf "${myeconfargs[@]}" +} + +pkg_postinst() { + eselect cdparanoia update ifunset +} + +pkg_postrm() { + eselect cdparanoia update ifunset +} diff --git a/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p2.ebuild b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p2.ebuild new file mode 100644 index 000000000000..086fc986f701 --- /dev/null +++ b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_P=${PN}-10.2+${PV/_p/+} + +inherit autotools multilib-minimal flag-o-matic + +DESCRIPTION="an advanced CDDA reader with error correction" +HOMEPAGE="https://www.gnu.org/software/libcdio/" +SRC_URI="mirror://gnu/${PN%-*}/${MY_P}.tar.gz" + +# COPYING-GPL from cdparanoia says "2 or later" +# COPYING-LGPL from cdparanoia says "2.1 or later" but 2 files are without the +# clause "or later" so we use LGPL-2.1 without + +LICENSE="GPL-3+ GPL-2+ LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="+cxx static-libs test" + +RDEPEND="app-eselect/eselect-cdparanoia + >=dev-libs/libcdio-0.94:0=[${MULTILIB_USEDEP}] + >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] +" + +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig + test? ( dev-lang/perl )" + +S="${WORKDIR}/${MY_P}" + +DOCS=( AUTHORS ChangeLog NEWS README.md THANKS ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.90-oos-tests.patch +) + +src_prepare() { + default + sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #466410 + eautoreconf + + [[ ${CC} == *clang* ]] && append-flags -std=gnu89 +} + +multilib_src_configure() { + local myeconfargs=( + --disable-maintainer-mode + --disable-example-progs + $(use_enable cxx) + --disable-cpp-progs + --with-cd-paranoia-name=libcdio-paranoia + # upstream accidentally default-disabled it + # reenable it to preserve ABI compat with previous versions + # https://bugs.gentoo.org/616054 + # https://savannah.gnu.org/bugs/index.php?50978 + --enable-ld-version-script + ) + # Darwin linker doesn't get this + [[ ${CHOST} == *-darwin* ]] && myeconfargs+=( --disable-ld-version-script ) + ECONF_SOURCE="${S}" \ + econf "${myeconfargs[@]}" +} + +pkg_postinst() { + eselect cdparanoia update ifunset +} + +pkg_postrm() { + eselect cdparanoia update ifunset +} diff --git a/dev-libs/libcdio-paranoia/metadata.xml b/dev-libs/libcdio-paranoia/metadata.xml new file mode 100644 index 000000000000..c870d0eef0ab --- /dev/null +++ b/dev-libs/libcdio-paranoia/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> +</maintainer> +</pkgmetadata> |