add ebuilds
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2464 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
3
net-misc/nxcompsh/Manifest
Normal file
3
net-misc/nxcompsh/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
AUX nxcompsh-3.2.0-gcc43.patch 823 RMD160 ec8d4bb40c0d10b6898e7dc9a0b77cc641587588 SHA1 cda1e79f97483c1d3b43fc1579b644bacfe88287 SHA256 9f1c2f6b808c4c22c9bf4a6d8e8c89b8d240d1c8d9be1918bea60aece87dc899
|
||||
DIST nxcompsh-3.4.0-2.tar.gz 76941 RMD160 6fddf760f76a41d334f103cfd1802f143ba9ad80 SHA1 5bdea32174047ddf70e9cbb0f3c298d269c2bb8d SHA256 d6d29c59f070ea1ff65901a33e2013902abb3765dc6a8858f5bd6d09eccb6bf0
|
||||
EBUILD nxcompsh-3.4.0_p2.ebuild 1113 RMD160 c4533d636a5c3ffa1cbc890acae640cf70f3e1f0 SHA1 f77efe56fd1b43ac947c1695cc7c4d7aee534e14 SHA256 e0a4f678e61343b90b099d820b4db24d7b6bba9d004fa0fcf09badd0fc875222
|
||||
43
net-misc/nxcompsh/files/nxcompsh-3.2.0-gcc43.patch
Normal file
43
net-misc/nxcompsh/files/nxcompsh-3.2.0-gcc43.patch
Normal file
@@ -0,0 +1,43 @@
|
||||
--- nxcompsh/Logger.cpp.orig 2008-07-21 17:53:09 +0400
|
||||
+++ nxcompsh/Logger.cpp 2008-07-21 17:59:57 +0400
|
||||
@@ -26,7 +26,9 @@
|
||||
#include "Logger.h"
|
||||
#include "Timestamp.h"
|
||||
|
||||
-#include <ctype.h>
|
||||
+#include <cctype>
|
||||
+
|
||||
+using namespace std;
|
||||
|
||||
Logger logger;
|
||||
|
||||
--- nxcompsh/Logger.h.orig 2008-07-21 17:53:29 +0400
|
||||
+++ nxcompsh/Logger.h 2008-07-21 18:01:53 +0400
|
||||
@@ -18,7 +18,7 @@
|
||||
#ifndef Logger_H
|
||||
#define Logger_H
|
||||
|
||||
-#include <errno.h>
|
||||
+#include <cerrno>
|
||||
#include <stdarg.h>
|
||||
|
||||
//
|
||||
--- nxcompsh/Misc.h.orig 2008-07-22 14:10:18 +0400
|
||||
+++ nxcompsh/Misc.h 2008-07-22 14:12:38 +0400
|
||||
@@ -18,10 +18,13 @@
|
||||
#ifndef Misc_H
|
||||
#define Misc_H
|
||||
|
||||
-#include <iostream.h>
|
||||
+#include <iostream>
|
||||
|
||||
-#include <errno.h>
|
||||
-#include <string.h>
|
||||
+#include <cerrno>
|
||||
+#include <cstring>
|
||||
+#include <ios>
|
||||
+
|
||||
+using namespace std;
|
||||
|
||||
//
|
||||
// This is MD5 length.
|
||||
50
net-misc/nxcompsh/nxcompsh-3.4.0_p2.ebuild
Normal file
50
net-misc/nxcompsh/nxcompsh-3.4.0_p2.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
|
||||
MY_P=${P/_p/-}
|
||||
MY_PV=${PV/_p*/}
|
||||
|
||||
inherit autotools eutils multilib
|
||||
|
||||
DESCRIPTION="NX compression technology core libraries"
|
||||
HOMEPAGE="http://www.nomachine.com/developers.php"
|
||||
SRC_URI="http://web04.nomachine.com/download/${MY_PV}/sources/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="x11-libs/libX11
|
||||
>=media-libs/jpeg-6b-r4
|
||||
>=media-libs/libpng-1.2.8
|
||||
>=sys-libs/zlib-1.2.3
|
||||
!<net-misc/nx-${MY_PV}
|
||||
>=net-misc/nxcomp-${MY_PV}"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/nxcompsh
|
||||
|
||||
src_prepare() {
|
||||
# Respect CFLAGS/CXXFLAGS
|
||||
epatch "${FILESDIR}"/nxcompsh-3.2.0-gcc43.patch
|
||||
# Use System nxcomp
|
||||
#epatch "${FILESDIR}"/nxcompext-3.4.0-no-local-nxcomp.patch
|
||||
# IOError
|
||||
#epatch "${FILESDIR}"/nxcompext-3.4.0-NXlib-xgetioerror.patch
|
||||
# Run autoreconf in all neeed folders
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Install Libs
|
||||
dolib libXcompsh.a
|
||||
dolib.so libXcompsh.so*
|
||||
# Install Header
|
||||
insinto /usr/include/nx
|
||||
doins Connector.h Dispatcher.h Event.h Listener.h
|
||||
}
|
||||
Reference in New Issue
Block a user