[gentoo-commits] proj/gamerlay:master commit in: media-gfx/recoil/files/, media-gfx/recoil/

2022-06-16 Thread Azamat H. Hackimov
commit: 9da1291326aae1b1e8465ce0c10f2db4c7cf546e
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Thu Jun 16 20:09:06 2022 +
Commit: Azamat H. Hackimov  gentoo  ru>
CommitDate: Thu Jun 16 20:09:06 2022 +
URL:https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=9da12913

media-gfx/recoil: Update to 6.1.1

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Azamat H. Hackimov  gmail.com>

 media-gfx/recoil/files/recoil-6.1.1_LDFLAGS.patch | 40 +++
 media-gfx/recoil/recoil-6.1.1.ebuild  | 31 ++
 2 files changed, 71 insertions(+)

diff --git a/media-gfx/recoil/files/recoil-6.1.1_LDFLAGS.patch 
b/media-gfx/recoil/files/recoil-6.1.1_LDFLAGS.patch
new file mode 100644
index 000..effb127
--- /dev/null
+++ b/media-gfx/recoil/files/recoil-6.1.1_LDFLAGS.patch
@@ -0,0 +1,40 @@
+From fa9042fea0e98aed0fb63aa2d43e5f637f10dad8 Mon Sep 17 00:00:00 2001
+From: "Azamat H. Hackimov" 
+Date: Thu, 16 Jun 2022 23:04:30 +0300
+Subject: [PATCH] Adding support of LDFLAGS
+
+---
+ Makefile | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index d2f5c63..719768e 100644
+--- a/Makefile
 b/Makefile
+@@ -21,12 +21,12 @@ INSTALL_DATA = $(INSTALL) -m 644
+ all: recoil2png $(if $(CAN_INSTALL_MAGICK),imagemagick/recoil.so) 
recoil-mime.xml
+ 
+ recoil2png: recoil2png.c pngsave.c pngsave.h recoil-stdio.c recoil-stdio.h 
recoil.c recoil.h
+-  $(CC) $(CFLAGS) recoil2png.c pngsave.c recoil-stdio.c recoil.c -lpng 
-lz -o $@
++  $(CC) $(CFLAGS) $(LDFLAGS) recoil2png.c pngsave.c recoil-stdio.c 
recoil.c -lpng -lz -o $@
+ 
+ ifdef CAN_INSTALL_MAGICK
+ imagemagick/recoil.so: imagemagick/recoilmagick.c recoil.c recoil.h formats.h
+ ifdef MAGICK_INCLUDE_PATH
+-  $(CC) $(CFLAGS) $(MAGICK_CFLAGS) -I$(MAGICK_INCLUDE_PATH) 
imagemagick/recoilmagick.c recoil.c -shared $(MAGICK_LDFLAGS) -ldl 
$(MAGICK_LIBS) -o $@
++  $(CC) $(CFLAGS) $(LDFLAGS) $(MAGICK_CFLAGS) -I$(MAGICK_INCLUDE_PATH) 
imagemagick/recoilmagick.c recoil.c -shared $(MAGICK_LDFLAGS) -ldl 
$(MAGICK_LIBS) -o $@
+ else
+   @echo "\nDetected ImageMagick version $(MAGICK_VERSION) on your system."
+   @echo "To build RECOIL coder for ImageMagick,"
+@@ -43,7 +43,7 @@ formats.h: formats.h.xsl formats.xml
+   $(CITO) -o $*.c $<
+ 
+ benchmark: benchmark.c recoil-stdio.c recoil-stdio.h recoil.c recoil.h
+-  $(CC) $(CFLAGS) benchmark.c recoil-stdio.c recoil.c -o $@
++  $(CC) $(CFLAGS) $(LDFLAGS) benchmark.c recoil-stdio.c recoil.c -o $@
+ 
+ clean:
+   rm -f recoil2png imagemagick/recoil.so imagemagick/coder.xml.new 
formats.h recoil-mime.xml benchmark Xrecoil.usr
+-- 
+2.35.1
+

diff --git a/media-gfx/recoil/recoil-6.1.1.ebuild 
b/media-gfx/recoil/recoil-6.1.1.ebuild
new file mode 100644
index 000..463ef3f
--- /dev/null
+++ b/media-gfx/recoil/recoil-6.1.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2018-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Retro Computer Image Library"
+HOMEPAGE="http://recoil.sourceforge.net/;
+SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${P}.tar.gz;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="media-libs/libpng:0="
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/${P}_LDFLAGS.patch"
+)
+
+src_compile() {
+   emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" recoil2png
+}
+
+src_install() {
+   dobin recoil2png
+   doman recoil2png.1
+   dodoc README
+}



[gentoo-commits] proj/gamerlay:master commit in: media-gfx/recoil/

2020-02-28 Thread Azamat H. Hackimov
commit: 96dfce036559b31b7c4d09da10329aaab36ff138
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Fri Feb 28 19:00:08 2020 +
Commit: Azamat H. Hackimov  gentoo  ru>
CommitDate: Fri Feb 28 19:01:30 2020 +
URL:https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=96dfce03

media-gfx/recoil: update to 5.0.0

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov  gmail.com>

 media-gfx/recoil/{recoil-4.3.2.ebuild => recoil-5.0.0.ebuild} | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/media-gfx/recoil/recoil-4.3.2.ebuild 
b/media-gfx/recoil/recoil-5.0.0.ebuild
similarity index 78%
rename from media-gfx/recoil/recoil-4.3.2.ebuild
rename to media-gfx/recoil/recoil-5.0.0.ebuild
index 0f2b22a..25eb746 100644
--- a/media-gfx/recoil/recoil-4.3.2.ebuild
+++ b/media-gfx/recoil/recoil-5.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2018-2019 Gentoo Authors
+# Copyright 2018-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -7,7 +7,7 @@ inherit toolchain-funcs
 
 DESCRIPTION="Retro Computer Image Library"
 HOMEPAGE="http://recoil.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${P}.tar.gz;
 
 LICENSE="GPL-2+"
 SLOT="0"
@@ -16,7 +16,6 @@ IUSE=""
 
 DEPEND="media-libs/libpng:0="
 RDEPEND="${DEPEND}"
-BDEPEND=""
 
 src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" recoil2png



[gentoo-commits] proj/gamerlay:master commit in: media-gfx/recoil/

2019-10-23 Thread Azamat H. Hackimov
commit: 4bbdd8768371bef56d8c9b0b738493673b535d5d
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Wed Oct 23 06:38:55 2019 +
Commit: Azamat H. Hackimov  gentoo  ru>
CommitDate: Wed Oct 23 06:38:55 2019 +
URL:https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=4bbdd876

media-gfx/recoil: new package

RECOIL - Retro Computer Image Library

Package-Manager: Portage-2.3.76, Repoman-2.3.16

 media-gfx/recoil/metadata.xml| 15 +++
 media-gfx/recoil/recoil-4.3.2.ebuild | 29 +
 2 files changed, 44 insertions(+)

diff --git a/media-gfx/recoil/metadata.xml b/media-gfx/recoil/metadata.xml
new file mode 100644
index 000..8940417
--- /dev/null
+++ b/media-gfx/recoil/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+
+azamat.hacki...@gmail.com
+Azamat H. Hackimov
+
+
+Retro Computer Image Library decodes Amiga, Amstrad CPC, Apple II, Atari 8-bit,
+Atari Portfolio, Atari ST/TT/Falcon, BBC Micro, Commodore 16, Commodore 64,
+Commodore 128, Macintosh 128K, MSX, NEC PC-88, NEC PC-98, Oric, SAM Coupe,
+Sharp X68000, Timex 2048, TRS-80, TRS-80 Color Computer, ZX81 and ZX Spectrum
+picture formats.
+
+

diff --git a/media-gfx/recoil/recoil-4.3.2.ebuild 
b/media-gfx/recoil/recoil-4.3.2.ebuild
new file mode 100644
index 000..0f2b22a
--- /dev/null
+++ b/media-gfx/recoil/recoil-4.3.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2018-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Retro Computer Image Library"
+HOMEPAGE="http://recoil.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libpng:0="
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_compile() {
+   emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" recoil2png
+}
+
+src_install() {
+   dobin recoil2png
+   doman recoil2png.1
+   dodoc README
+}