summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus Rivero <neurogeek@gentoo.org>2011-05-02 19:29:50 +0000
committerJesus Rivero <neurogeek@gentoo.org>2011-05-02 19:29:50 +0000
commit622651313b89753212515ace0dc697ae2a15ca02 (patch)
treee8301ad3d3be91cbc2c7637653b13cfc064039e1 /app-emulation
parentMarked ~x64-freebsd (diff)
downloadgentoo-2-622651313b89753212515ace0dc697ae2a15ca02.tar.gz
gentoo-2-622651313b89753212515ace0dc697ae2a15ca02.tar.bz2
gentoo-2-622651313b89753212515ace0dc697ae2a15ca02.zip
Version bump. WRT bug #351726
(Portage version: 2.2.0_alpha29/cvs/Linux i686)
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/libspectrum/ChangeLog10
-rw-r--r--app-emulation/libspectrum/libspectrum-1.0.0.ebuild42
-rw-r--r--app-emulation/libspectrum/metadata.xml7
3 files changed, 56 insertions, 3 deletions
diff --git a/app-emulation/libspectrum/ChangeLog b/app-emulation/libspectrum/ChangeLog
index d825c2fe70a2..c9811521fd2c 100644
--- a/app-emulation/libspectrum/ChangeLog
+++ b/app-emulation/libspectrum/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emulation/libspectrum
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/libspectrum/ChangeLog,v 1.27 2010/03/28 03:59:33 darkside Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/libspectrum/ChangeLog,v 1.28 2011/05/02 19:29:50 neurogeek Exp $
+
+*libspectrum-1.0.0 (02 May 2011)
+
+ 02 May 2011; Jesus Rivero <neurogeek@gentoo.org>
+ +libspectrum-1.0.0.ebuild, metadata.xml:
+ Version bump. WRT bug #351726
28 Mar 2010; Jeremy Olexa <darkside@gentoo.org> metadata.xml:
Drop myself from metadata, add maintainer-needed
diff --git a/app-emulation/libspectrum/libspectrum-1.0.0.ebuild b/app-emulation/libspectrum/libspectrum-1.0.0.ebuild
new file mode 100644
index 000000000000..8ec3d2d951f0
--- /dev/null
+++ b/app-emulation/libspectrum/libspectrum-1.0.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/libspectrum/libspectrum-1.0.0.ebuild,v 1.1 2011/05/02 19:29:50 neurogeek Exp $
+
+EAPI="3"
+
+DESCRIPTION="Spectrum emulation library"
+HOMEPAGE="http://fuse-emulator.sourceforge.net/libspectrum.php"
+SRC_URI="mirror://sourceforge/fuse-emulator/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="audiofile bzip2 gcrypt zlib"
+
+RDEPEND="zlib? ( sys-libs/zlib )
+ bzip2? ( >=app-arch/bzip2-1.0 )
+ >=dev-libs/glib-2
+ gcrypt? ( dev-libs/libgcrypt )
+ audiofile? ( >=media-libs/audiofile-0.2.3 )"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ dev-util/pkgconfig"
+
+src_configure() {
+ econf --with-glib \
+ $(use_with zlib zlib) \
+ $(use_with bzip2 bzip2) \
+ $(use_with audiofile libaudiofile) \
+ $(use_with gcrypt libgcrypt) \
+ || die "econf failed!"
+}
+
+src_compile() {
+ emake || die "Compilation failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "Make install failed"
+ dodoc AUTHORS ChangeLog README THANKS doc/*.txt *.txt
+ doman doc/libspectrum.3
+}
diff --git a/app-emulation/libspectrum/metadata.xml b/app-emulation/libspectrum/metadata.xml
index 05db5a298359..8e964d756363 100644
--- a/app-emulation/libspectrum/metadata.xml
+++ b/app-emulation/libspectrum/metadata.xml
@@ -3,7 +3,8 @@
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
- <email>maintainer-needed@gentoo.org</email>
+ <email>neurogeek@gentoo.org</email>
+ <name>Jesus Rivero</name>
<description>Proxy Maintainer</description>
</maintainer>
<maintainer>
@@ -17,4 +18,8 @@ Spectrum emulator files slightly easier. It is intended to be usable on Unix
variants, Win32 and Mac OS X. Currently, it is mainly (only?) used by Fuse,
but other Spectrum emulator and utility authors are encouraged to use it.
</longdescription>
+<use>
+ <flag name='gcrypt'>Use <pkg>dev-libs/libgcrypt</pkg> for low-level crypto of some
+ features, including logfiles.</flag>
+</use>
</pkgmetadata>