Large rework/update to EAPI=7

This commit is contained in:
layman
2021-06-23 14:52:35 +02:00
parent cc1a827c4f
commit 834bffce4d
191 changed files with 249 additions and 7004 deletions
-5
View File
@@ -1,5 +0,0 @@
AUX libcdio-1.0.0-cddb.patch 948 SHA256 6c067a244d1bd6b0f8de4dada570a535b18e5d66f9e0fedc8da33a42893937fb SHA512 248f02bc2c30c5b8752f2bb6341bd42b9f13b7f112a3b157ce05bbc2ac9562e5dcfe9d98f4531687efbfbdfdcf68c31de21a06605515119e5a631b7fb1de40cb WHIRLPOOL 850b9efc91c6acdd1cb476de3b3c1a8d06375c5c0a9bc72d959af0a4854b4c61f4b85bf16a16ee0370e4aedc4ceb96469901a6754651d897ed70f511892fb15e
AUX libcdio-1.0.0-version.patch 613 SHA256 b62106be928dcced85d346bd8bcb80afce4f562dfd4110ce77d6460382eb6d34 SHA512 6dc238f442fad3f0b35350fd11aa75bcdbc364cbc3616b4d61e9d53ff9b36b0293ce7e9e2118e07045399cd4a06fa5474870794326f11df98f3e218b74cef822 WHIRLPOOL b7339c0ffaee9347dbe3e77036c791769f2b3c8f706cebd877d894a3204e409f8907d89e569a5a2a37fce608ca0c1990ac76245278634ed934bc5e1de640cd78
DIST libcdio-1.0.0.tar.gz 2343992 SHA256 fe080bc3cb7a57becdecf2b392bf39c24df0211f5fdfddfe99748fa052a7e231 SHA512 2beb5c9cf455c5b56f0a8ba641b8fe322c487256b017108fadbdf288e92787fa0b956d2291aa877df5a9b4494f8425de58c0f71d587ef5f9346987733f66e5dc WHIRLPOOL 4a769a1202b9fbded34ba1de42a9409dad2d34f6f84d0884d6b5b3a091cc4405fca3e1989bf68ef3aefcad405bbb01c98a9101ee14e0ba1cd5cf9b74c8bc8aa1
EBUILD libcdio-1.0.0-r1.ebuild 1994 SHA256 2326d8aaf5078013d11a0fdfd1d55b34c7c47118be286cc95197ee2f4265e801 SHA512 95efc6c26d694d3afca4ae0a15fe6e04501c1bd87b8a0cdfbbbf27f41bf934cf9017551e3bd0ec708647cd66e5bc15b8de18ad596c363456c86f4df092c7f93b WHIRLPOOL 39793da5f2f9e594124eaaad1a4046f432dda6f5d81c3f2700c89e280ab2980840a382126010aea27aa4f0c23bd9d4a25990a77a7d16d69916eb679a731cd8b8
MISC metadata.xml 528 SHA256 7d1df8dc8c56ebe30a0c1d2f986baed96fb7d6319bf73e84deb438b87473133b SHA512 17b0f73a4496400d46b3485909fc6c6b3da85e99b5fc03335e9b6ce50233ac075edbe2fc97eee8bc817e632f53238d1c33c3166d33d0d10d745a31dac3797de9 WHIRLPOOL 5a07db691fa332ddc6baf55908aac29455e54fd2694523d12a53c7961e91cbd652d7a66f556235f26d8a7673bbe5ce8da2b180db3cd0cef5b2f3506bb783df16
@@ -1,23 +0,0 @@
diff -Naur libcdio-1.0.0.orig/src/cdda-player.c libcdio-1.0.0/src/cdda-player.c
--- libcdio-1.0.0.orig/src/cdda-player.c 2017-11-22 02:39:49.000000000 +0100
+++ libcdio-1.0.0/src/cdda-player.c 2017-11-24 16:16:39.652704315 +0100
@@ -531,8 +531,8 @@
get_cddb_disc_info(CdIo_t *p_cdio)
{
#ifdef HAVE_CDDB
- b_db = init_cddb(p_cdio, &p_conn, &p_cddb_disc, xperror, i_first_track,
- i_tracks, &i_cddb_matches);
+ b_db = init_cddb(p_cdio, &p_conn, &p_cddb_disc, xperror, i_first_track_global,
+ i_tracks_global, &i_cddb_matches);
if (b_db) {
int i_year;
i_year = atoi(year);
@@ -831,7 +831,7 @@
{
#ifdef HAVE_CDDB
cddb_track_t *t = cddb_disc_get_track(p_cddb_disc,
- i_track - i_first_track);
+ i_track - i_first_track_global);
if (t) {
cddb_track_set_title(t, title);
cddb_track_set_artist(t, artist);
@@ -1,16 +0,0 @@
--- libcdio-1.0.0/configure.ac
+++ libcdio-1.0.0/configure.ac
@@ -32,7 +32,12 @@
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
[AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
-LIBCDIO_VERSION_NUM=`echo RELEASE_NUM | cut -d . -f 1 | tr -d a-z`
+# Broken by design. See also
+# https://savannah.gnu.org/bugs/?52491
+# and
+# http://git.savannah.gnu.org/cgit/libcdio.git/patch/?id=2d22ae18571caf29460a456340ff0603f04af6b4
+#LIBCDIO_VERSION_NUM=`echo RELEASE_NUM | cut -d . -f 1 | tr -d a-z`
+LIBCDIO_VERSION_NUM=10000
AC_SUBST(LIBCDIO_VERSION_NUM)
AM_MISSING_PROG(HELP2MAN, help2man, $missing_dir)
-75
View File
@@ -1,75 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools libtool ltprune multilib-minimal
DESCRIPTION="A library to encapsulate CD-ROM reading and control"
HOMEPAGE="https://www.gnu.org/software/libcdio/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0/17" # subslot is based on SONAME
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="cddb +cxx minimal static-libs test"
RDEPEND="
!minimal? (
>=sys-libs/ncurses-5.7-r7:0=
cddb? ( >=media-libs/libcddb-1.3.2 )
)
>=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r10
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
DEPEND="${RDEPEND}
sys-apps/sed
sys-devel/gettext
virtual/pkgconfig
test? ( dev-lang/perl )"
DOCS="AUTHORS ChangeLog NEWS README* THANKS TODO"
MULTILIB_WRAPPED_HEADERS=(
/usr/include/cdio/cdio_config.h
/usr/include/cdio/version.h
)
PATCHES=( "${FILESDIR}/${P}-version.patch"
"${FILESDIR}/${P}-cddb.patch"
)
src_prepare() {
default
eautoreconf
sed \
-e "s:-lncurses:$($(tc-getPKG_CONFIG) --libs ncurses):g" \
-i configure || die
elibtoolize # to prevent -L/usr/lib ending up in the linker line wrt 499510
}
multilib_src_configure() {
local util_switch
if ! multilib_is_native_abi || use minimal ; then
util_switch="--without"
else
util_switch="--with"
fi
# Tests fail if ECONF_SOURCE is not relative
ECONF_SOURCE="../${P}" econf \
--disable-maintainer-mode \
$(use_enable cxx) \
--disable-cpp-progs \
--disable-example-progs \
$(use_enable static-libs static) \
$(use_enable cddb) \
--disable-vcd-info \
${util_switch}-{cd-drive,cd-info,cdda-player,cd-read,iso-info,iso-read}
}
multilib_src_install_all() {
einstalldocs
prune_libtool_files
}
-15
View File
@@ -1,15 +0,0 @@
<?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>
<use>
<flag name="minimal">
Only build the libcdio library and little more, just to be used to
link against from multimedia players. With this USE flag enabled,
none of the command-line utilities are built, nor is the CDDA library.
</flag>
</use>
</pkgmetadata>
-9
View File
@@ -1,9 +0,0 @@
# ChangeLog for dev-libs/libconcord
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*libconcord-0.24 (30 Oct 2012)
30 Oct 2012; Torsten Kurbad <gentoo@tk-webart.de> +libconcord-0.24.ebuild,
+metadata.xml:
initial ebuild
+3 -4
View File
@@ -1,4 +1,3 @@
DIST concordance-0.24.tar.bz2 1082955 SHA256 e2bea0430e936fd9e3e6a853b6533edbfd9211cf328c5334789b432035f03656 SHA512 d49af8fed94199dd183085dc013ad35801dd98283ee7e6c46e07a1fbea50d078201f51ab32cb92c3a8bf3d9099b3b6ae3d9aba05211570e76227c995e724323a WHIRLPOOL 282770806c300ed9510dea01c0baad1829492cc4ddf672de6dd34cf0b99c6ea69fc0e278ea63f5762687a0146bc9d384956e4607286edb96c18613630fdb54e6
EBUILD libconcord-0.24.ebuild 769 SHA256 af46fcac93251f00b8c7cf93c1bade8354254221ee1a7462a72d1a835b3a733e SHA512 38f4e79a199650adf276c2cac9b0802457dba7d335ee17bcd861344baf8b4b6c7fc191b3cc6826c2e01e115c75b60ca6f92ccfc28d673d8a829b4420273360b4 WHIRLPOOL 0391110aabe0886553bd628516f98420e60aff21f630aa74c1e0ac0af8e3c10737e30dd4c9fc93a446238097120d9ea19c43206e294faacaa5a61700e14c50b2
MISC ChangeLog 263 SHA256 e47c95b786d22c8108d84576723f2c061f2e037333efc77e412a900f51e8539a SHA512 0f256c69985a8e417000aa5bfa8f1ab204d629cd0448142f76249ee1af7420b90f503fad52d8d2e3a099193901bc749007c69c21192f78d39cbcfb9d621276d4 WHIRLPOOL 4dfa81af9fecca1cad51fcdf9f5b7c815524e623bb6aa5991d9022b982a4e594fdd96c579070c97ed9ea8f82b0f5166ce2f222036f487015d81ad510b774f975
MISC metadata.xml 229 SHA256 1dc92f5b2030f244164224424f100de3bd51b83de33eca93b2df2e30a23db61c SHA512 20398591940a347d6f2fd6b202833c9ff6482f05c760ee8001bc82127901b5800f00d11ccb3902a92b4c1bdd2c47f6e0c118654d0146312443369ec84f676907 WHIRLPOOL 35415755173534553f652b588970e2c0e8a8e9b0f90a94b72a8a67ab17c87138036bf0132b651d4c261dc69819029700163f5e549dd166c4ae60726f1088d685
DIST libconcord-1.4.tar.gz 122724 BLAKE2B c4fb2ef81956a252509a3acfe41d3d48416a2fb09384c1481d67ed3f63b140731222cdd71c7ce15681e8f82ab253efabf0b465fb440d45a74ad0e153665ac8f6 SHA512 bf4645791f35e9328a72b56c2cf20be30980e9f70379be0e24494b0f86e14869ff86d789f0e90341f5ab0abc6e747f91d3bc0ec20f730c33473fc54c39cf543b
EBUILD libconcord-1.4.ebuild 1946 BLAKE2B c5e246392b0b04f04b043f4ad55be2465a73d6995e583f89cbe6aec9e93c32d48100f878f8d069e99ca8835bd5ab7512429aba4d948a9bc583dbc23f402f19df SHA512 a53fabce5a9c5d2386ae46b9fe0fb11fb4b0de11c8a397c11e51d8a13ce6cf65f1e5b391b1394d316ae6032848334e3b0a11f0704a2a459a249c2cf103ec23cc
MISC metadata.xml 270 BLAKE2B a2fd019fbbbf3a66f2811f37c069b931997535afe955daf6c9040195fb9ee0af3250fd07344c0f5dfec502ab314d5e7a34b15589211083b990ebb533c7168719 SHA512 d8e48d8e3c8bb53761f9ecc45bdcbc6fa0e5eb93052d454c94b4efb6f24efff37406a94e142931b423fb7b907324ecf69d8ef30e108a341eef7552427a16bd8d
@@ -1,35 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit eutils toolchain-funcs
MY_P="concordance-${PV}"
DESCRIPTION="Library for programming the Logitech Harmony universal remote; part
of the concordance project"
HOMEPAGE="http://www.phildev.net/concordance/"
SRC_URI="mirror://sourceforge/concordance/${MY_P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND=">=dev-libs/libusb-0.1.12-r1"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_P}/${PN}"
src_compile() {
emake DESTDIR="${D}" || die "make failed"
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc ../Changelog ../LICENSE README
cd "${S}"/bindings/python
python setup.py install --root=${D}
}
+101
View File
@@ -0,0 +1,101 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
inherit autotools xdg-utils perl-module distutils-r1
DESCRIPTION="Library for programming the Logitech Harmony universal remote"
HOMEPAGE="https://www.phildev.net/concordance"
SRC_URI="https://github.com/jaymzh/concordance/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="perl python static-libs"
DEPEND="perl? ( >=dev-lang/swig-2:= )
python? ( ${PYTHON_DEPS} )"
RDEPEND="dev-libs/hidapi
dev-libs/libzip"
S="${WORKDIR}/concordance-${PV}/${PN}"
src_prepare() {
default
eautoreconf
if use perl ; then
cd "${S}/bindings/perl"
einfo "Prepare perl bindings in ${PWD}"
perl-module_src_prepare
swig -perl5 concord.i
cd "${S}"
fi
if use python ; then
cd "${S}/bindings/python"
einfo "Prepare python bindings in ${PWD}"
distutils-r1_src_prepare
cd "${S}"
fi
}
src_configure() {
econf \
--disable-mime-update \
$(use_enable static-libs static)
if use perl ; then
cd "${S}/bindings/perl"
einfo "Configure perl bindings in ${PWD}"
perl-module_src_configure
cd "${S}"
fi
}
src_compile() {
default
if use perl ; then
cd "${S}/bindings/perl"
einfo "Compile perl bindings in ${PWD}"
mymake=( OPTIMIZE="${CFLAGS} -I${S}" )
perl-module_src_compile
cd "${S}"
fi
if use python ; then
cd "${S}/bindings/python"
einfo "Prepare python bindings in ${PWD}"
distutils-r1_src_compile
cd "${S}"
fi
}
src_install() {
emake install DESTDIR="${ED}"
dodoc README
dodoc ../Changelog ../TODO
if use perl ; then
cd "${S}/bindings/perl"
einfo "Install perl bindings in ${PWD}"
perl-module_src_install
cd "${S}"
fi
if use python ; then
cd "${S}/bindings/python"
einfo "Install python bindings in ${PWD}"
distutils-r1_src_install
cd "${S}"
fi
}
pkg_postinst() {
xdg_mimeinfo_database_update
}
+4 -4
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>gentoo@tk-webart.de</email>
<name>Torsten Kurbad</name>
</maintainer>
<maintainer type="person">
<email>bertrand@jacquin.bzh</email>
<name>Bertrand Jacquin</name>
</maintainer>
</pkgmetadata>
-3
View File
@@ -1,3 +0,0 @@
DIST libserialport-0.1.1.tar.gz 405251 SHA256 4a2af9d9c3ff488e92fb75b4ba38b35bcf9b8a66df04773eba2a7bbf1fa7529d SHA512 7d379d1099173841e6d4df04c8c12dc6a4ebdfa0323ef35da6f3dea20db55d4f6ad81c1f6679f5aac7fe83270176428a817daa8627c336505335a07e06350a85 WHIRLPOOL 1dd4db30de12edf9c604fa3e70b0d643f940acf75d029e0ce92727e83b566cba1fca062e25ca379398b8351391e4b99b6942d35829883ba1faea2372c5be98ad
EBUILD libserialport-0.1.1.ebuild 704 SHA256 6094a0a7ee314b82cd3ea045dd366c4c2fc8afe7f230e2400591ee70656d5a17 SHA512 26b2ca273355733d64eb6a23bdb754d3432fb37160b57674054bcfbf00970f17942d6a3adfae1dcd34b194c77af4420fabbd9909eb9c6bf6af87cc995b01f88c WHIRLPOOL cb74d6d21d8b4e32ca95b67c8126b38f8efb5807899cc17fa733068d045dfdc3c131182aaac38b7b31a7119ba727c103e831b71ab4feb83e969b252f46fbd6dd
MISC metadata.xml 247 SHA256 751aa1f012df292bed9716a5c6a7e64114b695d2ba0c0572fc7e87fc3bbcebc5 SHA512 15df289e0f962f564551f61ada3cfef0311f6af639887def780bf5ad3be105515c8d24c950ff340ed35d89b9cd994af3540322b684c5dec3b43ec6bb0041aa4e WHIRLPOOL b6c074cf39f6ec1e2d085151836db47f9a4d71bcc9cc3296889bfa10172c7f07837ca79c8613f9c483b1332683e78eebe88e0a433a7caf801fc7ccac2552cd53
@@ -1,40 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
inherit eutils
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
inherit git-r3 autotools
else
SRC_URI="http://sigrok.org/download/source/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Cross platform serial port access library"
HOMEPAGE="http://sigrok.org/wiki/Libserialport"
LICENSE="LGPL-3"
SLOT="0"
IUSE="static-libs"
RDEPEND=""
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
[[ ${PV} == "9999" ]] && eautoreconf
}
src_configure() {
econf \
$(use_enable static-libs static)
}
src_install() {
default
prune_libtool_files
}
-8
View File
@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>embedded@gentoo.org</email>
<name>Embedded Gentoo</name>
</maintainer>
</pkgmetadata>
+1 -1
View File
@@ -1,4 +1,4 @@
AUX pigpio-44-MakeRemote.patch 813 BLAKE2B 65730fabed5016f9c93193417e90683292171ab7b6cac46bd9eeb4ef550115bfd8de3f549d4aa06e09cf942eb887ddda59901806e914b2ed3d6523c353d7b2e7 SHA512 fcc6c3a27f889b688928c3c65683c91b449eff3de692fed33f1465f97ff7c30844a5927dfef96225034831a4a3512f245292ce1efe5fac6c3f7f2472a7987cd8
AUX pigpio-9999-Makefile.patch 1962 BLAKE2B 73833ae5cfaeeaed28bf62073b11f6c0b88d1487f02c1010b9459926aaa911bd785a4517738f2441afebc22331469c7878460bf27b3ea5b900b8a4ecbba98dd6 SHA512 a181163ca0848766f1eee96cc3408d0f227f0281f8f1efb0d7530dbed2b5b42b94ce76e3b9bcfccb2c85e6c3bfc6f2048403a9ccaee45a0653ef52608a1234f3
EBUILD pigpio-9999.ebuild 1554 BLAKE2B 61fb24b6716fed03d1afb97f3d27c2340c22e3116da92bf70b187d3a15393fdbe686ca93f38e825cef74018f24d75f2c9200a63fb4de4f7f78e47b8707e22b04 SHA512 aba376d38f2f54fe50a1fa2b3bd4cab00e3001a6a9ce9aa3c5540f8eb412c91c2cf3c48889e96c1e2e2a576357558deb9d7001ca395ea6b8207e80cc11791941
EBUILD pigpio-9999.ebuild 1548 BLAKE2B 57596aefe9298fabb3622df1ac85d3baeea45e036f877234a0b7f5c4414460f0025d6c74133043a644ad954b15a761964515b9097d6720c91a2547222bb3f6c6 SHA512 c1a62443acc90cda2f0014a67aaebef325d8205d83e12482d6fdc49b428821c16984e74fe7d55619aca526c9c1b1952c6bcd47a195c5fe8b46ed384eaf6fd336
MISC metadata.xml 297 BLAKE2B b97ca67fe97dad72b5e8a79755f3888c8c48bd22a0766607b4b09859dcae7cebedcb33e02c5231025ac8e45506c195750e6eb8cfbbb5908ed94979c1ef194b4f SHA512 9284ce2486abe9a813147f1fc1d395fffd5f20f652281077ff39c823eb10a317fe5dd14413e39f3a6d25b8814535482105fcba8ba6af0988a2141e403d3b3d8b
+2 -2
View File
@@ -2,9 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
PYTHON_COMPAT=( python3_{7,8,9} )
DISTUTILS_OPTIONAL=1
DISTUTILS_USE_SETUPTOOLS=no
inherit eutils git-r3 toolchain-funcs distutils-r1