diff options
author | xdch47 <xdch47@posteo.de> | 2017-12-23 21:45:13 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-12-24 18:11:01 +0100 |
commit | 9a048361573a395271bbf5b1d24a55425fa13fe1 (patch) | |
tree | bd33d74f08e101b146b4e828c62ffeb52d7f3f3b | |
parent | net-misc/tigervnc: tigervnc-1.8.0-r2.ebuild. (diff) | |
download | gentoo-9a048361573a395271bbf5b1d24a55425fa13fe1.tar.gz gentoo-9a048361573a395271bbf5b1d24a55425fa13fe1.tar.bz2 gentoo-9a048361573a395271bbf5b1d24a55425fa13fe1.zip |
net-misc/tigervnc: change zlib slot dependency.
Package-Manager: Portage-2.3.13, Repoman-2.3.3
-rw-r--r-- | net-misc/tigervnc/tigervnc-1.8.0-r2.ebuild | 18 |
1 files 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 fa3f172d4ab2..0e9970a9ab5a 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/vncserver@.service - newinitd "${FILESDIR}"/${PN}.initd ${PN} else local f cd "${ED}" || die |