* [gentoo-commits] repo/gentoo:master commit in: games-arcade/tuxpuck/, games-arcade/tuxpuck/files/
@ 2018-04-24 19:26 Pacho Ramos
0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2018-04-24 19:26 UTC (permalink / raw
To: gentoo-commits
commit: d371127b5929047d298cab7f5b3768521a359b41
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 24 19:07:41 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Apr 24 19:26:28 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d371127b
games-arcade/tuxpuck: Stop using games.eclass
Package-Manager: Portage-2.3.31, Repoman-2.3.9
.../tuxpuck/files/tuxpuck-0.8.2-ldflags.patch | 4 +-
.../tuxpuck/files/tuxpuck-0.8.2-parallel.patch | 4 +-
.../tuxpuck/files/tuxpuck-0.8.2-png15.patch | 4 +-
games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild | 59 ++++++++++++++++++++++
4 files changed, 65 insertions(+), 6 deletions(-)
diff --git a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-ldflags.patch b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-ldflags.patch
index 28fcef48a7e..b4abb60f0fd 100644
--- a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-ldflags.patch
+++ b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-ldflags.patch
@@ -1,5 +1,5 @@
---- Makefile.old 2010-10-05 10:34:57.000000000 +0200
-+++ Makefile 2010-10-05 10:35:28.000000000 +0200
+--- a/Makefile.old 2010-10-05 10:34:57.000000000 +0200
++++ b/Makefile 2010-10-05 10:35:28.000000000 +0200
@@ -20,7 +20,7 @@
$(NAME) : $(OBJS)
diff --git a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-parallel.patch b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-parallel.patch
index cdcdecc42c3..7d9b199f55c 100644
--- a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-parallel.patch
+++ b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-parallel.patch
@@ -1,5 +1,5 @@
---- data/Makefile.old 2015-01-07 14:22:34.852150894 +0100
-+++ data/Makefile 2015-01-07 14:57:44.079822614 +0100
+--- a/data/Makefile.old 2015-01-07 14:22:34.852150894 +0100
++++ b/data/Makefile 2015-01-07 14:57:44.079822614 +0100
@@ -15,20 +15,29 @@
ar r libdata.a $(OBJS)
ranlib libdata.a
diff --git a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-png15.patch b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-png15.patch
index ca9539f39e5..5860d2b1c17 100644
--- a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-png15.patch
+++ b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-png15.patch
@@ -1,5 +1,5 @@
---- png.c.old 2011-09-14 16:25:54.415338149 +0200
-+++ png.c 2011-09-14 17:41:02.190803110 +0200
+--- a/png.c.old 2011-09-14 16:25:54.415338149 +0200
++++ b/png.c 2011-09-14 17:41:02.190803110 +0200
@@ -38,6 +38,8 @@
png_color_16 *transv;
SDL_RWops *src = NULL;
diff --git a/games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild b/games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild
new file mode 100644
index 00000000000..b1df215d59d
--- /dev/null
+++ b/games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop
+
+DESCRIPTION="Hover hockey"
+HOMEPAGE="http://home.no.net/munsuun/tuxpuck/"
+SRC_URI="http://home.no.net/munsuun/tuxpuck/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="
+ media-libs/libsdl
+ media-libs/libpng:0=
+ virtual/jpeg:0
+ media-libs/libvorbis
+"
+DEPEND="${RDEPEND}
+ media-libs/freetype:2
+"
+
+src_prepare() {
+ default
+ # Bug #376741 - Make unpack call compatible with both
+ # PMS and <sys-apps/portage-2.1.10.10.
+ cd man || die
+ unpack ./${PN}.6.gz
+ cd .. || die
+ sed -i \
+ -e 's/-Werror//' \
+ -e '/^CC/d' \
+ Makefile \
+ utils/Makefile \
+ data/Makefile \
+ || die "sed failed"
+
+ eapply "${FILESDIR}"/${P}-ldflags.patch \
+ "${FILESDIR}"/${P}-png15.patch \
+ "${FILESDIR}"/${P}-parallel.patch
+}
+
+src_compile() {
+ emake -C utils
+ emake -C data
+ emake
+}
+
+src_install() {
+ dobin tuxpuck
+ doman man/tuxpuck.6
+ dodoc *.txt
+ doicon data/icons/${PN}.ico
+ make_desktop_entry ${PN} "TuxPuck" /usr/share/pixmaps/${PN}.ico
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-arcade/tuxpuck/, games-arcade/tuxpuck/files/
@ 2018-05-07 8:25 Lars Wendler
0 siblings, 0 replies; 3+ messages in thread
From: Lars Wendler @ 2018-05-07 8:25 UTC (permalink / raw
To: gentoo-commits
commit: dd0204b722226cc131f7ed94ccd8470cfc7709c6
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon May 7 08:24:50 2018 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon May 7 08:24:50 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd0204b7
games-arcade/tuxpuck: Use pkg-config to find freetype
Closes: https://bugs.gentoo.org/654894
Package-Manager: Portage-2.3.36, Repoman-2.3.9
.../tuxpuck/files/tuxpuck-0.8.2-freetype_pkgconfig.patch | 11 +++++++++++
games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-freetype_pkgconfig.patch b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-freetype_pkgconfig.patch
new file mode 100644
index 00000000000..410024e48dc
--- /dev/null
+++ b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-freetype_pkgconfig.patch
@@ -0,0 +1,11 @@
+--- tuxpuck-0.8.2/utils/Makefile
++++ tuxpuck-0.8.2/utils/Makefile
+@@ -6,7 +6,7 @@
+ all : ttf2font data2c anim
+
+ ttf2font : ttf2font.c
+- $(CC) $(CFLAGS) ttf2font.c `freetype-config --cflags --libs` -o ttf2font
++ $(CC) $(CFLAGS) ttf2font.c `pkg-config --cflags --libs freetype2` -o ttf2font
+
+ data2c : data2c.c
+ $(CC) $(CFLAGS) data2c.c `sdl-config --cflags --libs` -o data2c
diff --git a/games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild b/games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild
index b1df215d59d..092a4932727 100644
--- a/games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild
+++ b/games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild
@@ -21,6 +21,7 @@ RDEPEND="
"
DEPEND="${RDEPEND}
media-libs/freetype:2
+ virtual/pkgconfig
"
src_prepare() {
@@ -40,7 +41,8 @@ src_prepare() {
eapply "${FILESDIR}"/${P}-ldflags.patch \
"${FILESDIR}"/${P}-png15.patch \
- "${FILESDIR}"/${P}-parallel.patch
+ "${FILESDIR}"/${P}-parallel.patch \
+ "${FILESDIR}"/${P}-freetype_pkgconfig.patch
}
src_compile() {
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-arcade/tuxpuck/, games-arcade/tuxpuck/files/
@ 2020-07-05 0:24 David Seifert
0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2020-07-05 0:24 UTC (permalink / raw
To: gentoo-commits
commit: efd1894c63543eaacbcfd078113111399ee03583
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 5 00:23:17 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jul 5 00:23:17 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd1894c
games-arcade/tuxpuck: Fix build system
Closes: https://bugs.gentoo.org/724420
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: David Seifert <soap <AT> gentoo.org>
.../tuxpuck/files/tuxpuck-0.8.2-Makefile.patch | 139 +++++++++++++++++++++
.../files/tuxpuck-0.8.2-freetype_pkgconfig.patch | 11 --
.../tuxpuck/files/tuxpuck-0.8.2-ldflags.patch | 11 --
.../tuxpuck/files/tuxpuck-0.8.2-parallel.patch | 58 ---------
games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild | 46 ++++---
5 files changed, 161 insertions(+), 104 deletions(-)
diff --git a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-Makefile.patch b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-Makefile.patch
new file mode 100644
index 00000000000..30b97283a2e
--- /dev/null
+++ b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-Makefile.patch
@@ -0,0 +1,139 @@
+--- a/data/Makefile
++++ b/data/Makefile
+@@ -1,5 +1,4 @@
+ # Makefile for TuxPuck , Copyright Jacob Kroon 2001-2002
+-CC = gcc
+ SOURCES = pad_png.c puck_png.c tux_png.c glass_png.c scoreboard_png.c \
+ arcana_png.c mousebar_png.c title_jpg.c board_jpg.c \
+ logo_jpg.c crash_ogg.c nock_ogg.c tux_apps_ogg.c \
+@@ -9,27 +8,33 @@
+
+ OBJS=$(SOURCES:.c=.o)
+
+-%.o : %.c
+- $(CC) $(CFLAGS) -c -o $@ $<
+-
+ libdata.a : $(OBJS)
+- ar r libdata.a $(OBJS)
+- ranlib libdata.a
++ $(AR) r libdata.a $(OBJS)
++ $(RANLIB) libdata.a
+
+-$(SOURCES):
+- cd ../utils/; $(MAKE)
++monos_fnt.c:
+ ../utils/ttf2font ttfs/mono.ttf monos.fnt 30 30
+ ../utils/data2c monos.fnt monos_fnt
++ rm monos.fnt
++monob_fnt.c:
+ ../utils/ttf2font ttfs/mono.ttf monob.fnt 45 45
+ ../utils/data2c monob.fnt monob_fnt
+- rm *.fnt
++ rm monob.fnt
++title_jpg.c:
+ ../utils/data2c jpgs/title.jpg title_jpg
++board_jpg.c:
+ ../utils/data2c jpgs/board.jpg board_jpg
++logo_jpg.c:
+ ../utils/data2c jpgs/logo.jpg logo_jpg
++pad_png.c: pngs/pad.png
+ ../utils/data2c pngs/pad.png pad_png
++puck_png.c: pngs/puck.png
+ ../utils/data2c pngs/puck.png puck_png
++scoreboard_png.c:
+ ../utils/data2c pngs/scoreboard.png scoreboard_png
++mousebar_png.c:
+ ../utils/data2c pngs/mousebar.png mousebar_png
++glass_png.c:
+ ../utils/data2c pngs/glass.png glass_png
+ ../utils/data2c pngs/piece1.png piece1_png
+ ../utils/data2c pngs/piece2.png piece2_png
+@@ -38,15 +43,22 @@
+ ../utils/data2c pngs/piece5.png piece5_png
+ mv glass_png.c temp; cat temp piece?_png.c > glass_png.c
+ rm piece?_png.c temp
++crash_ogg.c:
+ ../utils/data2c sounds/crash.ogg crash_ogg
++nock_ogg.c:
+ ../utils/data2c sounds/nock.ogg nock_ogg
++tux_eyes_spr.c:
+ # Tux
+ ../utils/anim tux/eyes.ac tux_eyes.spr
+ ../utils/data2c tux_eyes.spr tux_eyes_spr
+ rm tux_eyes.spr
++tux_png.c: tux/tux.png
+ ../utils/data2c tux/tux.png tux_png
++tux_apps_ogg.c:
+ ../utils/data2c tux/apps.ogg tux_apps_ogg
++tux_boos_ogg.c:
+ ../utils/data2c tux/boos.ogg tux_boos_ogg
++arcana_png.c:
+ # Arcana
+ ../utils/data2c arcana/arcana.png arcana_png
+ clean :
+--- a/Makefile
++++ b/Makefile
+@@ -1,13 +1,14 @@
+ # Makefile for TuxPuck , Copyright Jacob Kroon 2001-2002
+ NAME = tuxpuck
+ VERSION = 0.8.2
+-CC = gcc
+-CFLAGS += -D_VERSION=\"$(VERSION)\" -g -Wall
++CPPFLAGS += -D_VERSION=\"$(VERSION)\"
++CFLAGS += -Wall
+ CSOURCES = tuxpuck.c video.c audio.c menu.c sprite.c font.c timer.c \
+ board.c entity.c glass.c scoreboard.c player.c zoom.c png.c \
+ jpg.c intro.c tux.c arcana.c
+ INCLUDES = tuxpuck.h video.h audio.h font.h
+-
++SDL_CFLAGS = $(shell $$PKG_CONFIG --cflags sdl)
++SDL_LIBS = $(shell $$PKG_CONFIG --libs sdl)
+
+ #############################################################
+
+@@ -17,11 +18,11 @@
+ endif
+
+ %.o : %.c
+- $(CC) $(CFLAGS) `sdl-config --cflags` -c -o $@ $<
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(SDL_CFLAGS) -c -o $@ $<
+
+ $(NAME) : $(OBJS)
+- cd data; $(MAKE)
+- $(CC) $(CFLAGS) $(OBJS) data/libdata.a `sdl-config --libs` -lm -lpng \
++ cd data && $(MAKE)
++ $(CC) $(LDFLAGS) $(CFLAGS) $(OBJS) data/libdata.a $(SDL_LIBS) -lm -lpng \
+ -ljpeg -lz -lvorbisfile -lvorbis -logg -o $(NAME)
+
+ w32icon.o : data/icons/tuxpuck.ico
+--- a/utils/Makefile
++++ b/utils/Makefile
+@@ -1,18 +1,23 @@
+ # Makefile for TuxPuck Utils , Copyright Jacob Kroon 2001-2002
+-CC = gcc
+-CFLAGS += -g -Wall -Werror
++CFLAGS += -Wall
++
++FREETYPE_CFLAGS = $(shell $$PKG_CONFIG --cflags freetype2)
++FREETYPE_LIBS = $(shell $$PKG_CONFIG --libs freetype2)
++
++SDL_CFLAGS = $(shell $$PKG_CONFIG --cflags sdl)
++SDL_LIBS = $(shell $$PKG_CONFIG --libs sdl)
+ #############################################################
+
+ all : ttf2font data2c anim
+
+ ttf2font : ttf2font.c
+- $(CC) $(CFLAGS) ttf2font.c `freetype-config --cflags --libs` -o ttf2font
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) ttf2font.c -o ttf2font $(FREETYPE_CFLAGS) $(FREETYPE_LIBS)
+
+ data2c : data2c.c
+- $(CC) $(CFLAGS) data2c.c `sdl-config --cflags --libs` -o data2c
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) data2c.c -o data2c $(SDL_CFLAGS) $(SDL_LIBS)
+
+ anim : anim.c
+- $(CC) $(CFLAGS) anim.c `sdl-config --cflags --libs` -o anim
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) anim.c -o anim $(SDL_CFLAGS) $(SDL_LIBS)
+
+ clean :
+ rm -f *~ data2c ttf2font anim
diff --git a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-freetype_pkgconfig.patch b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-freetype_pkgconfig.patch
deleted file mode 100644
index 410024e48dc..00000000000
--- a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-freetype_pkgconfig.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- tuxpuck-0.8.2/utils/Makefile
-+++ tuxpuck-0.8.2/utils/Makefile
-@@ -6,7 +6,7 @@
- all : ttf2font data2c anim
-
- ttf2font : ttf2font.c
-- $(CC) $(CFLAGS) ttf2font.c `freetype-config --cflags --libs` -o ttf2font
-+ $(CC) $(CFLAGS) ttf2font.c `pkg-config --cflags --libs freetype2` -o ttf2font
-
- data2c : data2c.c
- $(CC) $(CFLAGS) data2c.c `sdl-config --cflags --libs` -o data2c
diff --git a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-ldflags.patch b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-ldflags.patch
deleted file mode 100644
index b4abb60f0fd..00000000000
--- a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-ldflags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/Makefile.old 2010-10-05 10:34:57.000000000 +0200
-+++ b/Makefile 2010-10-05 10:35:28.000000000 +0200
-@@ -20,7 +20,7 @@
-
- $(NAME) : $(OBJS)
- cd data; $(MAKE)
-- $(CC) $(CFLAGS) $(OBJS) data/libdata.a `sdl-config --libs` -lm -lpng \
-+ $(CC) $(LDFLAGS) $(CFLAGS) $(OBJS) data/libdata.a `sdl-config --libs` -lm -lpng \
- -ljpeg -lz -lvorbisfile -lvorbis -logg -o $(NAME)
-
- w32icon.o : data/icons/tuxpuck.ico
diff --git a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-parallel.patch b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-parallel.patch
deleted file mode 100644
index 7d9b199f55c..00000000000
--- a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-parallel.patch
+++ /dev/null
@@ -1,58 +0,0 @@
---- a/data/Makefile.old 2015-01-07 14:22:34.852150894 +0100
-+++ b/data/Makefile 2015-01-07 14:57:44.079822614 +0100
-@@ -15,20 +15,29 @@
- ar r libdata.a $(OBJS)
- ranlib libdata.a
-
--$(SOURCES):
-- cd ../utils/; $(MAKE)
-+monos_fnt.c:
- ../utils/ttf2font ttfs/mono.ttf monos.fnt 30 30
- ../utils/data2c monos.fnt monos_fnt
-+ rm monos.fnt
-+monob_fnt.c:
- ../utils/ttf2font ttfs/mono.ttf monob.fnt 45 45
- ../utils/data2c monob.fnt monob_fnt
-- rm *.fnt
-+ rm monob.fnt
-+title_jpg.c:
- ../utils/data2c jpgs/title.jpg title_jpg
-+board_jpg.c:
- ../utils/data2c jpgs/board.jpg board_jpg
-+logo_jpg.c:
- ../utils/data2c jpgs/logo.jpg logo_jpg
-+pad_png.c: pngs/pad.png
- ../utils/data2c pngs/pad.png pad_png
-+puck_png.c: pngs/puck.png
- ../utils/data2c pngs/puck.png puck_png
-+scoreboard_png.c:
- ../utils/data2c pngs/scoreboard.png scoreboard_png
-+mousebar_png.c:
- ../utils/data2c pngs/mousebar.png mousebar_png
-+glass_png.c:
- ../utils/data2c pngs/glass.png glass_png
- ../utils/data2c pngs/piece1.png piece1_png
- ../utils/data2c pngs/piece2.png piece2_png
-@@ -37,15 +46,22 @@
- ../utils/data2c pngs/piece5.png piece5_png
- mv glass_png.c temp; cat temp piece?_png.c > glass_png.c
- rm piece?_png.c temp
-+crash_ogg.c:
- ../utils/data2c sounds/crash.ogg crash_ogg
-+nock_ogg.c:
- ../utils/data2c sounds/nock.ogg nock_ogg
-+tux_eyes_spr.c:
- # Tux
- ../utils/anim tux/eyes.ac tux_eyes.spr
- ../utils/data2c tux_eyes.spr tux_eyes_spr
- rm tux_eyes.spr
-+tux_png.c: tux/tux.png
- ../utils/data2c tux/tux.png tux_png
-+tux_apps_ogg.c:
- ../utils/data2c tux/apps.ogg tux_apps_ogg
-+tux_boos_ogg.c:
- ../utils/data2c tux/boos.ogg tux_boos_ogg
-+arcana_png.c:
- # Arcana
- ../utils/data2c arcana/arcana.png arcana_png
- clean :
diff --git a/games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild b/games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild
index d853da6c5d1..d2fdb0c45bc 100644
--- a/games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild
+++ b/games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit desktop
+EAPI=7
+
+inherit desktop toolchain-funcs
DESCRIPTION="Hover hockey"
HOMEPAGE="http://home.no.net/munsuun/tuxpuck/"
@@ -11,38 +12,32 @@ SRC_URI="http://home.no.net/munsuun/tuxpuck/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~x86"
-IUSE=""
RDEPEND="
media-libs/libsdl
media-libs/libpng:0=
- virtual/jpeg:0
media-libs/libvorbis
-"
+ virtual/jpeg:0"
DEPEND="${RDEPEND}
- media-libs/freetype:2
- virtual/pkgconfig
-"
+ media-libs/freetype:2"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-Makefile.patch
+ "${FILESDIR}"/${P}-png15.patch
+)
src_prepare() {
default
+
# Bug #376741 - Make unpack call compatible with both
# PMS and <sys-apps/portage-2.1.10.10.
cd man || die
unpack ./${PN}.6.gz
- cd .. || die
- sed -i \
- -e 's/-Werror//' \
- -e '/^CC/d' \
- Makefile \
- utils/Makefile \
- data/Makefile \
- || die "sed failed"
-
- eapply "${FILESDIR}"/${P}-ldflags.patch \
- "${FILESDIR}"/${P}-png15.patch \
- "${FILESDIR}"/${P}-parallel.patch \
- "${FILESDIR}"/${P}-freetype_pkgconfig.patch
+}
+
+src_configure() {
+ tc-export AR CC PKG_CONFIG RANLIB
}
src_compile() {
@@ -53,9 +48,12 @@ src_compile() {
src_install() {
dobin tuxpuck
- doman man/tuxpuck.6
+
dodoc *.txt
+ einstalldocs
+
+ doman man/tuxpuck.6
+
doicon data/icons/${PN}.ico
make_desktop_entry ${PN} "TuxPuck" /usr/share/pixmaps/${PN}.ico
- einstalldocs
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-07-05 0:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-07 8:25 [gentoo-commits] repo/gentoo:master commit in: games-arcade/tuxpuck/, games-arcade/tuxpuck/files/ Lars Wendler
-- strict thread matches above, loose matches on Subject: below --
2020-07-05 0:24 David Seifert
2018-04-24 19:26 Pacho Ramos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox