Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/libspectrum/
Date: Sat, 12 May 2018 15:55:36
Message-Id: 1526140523.58b60a7939d9a294c07d0bbac3f988f538954477.mgorny@gentoo
1 commit: 58b60a7939d9a294c07d0bbac3f988f538954477
2 Author: Jan Ziak <0xe2.0x9a.0x9b <AT> gmail <DOT> com>
3 AuthorDate: Sat May 12 13:13:00 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat May 12 15:55:23 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58b60a79
7
8 app-emulation/libspectrum: bump to version 1.4.2
9
10 app-emulation/libspectrum/Manifest | 1 +
11 app-emulation/libspectrum/libspectrum-1.4.2.ebuild | 37 ++++++++++++++++++++++
12 2 files changed, 38 insertions(+)
13
14 diff --git a/app-emulation/libspectrum/Manifest b/app-emulation/libspectrum/Manifest
15 index 1ede1174d96..7e46ebd6e18 100644
16 --- a/app-emulation/libspectrum/Manifest
17 +++ b/app-emulation/libspectrum/Manifest
18 @@ -1,2 +1,3 @@
19 DIST libspectrum-1.4.0.tar.gz 514972 BLAKE2B 698ada3d404db15d95946b8098d80b791c63548a6d09a442f926e4fb36b01e00ab8d9fea60b33edee688e02cf753fa37f91bd09a97090b152ac16e4d41d482f8 SHA512 4005133185bc677ac8c960fb3f731fa6dc29caa31e008ba59f1791626999717cb79e9be284d1534a3a3550fa2ea5f2b1616256f3deeac73853f5b8fe3031e3f3
20 DIST libspectrum-1.4.1.tar.gz 516697 BLAKE2B 863030fabf37b03f15af389d8ab625f0f54c439153900e8b44bfefe2196fd576fbed9c23a6d2cfd7b07ca804a20329d8e646d3b7741ee1ded3d42246e36f203d SHA512 550d96c2432400a5b6ba86534acc0a2786dcdb9a8c847caf7768f1053cdbe0825d208128713a3f4b7fa42547bb3eac56329433a4c0a6753eec3ba9623eef5bf5
21 +DIST libspectrum-1.4.2.tar.gz 568052 BLAKE2B 84ffa5b2ac376c72d309c623610e5e30ebc98ab81a4505ffd88c8fc88145c6d63a112c60a57585c827b352e0a73ec330fc9f3601a714d1a6ad522cc40105d171 SHA512 391eb6fd805ab5a7ba5186ced8aa06be8b25973512860bfd0680585120a9617a1406f9327a7acb3ad7b7e473be8214c9b228d8b4adcf45a8bf3d3b6d27ee4d6f
22
23 diff --git a/app-emulation/libspectrum/libspectrum-1.4.2.ebuild b/app-emulation/libspectrum/libspectrum-1.4.2.ebuild
24 new file mode 100644
25 index 00000000000..66ae4677a64
26 --- /dev/null
27 +++ b/app-emulation/libspectrum/libspectrum-1.4.2.ebuild
28 @@ -0,0 +1,37 @@
29 +# Copyright 1999-2018 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +
32 +EAPI=6
33 +
34 +DESCRIPTION="Spectrum emulation library"
35 +HOMEPAGE="http://fuse-emulator.sourceforge.net/libspectrum.php"
36 +SRC_URI="mirror://sourceforge/fuse-emulator/${P}.tar.gz"
37 +
38 +LICENSE="GPL-2"
39 +SLOT="0"
40 +KEYWORDS="~amd64 ~ppc ~x86"
41 +IUSE="audiofile bzip2 gcrypt zlib"
42 +
43 +RDEPEND="dev-libs/glib:2
44 + audiofile? ( >=media-libs/audiofile-0.3.6 )
45 + bzip2? ( >=app-arch/bzip2-1.0 )
46 + gcrypt? ( dev-libs/libgcrypt:0 )
47 + zlib? ( sys-libs/zlib )"
48 +DEPEND="${RDEPEND}
49 + dev-lang/perl
50 + virtual/pkgconfig"
51 +
52 +src_configure() {
53 + local myconf=(
54 + $(use_with audiofile libaudiofile)
55 + $(use_with bzip2)
56 + $(use_with gcrypt libgcrypt)
57 + $(use_with zlib)
58 + )
59 + econf "${myconf[@]}"
60 +}
61 +
62 +src_install() {
63 + default
64 + dodoc doc/*.txt *.txt
65 +}