logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 6662ed80b56078c2f114c77076f1f19a53e99aa7
parent 4ffa00f047788fd8b92511ce080376e04ed9a12d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 21 May 2021 14:49:25 +0200

media-libs/libsidplay: Remove, EAPI=4

Diffstat:

Dmedia-libs/libsidplay/Manifest1-
Dmedia-libs/libsidplay/files/65resid1-
Dmedia-libs/libsidplay/files/libsidplay-2.1.1-fbsd.patch11-----------
Dmedia-libs/libsidplay/files/libsidplay-2.1.1-gcc41.patch37-------------------------------------
Dmedia-libs/libsidplay/files/libsidplay-2.1.1-no_libtool_reference.patch18------------------
Dmedia-libs/libsidplay/libsidplay-2.1.1-r5.ebuild55-------------------------------------------------------
Dmedia-libs/libsidplay/metadata.xml8--------
7 files changed, 0 insertions(+), 131 deletions(-)

diff --git a/media-libs/libsidplay/Manifest b/media-libs/libsidplay/Manifest @@ -1 +0,0 @@ -DIST sidplay-libs-2.1.1.tar.gz 1900252 BLAKE2B f04e34f4cfc641a8222e5d53575108bd52deb2de2dc0b0d58e91581ade7128ac87f320f16e044baa23b54de6b5b6b833e9f6c0d37a1885341a329e778c0a0228 SHA512 754cd41f3d2d76754049522c395022bc090f99ea838e6d1ffb8d7689f3aedad9b3879be0312d0af49ba108563296c1176d1e533d1151d5b33368bfda0a1910e3 diff --git a/media-libs/libsidplay/files/65resid b/media-libs/libsidplay/files/65resid @@ -1 +0,0 @@ -LDPATH="/usr/lib64/sidplay/builders:/usr/lib/sidplay/builders" diff --git a/media-libs/libsidplay/files/libsidplay-2.1.1-fbsd.patch b/media-libs/libsidplay/files/libsidplay-2.1.1-fbsd.patch @@ -1,11 +0,0 @@ ---- a/libsidutils/src/ini/ini.cpp -+++ b/libsidutils/src/ini/ini.cpp -@@ -100,7 +100,7 @@ - //******************************************************************************************************************* - #include <assert.h> - #include <ctype.h> --#include <malloc.h> -+#include <stdlib.h> - #include <stdio.h> - #include <string.h> - diff --git a/media-libs/libsidplay/files/libsidplay-2.1.1-gcc41.patch b/media-libs/libsidplay/files/libsidplay-2.1.1-gcc41.patch @@ -1,37 +0,0 @@ ---- a/libsidplay/include/sidplay/SmartPtr.h -+++ b/libsidplay/include/sidplay/SmartPtr.h -@@ -211,16 +211,16 @@ - { - if ( bufferLen >= 1 ) - { -- pBufCurrent = ( bufBegin = buffer ); -- bufEnd = bufBegin + bufferLen; -- bufLen = bufferLen; -- status = true; -+ this->pBufCurrent = ( this->bufBegin = buffer ); -+ this->bufEnd = this->bufBegin + bufferLen; -+ this->bufLen = bufferLen; -+ this->status = true; - } - else - { -- pBufCurrent = bufBegin = bufEnd = 0; -- bufLen = 0; -- status = false; -+ this->pBufCurrent = this->bufBegin = this->bufEnd = 0; -+ this->bufLen = 0; -+ this->status = false; - } - } - }; ---- a/libsidutils/include/sidplay/utils/SidUsage.h -+++ b/libsidutils/include/sidplay/utils/SidUsage.h -@@ -33,7 +33,7 @@ - uint_least16_t length; // usage scan length - - // Copy common parts of basic usage to extended usage. -- sid2_usage_t &sid2_usage_t::operator= (const sid_usage_t &usage) -+ sid2_usage_t &operator= (const sid_usage_t &usage) - { - *((sid_usage_t *) this) = usage; - return *this; diff --git a/media-libs/libsidplay/files/libsidplay-2.1.1-no_libtool_reference.patch b/media-libs/libsidplay/files/libsidplay-2.1.1-no_libtool_reference.patch @@ -1,18 +0,0 @@ ---- a/libsidplay/unix/libsidplay2.pc.in -+++ b/libsidplay/unix/libsidplay2.pc.in -@@ -7,5 +7,5 @@ - Name: @PACKAGE@ - Description: C64 cycle exact stereo sidplayer library. - Version: @VERSION@ --Libs: ${libdir}/libsidplay2.la -+Libs: -lsidplay2 - Cflags: -DHAVE_UNIX -I${includedir} ---- a/libsidutils/unix/libsidutils.pc.in -+++ b/libsidutils/unix/libsidutils.pc.in -@@ -6,5 +6,5 @@ - Name: @PACKAGE@ - Description: Utils for supporting the libsidplay2 library. - Version: @VERSION@ --Libs: ${libdir}/libsidutils.la -+Libs: -lsidutils - Cflags: -DHAVE_UNIX -I${includedir} diff --git a/media-libs/libsidplay/libsidplay-2.1.1-r5.ebuild b/media-libs/libsidplay/libsidplay-2.1.1-r5.ebuild @@ -1,55 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 -inherit eutils libtool multilib-minimal - -MY_P=sidplay-libs-${PV} - -DESCRIPTION="C64 SID player library" -HOMEPAGE="http://sidplay2.sourceforge.net/" -SRC_URI="mirror://sourceforge/sidplay2/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="2" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="static-libs" - -S=${WORKDIR}/${MY_P} - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/sidplay/sidconfig.h - /usr/include/sidplay/sidint.h -) - -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-gcc41.patch \ - "${FILESDIR}"/${P}-fbsd.patch \ - "${FILESDIR}"/${P}-no_libtool_reference.patch - - elibtoolize - multilib_copy_sources -} - -multilib_src_configure() { - econf \ - --enable-shared \ - $(use_enable static-libs static) \ - --with-pic -} - -multilib_src_install_all() { - docinto libsidplay - dodoc libsidplay/{AUTHORS,ChangeLog,README,TODO} - - docinto libsidutils - dodoc libsidutils/{AUTHORS,ChangeLog,README,TODO} - - docinto resid - dodoc resid/{AUTHORS,ChangeLog,NEWS,README,THANKS,TODO} - - doenvd "${FILESDIR}"/65resid - - prune_libtool_files --all -} diff --git a/media-libs/libsidplay/metadata.xml b/media-libs/libsidplay/metadata.xml @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>contact@hacktivis.me</email> - <name>Haelwenn (lanodan) Monnier</name> - </maintainer> -</pkgmetadata>