From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C2016138334 for ; Sun, 12 Aug 2018 17:18:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71DB5E0980; Sun, 12 Aug 2018 17:18:13 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 48A96E0980 for ; Sun, 12 Aug 2018 17:18:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 26B37335C71 for ; Sun, 12 Aug 2018 17:18:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 108DA387 for ; Sun, 12 Aug 2018 17:18:09 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1534094282.dd1c415b0e07de1c6fd2c2c2fdb89b0f24f95178.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/spsdeclib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/spsdeclib/spsdeclib-5.1-r1.ebuild X-VCS-Directories: dev-libs/spsdeclib/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: dd1c415b0e07de1c6fd2c2c2fdb89b0f24f95178 X-VCS-Branch: master Date: Sun, 12 Aug 2018 17:18:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e2553b32-2818-4a1e-bc8b-733e152c0753 X-Archives-Hash: 376ffdc0328ce45bba716631226cb9bf commit: dd1c415b0e07de1c6fd2c2c2fdb89b0f24f95178 Author: Azamat H. Hackimov gmail com> AuthorDate: Sat Jul 28 17:46:19 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Aug 12 17:18:02 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd1c415b dev-libs/spsdeclib: install headers Install headers for other projects. Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-libs/spsdeclib/spsdeclib-5.1-r1.ebuild | 53 ++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/dev-libs/spsdeclib/spsdeclib-5.1-r1.ebuild b/dev-libs/spsdeclib/spsdeclib-5.1-r1.ebuild new file mode 100644 index 00000000000..db6e46f2659 --- /dev/null +++ b/dev-libs/spsdeclib/spsdeclib-5.1-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools eutils + +DESCRIPTION="Kryoflux SPS Decoder Library" +HOMEPAGE="https://www.kryoflux.com/" +SRC_URI="https://www.kryoflux.com/download/${PN}_${PV}_source.zip" + +KEYWORDS="~amd64 ~x86" +LICENSE="Kryoflux-MAME" +SLOT="0" + +DEPEND="app-arch/unzip" + +S="${WORKDIR}/capsimg_source_linux_macosx/CAPSImg" + +DOCS=( "${WORKDIR}/DONATIONS.txt" "${WORKDIR}/HISTORY.txt" "${WORKDIR}/RELEASE.txt" ) + +PATCHES=( "${FILESDIR}"/add_symlink.patch ) + +src_unpack() { + unpack ${A} + + # Unpacked ZIP-file contains two ZIP files, use the one for Linux + unpack "${WORKDIR}"/capsimg_source_linux_macosx.zip +} + +src_prepare() { + default + + # Respect users CFLAGS and CXXFLAGS + sed -i -e 's/-g//' configure.in || die + sed -i -e 's/CXXFLAGS="${CFLAGS}/CXXFLAGS="${CXXFLAGS}/' configure.in || die + + # Remove MSVC compiler-specific attribute + sed -i -e 's/__cdecl //' ../LibIPF/Caps{Lib,FDC}.h || die + + mv configure.in configure.ac || die + eautoconf + + # Fix permissions, as configure is not marked executable + chmod +x configure || die +} + +src_install() { + default + + insinto /usr/include/caps5 + doins ../Core/CommonTypes.h ../LibIPF/*.h +}