commit: 9a048361573a395271bbf5b1d24a55425fa13fe1
Author: xdch47 <xdch47 <AT> posteo <DOT> de>
AuthorDate: Sat Dec 23 20:45:13 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Dec 24 17:11:01 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a048361
net-misc/tigervnc: change zlib slot dependency.
Package-Manager: Portage-2.3.13, Repoman-2.3.3
net-misc/tigervnc/tigervnc-1.8.0-r2.ebuild | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/net-misc/tigervnc/tigervnc-1.8.0-r2.ebuild
b/net-misc/tigervnc/tigervnc-1.8.0-r2.ebuild
index fa3f172d4ab..0e9970a9ab5 100644
--- a/net-misc/tigervnc/tigervnc-1.8.0-r2.ebuild
+++ b/net-misc/tigervnc/tigervnc-1.8.0-r2.ebuild
@@ -21,7 +21,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64
~sh ~sparc ~x86"
IUSE="+drm gnutls nls java +opengl pam server +xorgmodule xinerama dri3"
CDEPEND="virtual/jpeg:0
- sys-libs/zlib
+ sys-libs/zlib:=
>=x11-libs/libXtst-1.0.99.2
>=x11-libs/fltk-1.3.1
gnutls? ( net-libs/gnutls:= )
@@ -95,15 +95,17 @@ src_prepare() {
cmake-utils_src_prepare
- if use server; then
+ if use server ; then
cd unix/xserver || die
- eapply "${FILESDIR}/xserver119.patch"
+ eapply "${FILESDIR}"/xserver119.patch
eautoreconf
fi
}
src_configure() {
- use arm || use hppa && append-flags "-fPIC"
+ if use arm || use hppa ; then
+ append-flags "-fPIC"
+ fi
local mycmakeargs=(
-DENABLE_GNUTLS=$(usex gnutls)
@@ -114,7 +116,7 @@ src_configure() {
cmake-utils_src_configure
- if use server; then
+ if use server ; then
cd unix/xserver || die
econf \
$(use_enable opengl glx) \
@@ -153,7 +155,7 @@ src_configure() {
src_compile() {
cmake-utils_src_compile
- if use server; then
+ if use server ; then
# deps of the vnc module and the module itself
local d subdirs=(
fb xfixes Xext dbe $(usex opengl glx "") $(usev dri3)
randr render damageext miext Xi xkb
@@ -168,7 +170,7 @@ src_compile() {
src_install() {
cmake-utils_src_install
- if use server; then
+ if use server ; then
emake -C unix/xserver/hw/vnc DESTDIR="${D}" install
if ! use xorgmodule; then
rm -rv "${ED%/}"/usr/$(get_libdir)/xorg || die
@@ -177,9 +179,9 @@ src_install() {
fi
newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
systemd_douserunit contrib/systemd/user/[email protected]
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
else
local f
cd "${ED}" || die