summaryrefslogtreecommitdiff
path: root/media-gfx/fblogo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/fblogo
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/fblogo')
-rw-r--r--media-gfx/fblogo/Manifest6
-rw-r--r--media-gfx/fblogo/fblogo-0.5.2.ebuild39
-rw-r--r--media-gfx/fblogo/files/fblogo-0.5.2-cross.patch36
-rw-r--r--media-gfx/fblogo/metadata.xml5
4 files changed, 86 insertions, 0 deletions
diff --git a/media-gfx/fblogo/Manifest b/media-gfx/fblogo/Manifest
new file mode 100644
index 000000000000..d7a52a37d7ad
--- /dev/null
+++ b/media-gfx/fblogo/Manifest
@@ -0,0 +1,6 @@
+AUX fblogo-0.5.2-cross.patch 1060 SHA256 cdd1792ff631e44c5aea3b58d5239ce5d27cd7681a38cf421cf0b48c81d0b4c4 SHA512 98794e4de65a9e5e85aa850160ea8c7fc51da4084f79e67e2ad8bbde694ae27614c56bcff08f2023c0309c12f3c8e071e430fb7aab6ac3652f5597329695eb70 WHIRLPOOL 4ba2ff2033f979400d6c1ab4a55c40542bbff2be08e5f154ea21f8c6ef604343afb5085758dd2e2df4fa59811145a893a5948b02309bdcb5f1a39dd97faff8c7
+DIST fblogo-0.5.2.tar.gz 21874 SHA256 409d3aaaaddd6a8d22a661c68cad3283c969ed33fabe357df60fb37ab8bfae1e SHA512 d0ff36355e80be336d5b02cd6419ee4c669dd98b0dc1334b75440d814ea640e0ad11c14b24469619c116333d1eb7b8256c6cedae3886d1e8a4f99835eed7df42 WHIRLPOOL c7a2c4d20b768cec4cf6e75c80d3698f02b9e3042df52273d965d4856b38bb74a89c90b0ec98d85c13ff7661a877f54bdbbec70d4410bf5322a03d1d42db5573
+EBUILD fblogo-0.5.2.ebuild 837 SHA256 d3d1933de85033ed2f54920181dc0d2efcb4396db0360d3f8f0ad476094389a9 SHA512 ce03d9bb936979fde617521f0a65609b23577eb512171db794b98e92fce87e772dc010fe62a3054ad7fc774dfd86f219711401a1dd80adb19b3842cc1365055f WHIRLPOOL dd9e86f911449f40ab06b16254d288c003012dbbfec21345514cc7d172b89408539f58fc92a467bedfd32c881ad827b3027381f7540fb657693dab9bd3fc6216
+MISC ChangeLog 2576 SHA256 ae9fd3fb7d60c015d96c293e5b6a012c058dc336d5d9c80113534f19ce61ad18 SHA512 4b40000faa8fbeed98021e78eaf444bc291ea1d83d3fe56e9b1cce5a5644fde21b253be096285190ae6525772b9db6dbfd15e033b28c37cf531741fe8b7a666a WHIRLPOOL 38fcc890e1fee2e4ac466e0ba863626b93177a2b3c7b18e388444421d40bca626126a11f45fda0028da9717f18b569740c40c817ee863c6098abd1906e699439
+MISC ChangeLog-2015 2358 SHA256 bd89dc37c283d5a5f308942d88d611ee3db5e611f795e088953359451b5f98e4 SHA512 d864b42b6ca68c0aff18c2bad589d3112e6dd94ffc8284caefe7f6cb794cf6e6e72ae437136d5dc8dfbdba4a75c0cadba1611c1c835d8326bc5c1e2554b33343 WHIRLPOOL cad4bf127a54395bb5d8c6fde9db54e80349ee4e4b432015c32ffe6b37119d9d5c453a2c36e0d11bedb6b2f199d81806fc4ef441d6844a8be1fa94d14d41e652
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/media-gfx/fblogo/fblogo-0.5.2.ebuild b/media-gfx/fblogo/fblogo-0.5.2.ebuild
new file mode 100644
index 000000000000..a9dca8cedc83
--- /dev/null
+++ b/media-gfx/fblogo/fblogo-0.5.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Creates images to substitute Linux boot logo"
+#HOMEPAGE="http://freakzone.net/gordon/#fblogo"
+HOMEPAGE="https://www.gentoo.org/"
+#SRC_URI="http://freakzone.net/gordon/src/${P}.tar.gz"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 arm ppc ~sparc x86"
+IUSE=""
+
+RDEPEND="media-libs/libpng
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/fblogo-0.5.2-cross.patch
+
+ sed -i -e '/-o fblogo/d' \
+ -e 's:LIBS:LDLIBS:' \
+ Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc README CHANGES
+}
diff --git a/media-gfx/fblogo/files/fblogo-0.5.2-cross.patch b/media-gfx/fblogo/files/fblogo-0.5.2-cross.patch
new file mode 100644
index 000000000000..dfcb2871a347
--- /dev/null
+++ b/media-gfx/fblogo/files/fblogo-0.5.2-cross.patch
@@ -0,0 +1,36 @@
+--- Makefile 2003-09-28 10:33:24.000000000 +0000
++++ Makefile 2008-05-18 19:05:12.000000000 +0000
+@@ -1,24 +1,28 @@
+-CC = gcc
++CC ?= gcc
+ LIBS = -lpng -lz -lm
+-CFLAGS = -g -O2 -W -Wall -DPNG_SETJMP_NOT_SUPPORTED
+-
++CFLAGS ?= -g -O2 -W -Wall
++CFLAGS += -DPNG_SETJMP_NOT_SUPPORTED
++LDFLAGS =
+ INSTALL = /usr/bin/install
+ INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644
+ INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755
+ INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755
+
+ DESTDIR =
+-PREFIX = /usr/local
++PREFIX = /usr
+ BINDIR = ${PREFIX}/bin
+ MANDIR = ${PREFIX}/share/man
+
+ fblogo: fblogo.c
+- $(CC) -o fblogo $(CFLAGS) $(INCLUDES) $(LIBS) fblogo.c
++ $(CC) -o fblogo $(CFLAGS) $(INCLUDES) $(LDFLAGS) $(LIBS) fblogo.c
+
+ clean::
+ -rm -f *.o fblogo
+
+ install:
++ mkdir -p ${DESTDIR}${PREFIX}
++ mkdir -p ${DESTDIR}${BINDIR}
++ mkdir -p ${DESTDIR}${MANDIR}/man1
+ ${INSTALL_PROGRAM} fblogo ${DESTDIR}${BINDIR}
+ ${INSTALL_SCRIPT} fblogo_patch ${DESTDIR}${BINDIR}
+ ${INSTALL_FILE} fblogo.1 ${DESTDIR}${MANDIR}/man1
diff --git a/media-gfx/fblogo/metadata.xml b/media-gfx/fblogo/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/media-gfx/fblogo/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>