summaryrefslogtreecommitdiff
path: root/x11-misc/lightdm-qt4/lightdm-qt4-1.10.3.ebuild
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-04-14 23:35:59 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-04-14 23:35:59 +0300
commit9f2002406555f4d0a4673f1ccfb96172d8ba9c24 (patch)
tree8c1ccf4aac06af4f393be6596644b88b412c6a6b /x11-misc/lightdm-qt4/lightdm-qt4-1.10.3.ebuild
parentf8a5f7af2d3a781693d943510bceab5f12200209 (diff)
[x11-misc/lightdm-qt4] upgrading lightdm for QT
Diffstat (limited to 'x11-misc/lightdm-qt4/lightdm-qt4-1.10.3.ebuild')
-rw-r--r--x11-misc/lightdm-qt4/lightdm-qt4-1.10.3.ebuild58
1 files changed, 58 insertions, 0 deletions
diff --git a/x11-misc/lightdm-qt4/lightdm-qt4-1.10.3.ebuild b/x11-misc/lightdm-qt4/lightdm-qt4-1.10.3.ebuild
new file mode 100644
index 00000000..cf7dc90e
--- /dev/null
+++ b/x11-misc/lightdm-qt4/lightdm-qt4-1.10.3.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit autotools eutils versionator
+
+TRUNK_VERSION="$(get_version_component_range 1-2)"
+REAL_PN="${PN/-qt4}"
+REAL_P="${P/-qt4}"
+DESCRIPTION="Qt4 libraries for LightDM"
+HOMEPAGE="http://www.freedesktop.org/wiki/Software/LightDM"
+SRC_URI="http://launchpad.net/${REAL_PN}/${TRUNK_VERSION}/${PV}/+download/${REAL_P}.tar.xz
+ mirror://gentoo/introspection-20110205.m4.tar.bz2"
+
+LICENSE="GPL-3 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+COMMON_DEPEND="~x11-misc/lightdm-base-${PV}"
+RDEPEND="${COMMON_DEPEND}"
+DEPEND="${COMMON_DEPEND}"
+
+DOCS=( NEWS )
+S="${WORKDIR}/${REAL_P}"
+
+src_prepare() {
+ epatch_user
+
+ # Remove bogus Makefile statement. This needs to go upstream
+ sed -i /"@YELP_HELP_RULES@"/d help/Makefile.am || die
+ if has_version dev-libs/gobject-introspection; then
+ eautoreconf
+ else
+ AT_M4DIR=${WORKDIR} eautoreconf
+ fi
+}
+
+src_configure() {
+ econf \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-tests \
+ --disable-introspection \
+ --enable-liblightdm-qt \
+ --disable-liblightdm-qt5
+}
+
+src_compile() {
+ cd "${S}/liblightdm-qt" && \
+ emake
+}
+
+src_install() {
+ cd "${S}/liblightdm-qt" && \
+ emake DESTDIR="${ED}" install
+}