diff options
Diffstat (limited to 'sys-apps/fbset')
-rw-r--r-- | sys-apps/fbset/Manifest | 6 | ||||
-rw-r--r-- | sys-apps/fbset/fbset-2.1.ebuild | 35 | ||||
-rw-r--r-- | sys-apps/fbset/files/fbset-2.1-build.patch | 21 | ||||
-rw-r--r-- | sys-apps/fbset/metadata.xml | 8 |
4 files changed, 70 insertions, 0 deletions
diff --git a/sys-apps/fbset/Manifest b/sys-apps/fbset/Manifest new file mode 100644 index 000000000000..01f36ea7d5d9 --- /dev/null +++ b/sys-apps/fbset/Manifest @@ -0,0 +1,6 @@ +AUX fbset-2.1-build.patch 458 SHA256 963e90bbe337983fa650f949f9ef484612753016132899ee3d42cd4d9bed8fc6 SHA512 97d8df2776c634ccdcf49433bb45e8e7d944e5d7cc34fe0f55085f76f0f5dfc216323a0f4e58d256767e83987dd73e96be3393bd727d791edd12f0b63ebed819 WHIRLPOOL c90d9d97bbda3f9a7c44b5b0c9947d265c92b4c2f324c89753a2573902921e590350546f440dbba30a3bad880fe8e4f3fd778025ccccf3b733a271a0982b8bd9 +DIST fbset-2.1.tar.gz 27721 SHA256 40ff4ab0247b75138a0887ed40f81c1a6184f340b77126c16d074b1075b41c20 SHA512 7e0380760f77b0db7dcc128f6375a3ed8da4b8521d1926faba27812c5cb20e6f1a62f3a539591a81a6b7e7986940db4cd83e03d6de487e0ab7f0760ed1d21b28 WHIRLPOOL a45b2b1031cd9fc626b318a4df1d697ccc710f86eeba9f7013b738a23f7910d4c73ca5b4bad8ed07a18cf5b60aa8d7a3dbb56424bf56a8346f2c7d94fd97d957 +EBUILD fbset-2.1.ebuild 786 SHA256 3648ef074cf42a3f6200bf5ebd925cde029e6e5a3490e3622c612ce9250e4b3d SHA512 f0b00c7bd7b09834fec17b0dfbb3e4195980f62289d8a66d9e69afc3df2663611feb819e3b062eaf168d3f83d9e11ec6e876829f08f81b63828fd0adba6bdb21 WHIRLPOOL 23be5e04188a9b18590e932339febf82775e2d0f64efb3fc415136123f22eecbcf97dd10bd5cebc605c1ffc7a6c2f48e4c2be922c6b12fe9d5e3549aaf006044 +MISC ChangeLog 3116 SHA256 4b4272340f2beceaba54b38bd39bb302f214c76d8ad7b2157b6a02766baa1f26 SHA512 a4886b923bb7787a8d2e2a8e9d1055b918f7058d0b941f2ce5835434a3cbe906df7c5d070a2e9b41a22cfa07fe5d8144ab61a4b6a88fdab188366dea720b7f74 WHIRLPOOL 0d46f387000ceb933e0d2264ba71f53ed81a6c47e5cafb8101eb46ce9755d97189c8e7c707fde2eae61743bdc985b50c310b8054ed6f97eaf30cde566f65d37c +MISC ChangeLog-2015 2082 SHA256 1b63890bb434853f19ce02ca4ea2ec89f8b16d2ddd5b49af3a6898cab6814c23 SHA512 448963da574327673fc9f7722cf9914306abd29ad62311201a3a0bf35156a04ad46a271b5a5494bef1313be41ba75eb3752bb439f99a7e5f684e102e74a4fe62 WHIRLPOOL f73a8a119625b029059d8f735a1e852c6944398e98ccbcffd62ffc4ed895c0a0148541b1d599167ab5053fd7c56798a5622daffa8726acc048ceb527663ee2a0 +MISC metadata.xml 253 SHA256 d82c33ef453113a5c1ebe250dcba373c22934a69b0a86c6ab15a5ca589c25b91 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555 WHIRLPOOL e5aee23acff864609953a1e4de768f0e4aef704b44c53c021f28573e1ca5c99f1a46d92935ecec2449f7b4419a36d8373127d0ecfa8d7bae72d835e1839eb3f8 diff --git a/sys-apps/fbset/fbset-2.1.ebuild b/sys-apps/fbset/fbset-2.1.ebuild new file mode 100644 index 000000000000..cd50cd3945d2 --- /dev/null +++ b/sys-apps/fbset/fbset-2.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit toolchain-funcs flag-o-matic eutils + +DESCRIPTION="A utility to set the framebuffer videomode" +HOMEPAGE="http://users.telenet.be/geertu/Linux/fbdev/" +SRC_URI="http://users.telenet.be/geertu/Linux/fbdev/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 s390 sh sparc x86" +IUSE="static" + +DEPEND="sys-devel/bison + sys-devel/flex" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-build.patch" +} + +src_compile() { + use static && append-ldflags -static + tc-export CC + emake || die "emake failed" +} + +src_install() { + dobin fbset modeline2fb || die "dobin failed" + doman *.[58] + dodoc etc/fb.modes.* INSTALL +} diff --git a/sys-apps/fbset/files/fbset-2.1-build.patch b/sys-apps/fbset/files/fbset-2.1-build.patch new file mode 100644 index 000000000000..94a323bb39ac --- /dev/null +++ b/sys-apps/fbset/files/fbset-2.1-build.patch @@ -0,0 +1,21 @@ +Index: fbset-2.1/Makefile +=================================================================== +--- fbset-2.1.orig/Makefile ++++ fbset-2.1/Makefile +@@ -2,7 +2,6 @@ + # Linux Frame Buffer Device Configuration + # + +-CC = gcc -Wall -O2 -I. + BISON = bison -d + FLEX = flex + INSTALL = install +@@ -20,6 +19,8 @@ lex.yy.o: lex.yy.c fbset.h modes.tab.h + lex.yy.c: modes.l + $(FLEX) modes.l + ++modes.tab.h: modes.tab.c ++ + modes.tab.c: modes.y + $(BISON) modes.y + diff --git a/sys-apps/fbset/metadata.xml b/sys-apps/fbset/metadata.xml new file mode 100644 index 000000000000..56c124413057 --- /dev/null +++ b/sys-apps/fbset/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>base-system@gentoo.org</email> + <name>Gentoo Base System</name> +</maintainer> +</pkgmetadata> |