diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emulation/spectemu |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emulation/spectemu')
-rw-r--r-- | app-emulation/spectemu/Manifest | 9 | ||||
-rw-r--r-- | app-emulation/spectemu/files/spectemu-0.99.3-automagic.patch | 31 | ||||
-rw-r--r-- | app-emulation/spectemu/files/spectemu-0.99.3-build.patch | 34 | ||||
-rw-r--r-- | app-emulation/spectemu/files/spectemu-0.99.3-qa.patch | 23 | ||||
-rw-r--r-- | app-emulation/spectemu/metadata.xml | 5 | ||||
-rw-r--r-- | app-emulation/spectemu/spectemu-0.99.3-r1.ebuild | 44 | ||||
-rw-r--r-- | app-emulation/spectemu/spectemu-0.99.3.ebuild | 47 |
7 files changed, 193 insertions, 0 deletions
diff --git a/app-emulation/spectemu/Manifest b/app-emulation/spectemu/Manifest new file mode 100644 index 000000000000..a485af397767 --- /dev/null +++ b/app-emulation/spectemu/Manifest @@ -0,0 +1,9 @@ +AUX spectemu-0.99.3-automagic.patch 904 SHA256 9d7a0dacf0b05d8d1cd1988e35ee0f67a9f0cd669a66d5d4e17d2fca04f8d9d6 SHA512 c5a99c037ff014c402efb93b420a6e7c04939a88f3e0cd87ba558d2fe952d548c4ff2d80e35741f60a8139d2e78c2ff821b3aafb7363d0081b34af879f7eb2af WHIRLPOOL 210ce9c40b44b0260f57b12a18b40f9ebcc1dde1112db163883122fe1988becf81c28559b351b070b21cb098c2dcbe19fc7aab93cfd14a3dc14f3a402d6b867c +AUX spectemu-0.99.3-build.patch 1077 SHA256 b0aced26e99f801704b7a1079eda05e72169530f240901772fc98bb99051639b SHA512 9a650e52eb07e2bbd1109b5fe27417b3891aff79a9a7783c59fd683b4309eb9447672b4a20c0f7746fab60250d865e1d5cdbc8957e5813cec4bfebed996af493 WHIRLPOOL 32a0857b8124b8aef989c3e31196ae6113260e73c11e10811ba509bad9448802dc4cac47229b93eaa8f82996c5916639aba41862f05247e95da818e8d927236b +AUX spectemu-0.99.3-qa.patch 687 SHA256 b0d7353486dac5b58770ca8e51d068d7c622c4886ebd1291425448f10301ff01 SHA512 854db7e4ab1abae52b225adb6a82b71a52a217087187970589eb694dcfdc54d8a36c7456470e8871e9af5736bc59e8f727ea5390ac5f6303e42a1d0c5efa7791 WHIRLPOOL c0592fef246315f8542ef33c9bd50979baa502ad7862ce0a23c9cd70a42414a77923362f16abfe7f764953ab7f0d7baae03bb687bd2a92f895a600503646793d +DIST spectemu-0.99.3.tar.gz 269524 SHA256 a3f51176fdbcdbd1cdf8e0bab6b668a548c79b8fc699d5a7199ecfde79c79bc1 SHA512 a2efcf46a2481a213825b452987626ade3fa95a525d26bd11a315ef885eb4f536343a7a58389733f459d05486b3da73e81503a0988ebe768ad93b089351f3e25 WHIRLPOOL 3cd4cb7faf5dc585ec8fa0e8985d8a55906486926fc82fff545287bd802d91923711a7796ba4145353569fefa6dd78330dfcc33303cbcfa7d85c1ee55a6ea2d0 +EBUILD spectemu-0.99.3-r1.ebuild 960 SHA256 5b1b7f7bc3c2f43c3c0edc67eb6703fc8692a2959599309b4ab1bc3b86925dbf SHA512 e239b0687f64db4e45d7a28e83e276a59ff9fdb9fc650735442010b6df98607fee7f227799310899a73a9a7338e0fbb720600ff5abee6b3d11c98c5948dd576c WHIRLPOOL 1f9dc02e5492be82ace10d3bb96b4007365232f6f75aa65f22acee5e162af1927dec6611a7e8e72991e2e5f0478419cd8f51a600b28313fee04ccd3649e02bf4 +EBUILD spectemu-0.99.3.ebuild 1259 SHA256 051ed4a715363b559c2fc87a1ece2405c26c286c247b2ba25cb8a5baaad35f55 SHA512 f16357380ea35d2bac8e2bf22b13c65d8b048457c2d446f6a7fd054cfc01d4e4ad3df63854462374248dd3114624f4618eeeb94433d6ecfe3820334922a65766 WHIRLPOOL ac66dc789bfc647a4a11c07e26f12eec356569acf219f5fc6bf25b1e9a579bc5ea6f63e259faba15d8f48fc3891ca8571b0b327504d77e0fa03babb19eab46b5 +MISC ChangeLog 2707 SHA256 57ab22847652a329888ae2be454b51e94ba03eff1433d1e7052ef4fb6387f066 SHA512 a812ebd1814f0f8903bd04616fc28f1a072b4d509bc7dfe7de47f664899017e9b42fb6cba3d1f21e404e33b427ed76d73c98a0655a60f3c9cdbd995dd4e241ca WHIRLPOOL cd8222acd3412405aead7bad62154a88f2c16e817752714dbb9e0c0f0521c21e3e6787a5c652318ed48b5b502d5931f256c364dc3144f8a9a3fefce0d174b946 +MISC ChangeLog-2015 3198 SHA256 81b2c0175ceaad28ec391c9840151c04866c3511d927b3f6220ed6505c0a0df8 SHA512 e8797379607e72355c75304caec4a5b30b097173e487396f786e6e5ec2a17348b83307a95c49eba56b26b62ac7675c67c98625c6c2f5b27e21b782954d56ab19 WHIRLPOOL ca5a971a75ac1344e302ddbcc919335a2d17b06192bd46043f9d42b8b4b1d223d2d012ab3c04c53c3fbe3d8ddf4c8a25c18a58c62a6b0de4830d06ee65d49709 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/app-emulation/spectemu/files/spectemu-0.99.3-automagic.patch b/app-emulation/spectemu/files/spectemu-0.99.3-automagic.patch new file mode 100644 index 000000000000..6e813d6373e5 --- /dev/null +++ b/app-emulation/spectemu/files/spectemu-0.99.3-automagic.patch @@ -0,0 +1,31 @@ +--- configure.in ++++ configure.in +@@ -121,13 +121,22 @@ + dnl ----------------------------------------------------------- + dnl Check for SVGALIB + dnl ----------------------------------------------------------- +-AC_CHECK_LIB(vga, vga_setmode, no_vga="", no_vga=yes) +-if test "$no_vga" != yes; then +- progs="$progs vgaspect" +- vgalib=-lvga + +- LIBS="$vgalib $olibs" +- AC_CHECK_FUNC(vga_runinbackground_version, AC_DEFINE(RUN_IN_BACKGROUND)) ++svgalibs="" ++withsvga=no ++AC_ARG_WITH(svga, ++[ --with-svga Compile with svga library], ++[if test "$withval" = no; then withsvga=no; fi]) ++ ++if test "$withsvga" = yes; then ++ AC_CHECK_LIB(vga, vga_setmode, no_vga="", no_vga=yes) ++ if test "$no_vga" != yes; then ++ progs="$progs vgaspect" ++ vgalib=-lvga ++ ++ LIBS="$vgalib $olibs" ++ AC_CHECK_FUNC(vga_runinbackground_version, AC_DEFINE(RUN_IN_BACKGROUND)) ++ fi + fi + + LIBS="$olibs" diff --git a/app-emulation/spectemu/files/spectemu-0.99.3-build.patch b/app-emulation/spectemu/files/spectemu-0.99.3-build.patch new file mode 100644 index 000000000000..1c354a5fa933 --- /dev/null +++ b/app-emulation/spectemu/files/spectemu-0.99.3-build.patch @@ -0,0 +1,34 @@ +--- Makefile.in ++++ Makefile.in +@@ -44,17 +44,19 @@ + ./mkinstalldirs $(i_bindir) $(i_mandir) + + install_prog: $(progs) ++ mkdir -p $(i_bindir) + if test -f xspect; then \ +- $(INSTALL_PROGRAM) -s -m 755 xspect $(i_bindir); fi ++ $(INSTALL_PROGRAM) -m 755 xspect $(i_bindir); fi + if test -f vgaspect; then \ +- $(INSTALL_PROGRAM) -s -m 4755 vgaspect $(i_bindir); fi ++ $(INSTALL_PROGRAM) -m 4755 vgaspect $(i_bindir); fi + + install_man: ++ mkdir -p $(i_mandir) + $(INSTALL_DATA) ./xspect.1 $(i_mandir) + $(INSTALL_DATA) ./tapeout.1 $(i_mandir) + (cd $(i_mandir); rm -f vgaspect.1; ln -s xspect.1 vgaspect.1) + +-install: installdirs install_prog install_man ++install: install_prog install_man + + z80_c_objs=z80.o z80optab.o z80_step.o spperif.o spect.o rom48.o \ + z80_op1.o z80_op2.o z80_op3.o z80_op4.o z80_op5.o z80_op6.o +@@ -88,7 +90,7 @@ + ./sp_to_s < i386emul.sp > i386emul.s + + i386emul.o: i386emul.s +- $(CC) -c $(CFLAGS) i386emul.s ++ $(CC) -c $(ASFLAGS) -Xassembler --noexecstack i386emul.s + + sp_to_s: sp_to_s.o + $(CC) -o sp_to_s $(LDFLAGS) sp_to_s.o diff --git a/app-emulation/spectemu/files/spectemu-0.99.3-qa.patch b/app-emulation/spectemu/files/spectemu-0.99.3-qa.patch new file mode 100644 index 000000000000..00d136305819 --- /dev/null +++ b/app-emulation/spectemu/files/spectemu-0.99.3-qa.patch @@ -0,0 +1,23 @@ +--- spectemu-0.99.3/Makefile.in ++++ spectemu-0.99.3/Makefile.in +@@ -45,9 +45,9 @@ + + install_prog: $(progs) + if test -f xspect; then \ +- $(INSTALL_PROGRAM) -s -m 755 xspect $(i_bindir); fi ++ $(INSTALL_PROGRAM) -m 755 xspect $(i_bindir); fi + if test -f vgaspect; then \ +- $(INSTALL_PROGRAM) -s -m 4755 vgaspect $(i_bindir); fi ++ $(INSTALL_PROGRAM) -m 4755 vgaspect $(i_bindir); fi + + install_man: + $(INSTALL_DATA) ./xspect.1 $(i_mandir) +@@ -88,7 +88,7 @@ + ./sp_to_s < i386emul.sp > i386emul.s + + i386emul.o: i386emul.s +- $(CC) -c $(CFLAGS) i386emul.s ++ $(CC) -c $(ASFLAGS) -Xassembler --noexecstack i386emul.s + + sp_to_s: sp_to_s.o + $(CC) -o sp_to_s $(LDFLAGS) sp_to_s.o diff --git a/app-emulation/spectemu/metadata.xml b/app-emulation/spectemu/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-emulation/spectemu/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> diff --git a/app-emulation/spectemu/spectemu-0.99.3-r1.ebuild b/app-emulation/spectemu/spectemu-0.99.3-r1.ebuild new file mode 100644 index 000000000000..1052d0a334f7 --- /dev/null +++ b/app-emulation/spectemu/spectemu-0.99.3-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit autotools eutils + +DESCRIPTION="48k ZX Spectrum Emulator" +HOMEPAGE="http://kempelen.iit.bme.hu/~mszeredi/spectemu/spectemu.html" +SRC_URI="http://www.inf.bme.hu/~mszeredi/spectemu/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="readline svga +X" + +REQUIRED_USE="|| ( svga X )" + +DEPEND="X? ( >=x11-proto/xf86vidmodeproto-2.2.2 + >=x11-proto/xextproto-7.0.2 + >=x11-proto/xproto-7.0.4 + >=x11-libs/libX11-1.0.0 + >=x11-libs/libXext-1.0.0 + >=x11-libs/libXxf86vm-1.0.0 ) + readline? ( sys-libs/readline )" +RDEPEND="${DEPEND} + svga? ( media-libs/svgalib )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-automagic.patch + epatch "${FILESDIR}"/${P}-build.patch + eautoreconf +} + +src_configure() { + econf \ + $(use_with readline) \ + $(use_with svga) \ + $(use_with X x) +} + +src_install() { + emake install_root="${D}" install +} diff --git a/app-emulation/spectemu/spectemu-0.99.3.ebuild b/app-emulation/spectemu/spectemu-0.99.3.ebuild new file mode 100644 index 000000000000..2ab41303ddcd --- /dev/null +++ b/app-emulation/spectemu/spectemu-0.99.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +### Several versions of specemu exist, xspect & vgaspect, utilising X11 +### and/or svgalib. libreadline provides optional runtime features. +### The ./configure script automagically figures out which binaries to build +### so the run/compiletime dependancies here are use dependant + +inherit eutils + +DESCRIPTION="48k ZX Spectrum Emulator" +HOMEPAGE="http://kempelen.iit.bme.hu/~mszeredi/spectemu/spectemu.html" +SRC_URI="http://www.inf.bme.hu/~mszeredi/spectemu/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="X readline svga" + +DEPEND="X? ( >=x11-proto/xf86vidmodeproto-2.2.2 + >=x11-proto/xextproto-7.0.2 + >=x11-proto/xproto-7.0.4 + >=x11-libs/libX11-1.0.0 + >=x11-libs/libXext-1.0.0 + >=x11-libs/libXxf86vm-1.0.0 ) + readline? ( sys-libs/readline )" +RDEPEND="svga? ( media-libs/svgalib )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-qa.patch +} + +src_compile() { + econf \ + $(use_with readline) \ + $(use_with X x) + emake CC="$(tc-getCC)" \ + CPP="$(tc-getCPP)" \ + || die "emake failed" +} + +src_install() { + # Parallel install bug #255777 + emake -j1 install_root="${D}" install || die "emake install failed" +} |