summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/tigervnc/tigervnc-9999.ebuild')
-rw-r--r--net-misc/tigervnc/tigervnc-9999.ebuild39
1 files changed, 23 insertions, 16 deletions
diff --git a/net-misc/tigervnc/tigervnc-9999.ebuild b/net-misc/tigervnc/tigervnc-9999.ebuild
index 7d6b4b6..d3a226d 100644
--- a/net-misc/tigervnc/tigervnc-9999.ebuild
+++ b/net-misc/tigervnc/tigervnc-9999.ebuild
@@ -5,22 +5,22 @@ EAPI=6
CMAKE_IN_SOURCE_BUILD=1
-inherit autotools cmake-utils eutils flag-o-matic java-pkg-opt-2 systemd git-r3 unpacker
+inherit autotools cmake-utils eutils flag-o-matic java-pkg-opt-2 systemd git-r3 unpacker xdg-utils gnome2-utils
-XSERVER_VERSION="1.20.0"
+XSERVER_VERSION="1.20.1"
DESCRIPTION="Remote desktop viewer display system"
HOMEPAGE="http://www.tigervnc.org"
-SRC_URI="https://dev.gentoo.org/~armin76/dist/tigervnc-1.4.2-patches-0.1.tar.bz2
- server? ( ftp://ftp.freedesktop.org/pub/xorg/individual/xserver/xorg-server-${XSERVER_VERSION}.tar.bz2 )"
+SRC_URI="server? ( ftp://ftp.freedesktop.org/pub/xorg/individual/xserver/xorg-server-${XSERVER_VERSION}.tar.bz2 )"
EGIT_REPO_URI="https://github.com/TigerVNC/tigervnc/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE="+drm gnutls nls java +opengl pam server +xorgmodule xinerama dri3"
+IUSE="dri3 +drm gnutls java libressl nls +opengl pam server xinerama +xorgmodule"
-CDEPEND="virtual/jpeg:0
+CDEPEND="
+ virtual/jpeg:0
sys-libs/zlib:=
>=x11-libs/fltk-1.3.1
gnutls? ( net-libs/gnutls:= )
@@ -39,9 +39,10 @@ CDEPEND="virtual/jpeg:0
>=x11-apps/xauth-1.0.3
x11-apps/xsetroot
>=x11-misc/xkeyboard-config-2.4.1-r3
- opengl? ( >=app-eselect/eselect-opengl-1.3.1-r1 )
xorgmodule? ( =x11-base/xorg-server-${XSERVER_VERSION%.*}* )
drm? ( x11-libs/libdrm )
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
)
xinerama? ( x11-libs/libXinerama )
"
@@ -53,13 +54,10 @@ RDEPEND="${CDEPEND}
java? ( >=virtual/jre-1.5:* )"
DEPEND="${CDEPEND}
- amd64? ( dev-lang/nasm )
- x86? ( dev-lang/nasm )
nls? ( sys-devel/gettext )
java? ( >=virtual/jdk-1.5 )
x11-base/xorg-proto
media-libs/fontconfig
- x11-base/xorg-proto
x11-libs/libICE
x11-libs/libSM
x11-libs/libXcursor
@@ -78,7 +76,8 @@ DEPEND="${CDEPEND}
)"
PATCHES=(
- "${WORKDIR}"/patches/055_xstartup.patch
+ "${FILESDIR}"/${P}-030_manpages.patch
+ "${FILESDIR}"/${P}-055_xstartup.patch
)
src_unpack() {
@@ -86,7 +85,6 @@ src_unpack() {
unpacker
}
-
src_prepare() {
if use server ; then
cp -r "${WORKDIR}"/xorg-server-${XSERVER_VERSION}/. unix/xserver || die
@@ -97,10 +95,10 @@ src_prepare() {
if use server ; then
cd unix/xserver || die
a=${XSERVER_VERSION%.*}
- eapply ../xserver${a/./}.patch
+ eapply "${FILESDIR}"/xserver${a/./}.patch
eautoreconf
fi
- cd "${WORKDIR}" && sed -i 's:\(drm_fourcc.h\):drm/\1:' $(grep drm_fourcc.h -rl .) || die
+ cd "${WORKDIR}" && sed -i 's:\(drm_fourcc.h\):libdrm/\1:' $(grep drm_fourcc.h -rl .) || die
}
src_configure() {
@@ -136,7 +134,6 @@ src_configure() {
--disable-selective-werror \
--disable-silent-rules \
--disable-static \
- --disable-tslib \
--disable-unit-tests \
--disable-xephyr \
$(use_enable xinerama) \
@@ -149,7 +146,7 @@ src_configure() {
--with-pic \
--without-dtrace \
--disable-present \
- --disable-unit-tests
+ --with-sha1=libcrypto
fi
}
@@ -192,3 +189,13 @@ src_install() {
done
fi
}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}