net-misc/nxcomp: Initial checkin

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2256 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-06-14 21:26:53 +00:00
parent ab67b6eecc
commit b5b8cce95c
6 changed files with 134 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# ChangeLog for net-misc/nxcomp
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
14 Jun 2010; Mario Fetka <mario.fetka@gmail.com>
+files/nxcomp-1.5.0-pic.patch, +files/nxcomp-3.3.0-cflags.patch,
+nxcomp-3.4.0_p7.ebuild, +metadata.xml:
Initial checkin

6
net-misc/nxcomp/Manifest Normal file
View File

@ -0,0 +1,6 @@
AUX nxcomp-1.5.0-pic.patch 522 RMD160 2016856cb86605ca7ccb6b2c17a1c096c8e80cea SHA1 f3febd574eb07c244a6fc91323631f99fad5fa34 SHA256 d4fb814d5ee3bd13c39e535b731caab0acb9e552cea471c602c8ff9c8e6d535e
AUX nxcomp-3.3.0-cflags.patch 332 RMD160 8b783c93f95d5fc65a04f9568b39d8901ffabc13 SHA1 cb78155cb1dd0029246041d65ed4522b45661bf9 SHA256 51b832ac982eb68ee857a0f09c5776831e8fb17a5fe8c6dac0417cdfadf2455c
DIST nxcomp-3.4.0-7.tar.gz 535623 RMD160 566b06ef03a8025392b02d103594febf78121e8f SHA1 d35abe56ec8aa96cd2748eda5831254f1171cb1f SHA256 1c9eb63e46ae263899aec08c017c6af93b0632883ec916d465df9e438229e485
EBUILD nxcomp-3.4.0_p7.ebuild 1064 RMD160 8b9dfafa373a11686c65de8061f0bd6fed56c3d3 SHA1 0bba8fb96bdf1a4311bb744e93e1c04b44f6b2f6 SHA256 1106883d5f7b36c954a37d8a8d94857de95610fd7e685ce402288a63a8adaca7
MISC ChangeLog 295 RMD160 a8c9097bb3dbb1d75aadf096af83b64ebe807c80 SHA1 9f52ca90d7de814d2d04dd7e4ac88a75245554f4 SHA256 ed839e1888b2940c0935c93303b7618c3892dc7f5853a69ba6af16bd3882926d
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5

View File

@ -0,0 +1,20 @@
--- nxcomp/Makefile.in.agriffis 2005-11-12 12:48:42.000000000 -0500
+++ nxcomp/Makefile.in 2005-12-15 12:24:46.000000000 -0500
@@ -32,7 +32,7 @@
CXX = @CXX@
CXXFLAGS = @CXXFLAGS@ @X_CFLAGS@ @DEFS@ \
- -Wall -Wpointer-arith
+ -Wall -Wpointer-arith -fPIC
CXXINCLUDES =
CXXDEFINES =
@@ -42,7 +42,7 @@
CC = @CC@
CCFLAGS = @CFLAGS@ @X_CFLAGS@ @DEFS@ \
- -Wall -Wpointer-arith
+ -Wall -Wpointer-arith -fPIC
CCINCLUDES =
CCDEFINES =

View File

@ -0,0 +1,12 @@
--- nxcomp/configure.in.orig 2008-12-18 15:48:09.000000000 +0100
+++ nxcomp/configure.in 2008-12-18 15:54:14.000000000 +0100
@@ -7,8 +7,7 @@
dnl Set our default compilation flags.
-CXXFLAGS="-O3 -fno-rtti -fno-exceptions"
-CFLAGS="-O3"
+CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
dnl Reset default linking directives.

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<!--
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
This is the example metadata file.
The root element of this file is <pkgmetadata>. Within this element a
number of subelements are allowed: herd, maintainer, and
longdescription. herd is a required subelement.
For a full description look at:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
Before committing, please remove the comments from this file. They are
not relevant for general metadata.xml files.
-->
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>@gentoo.org</email>
<!-- <description>Description of the maintainership</description> -->
</maintainer>
<!-- <longdescription>Long description of the package</longdescription> -->
<!--
<use>
<flag name='flag'>Description of how USE='flag' affects this package</flag>
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
package</flag>
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
Requires an installed dictionary from <cat>app-dicts</cat></flag>
</use>
-->
</pkgmetadata>

View File

@ -0,0 +1,53 @@
# 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/libXau
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXdmcp
x11-libs/libXpm
x11-libs/libXrandr
x11-libs/libXtst
>=media-libs/jpeg-6b-r4
>=media-libs/libpng-1.2.8
>=sys-libs/zlib-1.2.3
!<=net-misc/nx-${MY_PV}"
DEPEND="${RDEPEND}"
S=${WORKDIR}/nxcomp
src_prepare() {
# -fPIC
epatch "${FILESDIR}"/nxcomp-1.5.0-pic.patch
# Respect CFLAGS/CXXFLAGS
epatch "${FILESDIR}"/nxcomp-3.3.0-cflags.patch
# Run autoreconf in all neeed folders
eautoreconf
}
src_install() {
# Install Libs
dolib libXcomp.a
dolib.so libXcomp.so*
# Install Header
insinto /usr/include/nx
doins NX*.h MD5.h
}