summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-misc/lineak-defaultplugin
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-misc/lineak-defaultplugin')
-rw-r--r--x11-misc/lineak-defaultplugin/Manifest1
-rw-r--r--x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc43.patch10
-rw-r--r--x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc47.patch10
-rw-r--r--x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0-r1.ebuild47
-rw-r--r--x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0.ebuild41
-rw-r--r--x11-misc/lineak-defaultplugin/metadata.xml8
6 files changed, 117 insertions, 0 deletions
diff --git a/x11-misc/lineak-defaultplugin/Manifest b/x11-misc/lineak-defaultplugin/Manifest
new file mode 100644
index 000000000000..2cf45b7de5de
--- /dev/null
+++ b/x11-misc/lineak-defaultplugin/Manifest
@@ -0,0 +1 @@
+DIST lineak-defaultplugin-0.9.tar.gz 840704 SHA256 3b679d38e32e47c05f13de89b5f3ca49729b6dd847208bd184f772e5f9373230 SHA512 f110eb42f8711b9fbd38652462d9b44f6f6851c4dc5cdb466b63bd09b8d3320e35d7de82626f2c9409bbf0f96d4f1e4ab2e9a82932452e50b403d343fca1ce4b WHIRLPOOL 6a641600e2c581ba17a1324ac892426d9f9f5c83e50efc6b39275effc437e664eb02c083a025779c9d51d02d8e444465f7070950e002f2f1a65417ea63b1ae9e
diff --git a/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc43.patch b/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc43.patch
new file mode 100644
index 000000000000..1d12fce74f09
--- /dev/null
+++ b/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc43.patch
@@ -0,0 +1,10 @@
+--- a/default_plugin/defaultplugin.cpp
++++ b/default_plugin/defaultplugin.cpp
+@@ -35,6 +35,7 @@
+ #include <iostream>
+ #include <sstream>
+ #include <stdlib.h>
++#include <cstring>
+ using namespace std;
+ using namespace lineak_core_functions;
+
diff --git a/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc47.patch b/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc47.patch
new file mode 100644
index 000000000000..7f593ef0818b
--- /dev/null
+++ b/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc47.patch
@@ -0,0 +1,10 @@
+--- a/default_plugin/defaultplugin.cpp
++++ b/default_plugin/defaultplugin.cpp
+@@ -35,6 +35,7 @@
+ #include <iostream>
+ #include <sstream>
+ #include <stdlib.h>
++#include <unistd.h> /* fork() */
+ #include <cstring>
+ using namespace std;
+ using namespace lineak_core_functions;
diff --git a/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0-r1.ebuild b/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0-r1.ebuild
new file mode 100644
index 000000000000..519a37822f53
--- /dev/null
+++ b/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils multilib
+
+MY_P=${P/.0/}
+
+DESCRIPTION="Mute/unmute and other macros for LINEAK"
+HOMEPAGE="http://lineak.sourceforge.net"
+SRC_URI="mirror://sourceforge/lineak/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="debug"
+
+RDEPEND="
+ =x11-misc/lineakd-${PV}*
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/inputproto
+"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-gcc47.patch
+
+ sed -i -e 's:$(DESTDIR)${DESTDIR}:$(DESTDIR):' default_plugin/Makefile.in || die
+}
+
+src_configure() {
+ econf USER_LDFLAGS="${LDFLAGS}" $(use_enable debug)
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ PLUGINDIR=/usr/$(get_libdir)/lineakd/plugins \
+ install
+ dodoc AUTHORS README
+}
diff --git a/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0.ebuild b/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0.ebuild
new file mode 100644
index 000000000000..5c7893d2ac71
--- /dev/null
+++ b/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils multilib
+
+MY_P=${P/.0/}
+
+DESCRIPTION="Mute/unmute and other macros for LINEAK"
+HOMEPAGE="http://lineak.sourceforge.net"
+SRC_URI="mirror://sourceforge/lineak/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="debug"
+
+DEPEND="=x11-misc/lineakd-${PV}*
+ x11-proto/inputproto"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+}
+
+src_compile() {
+ econf USER_LDFLAGS="${LDFLAGS}" $(use_enable debug)
+ emake || die "emake failed."
+}
+
+src_install() {
+ sed -i -e 's:$(DESTDIR)${DESTDIR}:$(DESTDIR):' default_plugin/Makefile
+
+ emake DESTDIR="${D}" \
+ PLUGINDIR=/usr/$(get_libdir)/lineakd/plugins \
+ install || die "emake install failed."
+ dodoc AUTHORS README
+}
diff --git a/x11-misc/lineak-defaultplugin/metadata.xml b/x11-misc/lineak-defaultplugin/metadata.xml
new file mode 100644
index 000000000000..c01576627929
--- /dev/null
+++ b/x11-misc/lineak-defaultplugin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>desktop-misc</herd>
+ <upstream>
+ <remote-id type="sourceforge">lineak</remote-id>
+ </upstream>
+</pkgmetadata>