summaryrefslogtreecommitdiff
path: root/net-misc/nx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-08 11:28:34 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-08 11:28:34 +0000
commit24fd814c326e282c4321965c31f341dad77e270d (patch)
tree033d63b33c21a3209964ab56005bb9bdd523630d /net-misc/nx
parent129160ec854dca4c3fedb5bcfbcb56930371da0f (diff)
gentoo resync : 08.01.2021
Diffstat (limited to 'net-misc/nx')
-rw-r--r--net-misc/nx/Manifest10
-rw-r--r--net-misc/nx/nx-3.5.99.16.ebuild129
-rw-r--r--net-misc/nx/nx-3.5.99.22.ebuild138
-rw-r--r--net-misc/nx/nx-3.5.99.23.ebuild140
-rw-r--r--net-misc/nx/nx-3.5.99.24.ebuild136
-rw-r--r--net-misc/nx/nx-3.5.99.25.ebuild4
6 files changed, 3 insertions, 554 deletions
diff --git a/net-misc/nx/Manifest b/net-misc/nx/Manifest
index 5e3cd3c204f6..5c9d4837f294 100644
--- a/net-misc/nx/Manifest
+++ b/net-misc/nx/Manifest
@@ -1,11 +1,3 @@
-DIST nx-libs-3.5.99.16-full.tar.gz 5269745 BLAKE2B c968b8dde07e397e84786131cede0dd82979c52069a653de540ec833e5189751db15347aa34cf68db523207aa13ae7507cce0b28b09e897606becdc6effd7fcc SHA512 6b80530345da879e62f9ea506a04c77bd918d3c48d46a22548d1534dab14cae5a715290942fdd5c77708f119522312cd667b6b9f286f106463c5a0debbb0451c
-DIST nx-libs-3.5.99.22-full.tar.gz 5280116 BLAKE2B 1a15ba04ace5fd46b007652897aa911a883fa2840c07f4e89db970d3235556ee83600f5cd4d9c4b64f7ce4767dd448a3654412051496754d73a2815a7573692f SHA512 53e7f1ffd8bf9dfd08426e30b0a18433b64f926959ab95132c28960f9a2390e67a34b1e07c923bf11f889088711d7d97c1fd123507f39c2077211d2c3cd6857f
-DIST nx-libs-3.5.99.23.tar.gz 11073366 BLAKE2B 0e06e9c90f73a0264d8363ee3f75914ada884f469d9ba15b062675625a9922be5ec963eb7611484ef2abea83a100e58b05e6421da67d8b5c5f840737e6b37321 SHA512 b627d521f7a3c43c9c000f770bd1e228842099e794cda32b37df621ac86c650990bdc69810b7ff6117cbd60f0339dda93d1e2acdcfac03ddaa50407d71668b60
-DIST nx-libs-3.5.99.24.tar.gz 11059384 BLAKE2B 79879991c2c0127e43975d42a27159594e3be29b2e358576da4bdc17ef1dc0c27a31c85b12a8c55638abb99db9f7f1fad4f4d8794c01e1327a5cb68558073fc0 SHA512 755f9065da69f0057a7284eb80f214cd272c6753f32ddaa17b4258c6ccba77c8fec82eafaea87bd3e055610dc798cb141d8e947900ad3bad34c681df664df3b2
DIST nx-libs-3.5.99.25.tar.gz 11065489 BLAKE2B 9210441fd2dc38fec14c90018ead4e3ddacd5ac266a26b1d985f874af0abdef3fdc2255614e45ec23816f1194ebe6ffe2beb776901eb1ed206658e8175b1ff57 SHA512 142378ae9a81542ed1bc969e9fcb2d421f1d63f7d46185c80e1e07493298e62379697ca2a367301c0f3df631acb19510113f3852922454fdc964767c36a81004
-EBUILD nx-3.5.99.16.ebuild 3118 BLAKE2B cd118b671a1b57c7ceae369431e8b23a214104bd790914d735b118e2e7d9487b096b4a08792a4006572362f0bac78015c1f868092186c22ac21d9e829674df64 SHA512 42b58a02ccba22d17b2862ea85923e8fc7f6834c667b31afcd1399d66cb21f9e6a33f98b48973305d342b6cf406504cd41a545a046a2708d77d6741d441773a5
-EBUILD nx-3.5.99.22.ebuild 3243 BLAKE2B 96efb3e409b0e6253efcc1914ae5bf5d1020999e682a729dee71c188126aed73b9abbbf62b1cfae46427c1a65c0365c94e5d321c825b4775df0b5a06ff17ffd6 SHA512 159ee29ca7dc9a1d8ee12ee5fea8a10a0bb1ac28762d08208dc15b547e8d4d15b06de001e13f36c8648c193155ba1865f02d05be7d8bf25b228f889fd509711e
-EBUILD nx-3.5.99.23.ebuild 3392 BLAKE2B 676f533494f67fe8285db1d5a4ddd715c58ae7ce78d4cf7e4bc63d330709735c1d814426cdf80303a6420686deed5be75d3d82b2d0fc65fc4e9b04052207890a SHA512 a4020facae074b7f123c165e2009d4c1b7dcf3e33c2b1917dbfd80fc5d210c0cc93886158cfc4fb8153752a9e368910bfb750eab4a43b182581c9b4645a8aa56
-EBUILD nx-3.5.99.24.ebuild 3263 BLAKE2B 586b19ad301450226ad97666e6f8f3f07cd060f8778c1437c863876af725e29811910508345300b400cb4513861295f0f09b81fc5768f2d3452e968f2b3b3b05 SHA512 0372380455f94e9aa723c00793836b47671c6d184afd640a7a39120d6de2df54c9b0fd80577a426a460d24bd7e21541d5cab7b43b7d6c70d9113d85748776364
-EBUILD nx-3.5.99.25.ebuild 3263 BLAKE2B 586b19ad301450226ad97666e6f8f3f07cd060f8778c1437c863876af725e29811910508345300b400cb4513861295f0f09b81fc5768f2d3452e968f2b3b3b05 SHA512 0372380455f94e9aa723c00793836b47671c6d184afd640a7a39120d6de2df54c9b0fd80577a426a460d24bd7e21541d5cab7b43b7d6c70d9113d85748776364
+EBUILD nx-3.5.99.25.ebuild 3261 BLAKE2B e1af6432005e148a7a51435e2eb1d8ef1178935f6a302b3877978c1235741bf869569c7683f61a8ec45d40f040609ccf128448fbb39373f2a98e1e575bfff937 SHA512 5483a5084b78ed3ee751de714198d6ec2e1fd51ab754400adc9559be73d48035904aa3558a824d33e98e9289377543587a94daf48328ef0237f447844aca3c61
MISC metadata.xml 332 BLAKE2B 93930f64047301f8a393899de54a0d9294c7c17385b47fec5a2e402b2904bc88ae697e5b075e1defd723d8d251fd424e790e9b37b94bc48b10b395307e3830fd SHA512 005c90731093f7fc354297e981140415e33785492a1a835a5a5b8b68506d690679d6430ff0b05f6e3ce2ac763ea13cd68a599581a6037f16ac1974e6ad9d54a4
diff --git a/net-misc/nx/nx-3.5.99.16.ebuild b/net-misc/nx/nx-3.5.99.16.ebuild
deleted file mode 100644
index ac90bff91f82..000000000000
--- a/net-misc/nx/nx-3.5.99.16.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools eutils toolchain-funcs
-
-DESCRIPTION="NX compression technology core libraries"
-HOMEPAGE="http://www.x2go.org/doku.php/wiki:libs:nx-libs"
-
-SRC_URI="http://code.x2go.org/releases/source/nx-libs/nx-libs-${PV}-full.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="elibc_glibc"
-
-RDEPEND="
- dev-libs/libxml2
- >=media-libs/libpng-1.2.8:0=
- >=sys-libs/zlib-1.2.3
- virtual/jpeg:*
- x11-libs/libX11
- x11-libs/libXcomposite
- x11-libs/libXdamage
- x11-libs/libXdmcp
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXfont2
- x11-libs/libXinerama
- x11-libs/libXpm
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXtst
- x11-libs/pixman
-"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- x11-base/xorg-proto
- x11-libs/libfontenc
- x11-misc/gccmakedep
- x11-misc/imake"
-
-S="${WORKDIR}/nx-libs-${PV}"
-
-src_prepare() {
- default
-
- # We want predictable behavior. So let's assume we never
- # have quilt installed.
- sed 's@which quilt@false@' -i mesa-quilt || die
-
- # run autoreconf in all needed folders
- local subdir
- for subdir in nxcomp nx-X11/lib nxcompshad nxproxy ; do
- pushd ${subdir} || die
- eautoreconf
- popd || die
- done
-
- # From xorg-x11-6.9.0-r3.ebuild
- pushd nx-X11 || die
- HOSTCONF="config/cf/host.def"
- echo "#define CcCmd $(tc-getCC)" >> ${HOSTCONF}
- echo "#define OptimizedCDebugFlags ${CFLAGS} GccAliasingArgs" >> ${HOSTCONF}
- echo "#define OptimizedCplusplusDebugFlags ${CXXFLAGS} GccAliasingArgs" >> ${HOSTCONF}
- # Respect LDFLAGS
- echo "#define ExtraLoadFlags ${LDFLAGS}" >> ${HOSTCONF}
- echo "#define SharedLibraryLoadFlags -shared ${LDFLAGS}" >> ${HOSTCONF}
- # Disable SunRPC, #370767
- echo "#define HasSecureRPC NO" >> ${HOSTCONF}
-}
-
-src_configure() {
- local subdir
- for subdir in nxcomp nxcompshad nxproxy ; do
- pushd ${subdir} || die
- econf
- popd || die
- done
-
- pushd "nx-X11/lib" || die
- econf --disable-poll
- popd || die
-}
-
-src_compile() {
- # First set up the build environment
- emake build-env
-
- # We replicate the "build-full" make target here because
- # we cannot call "make build-full" as it
- # - calls autoreconf several times
- # - invokes make directly but we prefer our emake
-
- emake -C nxcomp
- emake -C nx-X11/lib
-
- mkdir -p nx-X11/exports/lib/ || die
- local nxlib
- for nxlib in libNX_X11.so{,.6{,.3.0}} ; do
- ln -s ../../lib/src/.libs/${nxlib} nx-X11/exports/lib/${nxlib} || die
- done
-
- emake -C nxcompshad
-
- ./mesa-quilt push -a || die
-
- emake -C nx-X11 BuildDependsOnly FONT_DEFINES="-DHAS_XFONT2"
- emake -C nx-X11 World USRLIBDIR="/usr/$(get_libdir)/${PN}/X11" SHLIBDIR="/usr/$(get_libdir)" FONT_DEFINES="-DHAS_XFONT2" XFONTLIB="-lXfont2"
-
- emake -C nxproxy
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- PREFIX="/usr" \
- NXLIBDIR="/usr/$(get_libdir)/${PN}" \
- SHLIBDIR="/usr/$(get_libdir)" \
- USRLIBDIR="/usr/$(get_libdir)/${PN}/X11" \
- install
-
- # Already provided by mesa & related packages
- rm -r "${ED%/}"/usr/include/GL || die
-
- # Get rid of libtool files and static libs.
- find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
-}
diff --git a/net-misc/nx/nx-3.5.99.22.ebuild b/net-misc/nx/nx-3.5.99.22.ebuild
deleted file mode 100644
index af1c30b085fa..000000000000
--- a/net-misc/nx/nx-3.5.99.22.ebuild
+++ /dev/null
@@ -1,138 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools toolchain-funcs
-
-DESCRIPTION="NX compression technology core libraries"
-HOMEPAGE="http://www.x2go.org/doku.php/wiki:libs:nx-libs"
-
-SRC_URI="http://code.x2go.org/releases/source/nx-libs/nx-libs-${PV}-full.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="elibc_glibc"
-
-RDEPEND="
- dev-libs/libxml2
- >=media-libs/libpng-1.2.8:0=
- >=sys-libs/zlib-1.2.3
- virtual/jpeg:*
- x11-libs/libX11
- x11-libs/libXcomposite
- x11-libs/libXdamage
- x11-libs/libXdmcp
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXfont2
- x11-libs/libXinerama
- x11-libs/libXpm
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXtst
- x11-libs/pixman
-"
-
-DEPEND="${RDEPEND}
- x11-base/xorg-proto
- x11-libs/libfontenc
- x11-misc/gccmakedep
- x11-misc/imake"
-
-BDEPEND="
- virtual/pkgconfig
-"
-
-S="${WORKDIR}/nx-libs-${PV}"
-
-src_prepare() {
- default
-
- # We want predictable behavior. So let's assume we never
- # have quilt installed.
- sed 's@which quilt@false@' -i mesa-quilt || die
-
- # Do not compress man pages by default
- sed '/^[[:space:]]*gzip.*man/d' -i Makefile || die
-
- # run autoreconf in all needed folders
- local subdir
- for subdir in nxcomp nxdialog nx-X11/lib nxcompshad nxproxy ; do
- pushd ${subdir} || die
- eautoreconf
- popd || die
- done
-
- # From xorg-x11-6.9.0-r3.ebuild
- pushd nx-X11 || die
- HOSTCONF="config/cf/host.def"
- echo "#define CcCmd $(tc-getCC)" >> ${HOSTCONF}
- echo "#define OptimizedCDebugFlags ${CFLAGS} GccAliasingArgs" >> ${HOSTCONF}
- echo "#define OptimizedCplusplusDebugFlags ${CXXFLAGS} GccAliasingArgs" >> ${HOSTCONF}
- # Respect LDFLAGS
- echo "#define ExtraLoadFlags ${LDFLAGS}" >> ${HOSTCONF}
- echo "#define SharedLibraryLoadFlags -shared ${LDFLAGS}" >> ${HOSTCONF}
- # Disable SunRPC, #370767
- echo "#define HasSecureRPC NO" >> ${HOSTCONF}
-}
-
-src_configure() {
- local subdir
- for subdir in nxcomp nxdialog nxcompshad nxproxy ; do
- pushd ${subdir} || die
- econf
- popd || die
- done
-
- pushd "nx-X11/lib" || die
- econf --disable-poll
- popd || die
-}
-
-src_compile() {
- # First set up the build environment
- emake build-env
-
- # We replicate the "build-full" make target here because
- # we cannot call "make build-full" as it
- # - calls autoreconf several times
- # - invokes make directly but we prefer our emake
-
- emake -C nxcomp
- emake -C nx-X11/lib
-
- mkdir -p nx-X11/exports/lib/ || die
- local nxlib
- for nxlib in libNX_X11.so{,.6{,.3.0}} ; do
- ln -s ../../lib/src/.libs/${nxlib} nx-X11/exports/lib/${nxlib} || die
- done
-
- emake -C nxcompshad
-
- ./mesa-quilt push -a || die
-
- emake -C nx-X11 BuildDependsOnly
- # Parallel make issue resurfaced, upstream working on autotools switch
- emake -j1 -C nx-X11 World \
- USRLIBDIR="/usr/$(get_libdir)/${PN}/X11" \
- SHLIBDIR="/usr/$(get_libdir)"
-
- emake -C nxproxy
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- PREFIX="/usr" \
- NXLIBDIR="/usr/$(get_libdir)/${PN}" \
- SHLIBDIR="/usr/$(get_libdir)" \
- USRLIBDIR="/usr/$(get_libdir)/${PN}/X11" \
- install
-
- # Already provided by mesa & related packages
- rm -r "${ED}"/usr/include/GL || die
-
- # Get rid of libtool files and static libs.
- find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
-}
diff --git a/net-misc/nx/nx-3.5.99.23.ebuild b/net-misc/nx/nx-3.5.99.23.ebuild
deleted file mode 100644
index 55b6eb9d8316..000000000000
--- a/net-misc/nx/nx-3.5.99.23.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools flag-o-matic toolchain-funcs
-
-DESCRIPTION="NX compression technology core libraries"
-HOMEPAGE="https://github.com/ArcticaProject/nx-libs"
-
-SRC_URI="https://github.com/ArcticaProject/nx-libs/archive/${PV}.tar.gz -> nx-libs-${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="elibc_glibc"
-
-RDEPEND="dev-libs/libxml2
- >=media-libs/libpng-1.2.8:0=
- >=sys-libs/zlib-1.2.3
- virtual/jpeg:*
- x11-libs/libX11
- x11-libs/libXcomposite
- x11-libs/libXdamage
- x11-libs/libXdmcp
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXfont2
- x11-libs/libXinerama
- x11-libs/libXpm
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXtst
- x11-libs/pixman"
-
-DEPEND="${RDEPEND}
- x11-base/xorg-proto
- x11-libs/libfontenc
- x11-misc/gccmakedep
- x11-misc/imake"
-
-BDEPEND="
- virtual/pkgconfig"
-
-S="${WORKDIR}/nx-libs-${PV}"
-
-src_prepare() {
- default
-
- # We want predictable behavior. So let's assume we never
- # have quilt installed.
- sed 's@which quilt@false@' -i mesa-quilt || die
-
- # Do not compress man pages by default
- sed '/^[[:space:]]*gzip.*man/d' -i Makefile || die
-
- # run autoreconf in all needed folders
- local subdir
- for subdir in nxcomp nxdialog nx-X11/lib nxcompshad nxproxy ; do
- pushd ${subdir} || die
- eautoreconf
- popd || die
- done
-}
-
-src_configure() {
- # Workaround until fixed upstream
- # https://github.com/ArcticaProject/nx-libs/issues/907
- append-cflags -fcommon
-
- # From xorg-x11-6.9.0-r3.ebuild
- pushd nx-X11 || die
- HOSTCONF="config/cf/host.def"
- echo "#define CcCmd $(tc-getCC)" >> ${HOSTCONF}
- echo "#define OptimizedCDebugFlags ${CFLAGS} GccAliasingArgs" >> ${HOSTCONF}
- echo "#define OptimizedCplusplusDebugFlags ${CXXFLAGS} GccAliasingArgs" >> ${HOSTCONF}
- # Respect LDFLAGS
- echo "#define ExtraLoadFlags ${LDFLAGS}" >> ${HOSTCONF}
- echo "#define SharedLibraryLoadFlags -shared ${LDFLAGS}" >> ${HOSTCONF}
- # Disable SunRPC, #370767
- echo "#define HasSecureRPC NO" >> ${HOSTCONF}
- popd || die
-
- local subdir
- for subdir in nxcomp nxdialog nxcompshad nxproxy ; do
- pushd ${subdir} || die
- econf
- popd || die
- done
-
- pushd "nx-X11/lib" || die
- econf --disable-poll
- popd || die
-}
-
-src_compile() {
- # First set up the build environment
- emake build-env
-
- # We replicate the "build-full" make target here because
- # we cannot call "make build-full" as it
- # - calls autoreconf several times
- # - invokes make directly but we prefer our emake
-
- emake -C nxcomp
- emake -C nx-X11/lib
-
- mkdir -p nx-X11/exports/lib/ || die
- local nxlib
- for nxlib in libNX_X11.so{,.6{,.3.0}} ; do
- ln -s ../../lib/src/.libs/${nxlib} nx-X11/exports/lib/${nxlib} || die
- done
-
- emake -C nxcompshad
-
- ./mesa-quilt push -a || die
-
- emake -C nx-X11 BuildDependsOnly
- # Parallel make issue resurfaced, upstream working on autotools switch
- emake -j1 -C nx-X11 World \
- USRLIBDIR="/usr/$(get_libdir)/${PN}/X11" \
- SHLIBDIR="/usr/$(get_libdir)"
-
- emake -C nxproxy
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- PREFIX="/usr" \
- NXLIBDIR="/usr/$(get_libdir)/${PN}" \
- SHLIBDIR="/usr/$(get_libdir)" \
- USRLIBDIR="/usr/$(get_libdir)/${PN}/X11" \
- install
-
- # Already provided by mesa & related packages
- rm -r "${ED}"/usr/include/GL || die
-
- # Get rid of libtool files and static libs.
- find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
-}
diff --git a/net-misc/nx/nx-3.5.99.24.ebuild b/net-misc/nx/nx-3.5.99.24.ebuild
deleted file mode 100644
index f910dec05f09..000000000000
--- a/net-misc/nx/nx-3.5.99.24.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools toolchain-funcs
-
-DESCRIPTION="NX compression technology core libraries"
-HOMEPAGE="https://github.com/ArcticaProject/nx-libs"
-
-SRC_URI="https://github.com/ArcticaProject/nx-libs/archive/${PV}.tar.gz -> nx-libs-${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="elibc_glibc"
-
-RDEPEND="dev-libs/libxml2
- >=media-libs/libpng-1.2.8:0=
- >=sys-libs/zlib-1.2.3
- virtual/jpeg:*
- x11-libs/libX11
- x11-libs/libXcomposite
- x11-libs/libXdamage
- x11-libs/libXdmcp
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXfont2
- x11-libs/libXinerama
- x11-libs/libXpm
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXtst
- x11-libs/pixman"
-
-DEPEND="${RDEPEND}
- x11-base/xorg-proto
- x11-libs/libfontenc
- x11-misc/gccmakedep
- x11-misc/imake"
-
-BDEPEND="
- virtual/pkgconfig"
-
-S="${WORKDIR}/nx-libs-${PV}"
-
-src_prepare() {
- default
-
- # We want predictable behavior. So let's assume we never
- # have quilt installed.
- sed 's@which quilt@false@' -i mesa-quilt || die
-
- # Do not compress man pages by default
- sed '/^[[:space:]]*gzip.*man/d' -i Makefile || die
-
- # run autoreconf in all needed folders
- local subdir
- for subdir in nxcomp nxdialog nx-X11/lib nxcompshad nxproxy ; do
- pushd ${subdir} || die
- eautoreconf
- popd || die
- done
-}
-
-src_configure() {
- # From xorg-x11-6.9.0-r3.ebuild
- pushd nx-X11 || die
- HOSTCONF="config/cf/host.def"
- echo "#define CcCmd $(tc-getCC)" >> ${HOSTCONF}
- echo "#define OptimizedCDebugFlags ${CFLAGS} GccAliasingArgs" >> ${HOSTCONF}
- echo "#define OptimizedCplusplusDebugFlags ${CXXFLAGS} GccAliasingArgs" >> ${HOSTCONF}
- # Respect LDFLAGS
- echo "#define ExtraLoadFlags ${LDFLAGS}" >> ${HOSTCONF}
- echo "#define SharedLibraryLoadFlags -shared ${LDFLAGS}" >> ${HOSTCONF}
- # Disable SunRPC, #370767
- echo "#define HasSecureRPC NO" >> ${HOSTCONF}
- popd || die
-
- local subdir
- for subdir in nxcomp nxdialog nxcompshad nxproxy ; do
- pushd ${subdir} || die
- econf
- popd || die
- done
-
- pushd "nx-X11/lib" || die
- econf --disable-poll
- popd || die
-}
-
-src_compile() {
- # First set up the build environment
- emake build-env
-
- # We replicate the "build-full" make target here because
- # we cannot call "make build-full" as it
- # - calls autoreconf several times
- # - invokes make directly but we prefer our emake
-
- emake -C nxcomp
- emake -C nx-X11/lib
-
- mkdir -p nx-X11/exports/lib/ || die
- local nxlib
- for nxlib in libNX_X11.so{,.6{,.3.0}} ; do
- ln -s ../../lib/src/.libs/${nxlib} nx-X11/exports/lib/${nxlib} || die
- done
-
- emake -C nxcompshad
-
- ./mesa-quilt push -a || die
-
- emake -C nx-X11 BuildDependsOnly
- # Parallel make issue resurfaced, upstream working on autotools switch
- emake -j1 -C nx-X11 World \
- USRLIBDIR="/usr/$(get_libdir)/${PN}/X11" \
- SHLIBDIR="/usr/$(get_libdir)"
-
- emake -C nxproxy
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- PREFIX="/usr" \
- NXLIBDIR="/usr/$(get_libdir)/${PN}" \
- SHLIBDIR="/usr/$(get_libdir)" \
- USRLIBDIR="/usr/$(get_libdir)/${PN}/X11" \
- install
-
- # Already provided by mesa & related packages
- rm -r "${ED}"/usr/include/GL || die
-
- # Get rid of libtool files and static libs.
- find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
-}
diff --git a/net-misc/nx/nx-3.5.99.25.ebuild b/net-misc/nx/nx-3.5.99.25.ebuild
index f910dec05f09..2da4b0963c23 100644
--- a/net-misc/nx/nx-3.5.99.25.ebuild
+++ b/net-misc/nx/nx-3.5.99.25.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/ArcticaProject/nx-libs/archive/${PV}.tar.gz -> nx-li
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc x86"
IUSE="elibc_glibc"
RDEPEND="dev-libs/libxml2