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/spsdeclib | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/spsdeclib')
-rw-r--r-- | dev-libs/spsdeclib/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/spsdeclib/files/add_symlink.patch | 16 | ||||
-rw-r--r-- | dev-libs/spsdeclib/metadata.xml | 16 | ||||
-rw-r--r-- | dev-libs/spsdeclib/spsdeclib-5.1.ebuild | 43 |
4 files changed, 79 insertions, 0 deletions
diff --git a/dev-libs/spsdeclib/Manifest b/dev-libs/spsdeclib/Manifest new file mode 100644 index 000000000000..4a19630cc175 --- /dev/null +++ b/dev-libs/spsdeclib/Manifest @@ -0,0 +1,4 @@ +AUX add_symlink.patch 804 BLAKE2B 2b0eec3a3a9008b887cd4af8f2900631fa347890cd37ced2930fbbe21b05cf213e6b088d2798173ae6c89a75467db0e6111e3e3e738d37eca7fbc884725b66ee SHA512 ca370e101057851e214009ef6880afa4a96711407d28e3ce34592317200c7da623996c7fcf7c31aefe55ffd6b649ab5ff970fc0134435114234f4436919b93ad +DIST spsdeclib_5.1_source.zip 282236 BLAKE2B 6f37a3f0791baf9ca7a6bb3532be4cd7bcf90cdc2fc51def4d5daf4419c6b8c08aef87275555f359394e37e5ab6cf34d1e4903bea542ff99f7dc317238dd52b7 SHA512 26db037096c7c98c1af800577ce298c6b572541f665b512e80c6268818075d3c46d296b282268bd27a73a34f4063607ae8dd9d6d7a9301c441eb9cfce780f439 +EBUILD spsdeclib-5.1.ebuild 1029 BLAKE2B 65695616f1bc264cd585b93711d3a9f3b2e8433202176f46385f5d6a455302b872ef0fa93a5ef890098c6c1bea10e770efa66a13d90838900346cc06a749ca6e SHA512 f217e9898f7cfa87a0d72c70f0a7e597724df95fcd95363ac71200856ee75c55a7980bff1845bb3a724fe08a491173528465b7e33f0dca6ace202dda086ae1c2 +MISC metadata.xml 564 BLAKE2B 12f28c6acaf31c25b52acaf1bd5853216ffb6f0924c9f815e814c56b50aa657603ef0f3e0e89daf072e463feb34c135d59c7351174bdf3a4b347215937311ce1 SHA512 42781e4e7c15a066141221c92421c174dbc748de3ef94cd419d23c0c9ff85cadb90295543d126362ca8e346ba5171ec3a527a46f6018d0b16beda68c7b432b45 diff --git a/dev-libs/spsdeclib/files/add_symlink.patch b/dev-libs/spsdeclib/files/add_symlink.patch new file mode 100644 index 000000000000..1de74ca923e1 --- /dev/null +++ b/dev-libs/spsdeclib/files/add_symlink.patch @@ -0,0 +1,16 @@ +--- a/Makefile.in 2014-06-17 22:55:04.000000000 +0200 ++++ b/Makefile.in 2018-01-07 04:07:07.865950231 +0100 +@@ -15,6 +15,8 @@ + LIBS = @LIB_LIBS@ + + LIBRARY = @LIBRARY@ ++SYMLINK1 = lib@PACKAGE@.so ++SYMLINK2 = lib@PACKAGE@.so.5 + OBJECTS = @EXTRA_OBJECTS@ ../Codec/CTRawCodec.o ../Codec/CTRawCodecDecompressor.o ../Codec/DiskEncoding.o ../Core/BaseFile.o ../Core/BitBuffer.o ../Core/CRC.o ../Core/DiskFile.o ../Core/MemoryFile.o CapsAPI.o CapsFDCEmulator.o CapsFile.o CapsFormatMFM.o CapsImage.o CapsImageStd.o CapsLoader.o DiskImage.o DiskImageFactory.o stdafx.o StreamCueImage.o StreamImage.o + + +@@ -50,3 +52,4 @@ + install: + install -d $(DESTDIR)$(libdir) + install $(LIBRARY) $(DESTDIR)$(libdir)/$(LIBRARY) ++ cd $(DESTDIR)$(libdir) && ln -sf $(SYMLINK2) ${SYMLINK1} && ln -sf $(LIBRARY) ${SYMLINK2} diff --git a/dev-libs/spsdeclib/metadata.xml b/dev-libs/spsdeclib/metadata.xml new file mode 100644 index 000000000000..29b8f4c73b66 --- /dev/null +++ b/dev-libs/spsdeclib/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ck+gentoo@bl4ckb0x.de</email> + <name>Conrad Kostecki</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + The SPS decoder library will load IPF and CT Raw files in the emulator of your choice. + Kryofluxes <pkg>app-misc/kryoflux-dtc</pkg> also will need this. + </longdescription> +</pkgmetadata> diff --git a/dev-libs/spsdeclib/spsdeclib-5.1.ebuild b/dev-libs/spsdeclib/spsdeclib-5.1.ebuild new file mode 100644 index 000000000000..22f948e91481 --- /dev/null +++ b/dev-libs/spsdeclib/spsdeclib-5.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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 + + mv configure.in configure.ac || die + eautoconf + + # Fix permissions, as configure is not marked executable + chmod +x configure || die +} |