summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/ldm/Manifest4
-rw-r--r--x11-misc/ldm/ldm-9999.ebuild32
2 files changed, 20 insertions, 16 deletions
diff --git a/x11-misc/ldm/Manifest b/x11-misc/ldm/Manifest
index 5290230..d05ab93 100644
--- a/x11-misc/ldm/Manifest
+++ b/x11-misc/ldm/Manifest
@@ -1 +1,3 @@
-EBUILD ldm-9999.ebuild 647 RMD160 fcd5ed4cf1eaea76e10321ca118b48fdbde2e616 SHA1 e97e2c9fab699063f55d6db17896c535772e1dcb SHA256 9f3a267b835e50a0b3cac9eadadda93f0c64500c01d2e1b71e2e1919cb72e2db
+EBUILD ldm-9999.ebuild 707 RMD160 4a092c017de3aa648383a1a0239bc1df1bf1d3a9 SHA1 e35aa69a4b6439b4bf1d1623c1071fcd7e8ee38c SHA256 1ff9cbaf800d965f32557355efe7a3872b299937bb9c381aba734b0b11f3c9a9
+MISC ChangeLog 228 RMD160 8c971e774cfea3617efba547f39c7d81eafab9b0 SHA1 4e00e6b3e9b2a5d593cc963676704d38b513668d SHA256 6a98f312983d4d2dfac42a505b5d0b9581f7f13c89aeb124f9c3e28a6f0a98d3
+MISC metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 SHA1 d6147d00f16e8cfeef893d0764b0675a93d62849 SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e
diff --git a/x11-misc/ldm/ldm-9999.ebuild b/x11-misc/ldm/ldm-9999.ebuild
index 4035de4..1141578 100644
--- a/x11-misc/ldm/ldm-9999.ebuild
+++ b/x11-misc/ldm/ldm-9999.ebuild
@@ -2,10 +2,16 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit bzr
-EBZR_REPO_URI="http://bazaar.launchpad.net/~ltsp-upstream/ltsp/"
-EBZR_BRANCH="ldm-trunk"
-EBZR_BOOTSTRAP="autogen.sh"
+if [[ ${PV} == 9999* ]]
+then
+ [[ ${PV} == 9999.* ]] && EBZR_REVISION="${PV/9999./}"
+ EBZR_REPO_URI="http://bazaar.launchpad.net/~ltsp-upstream/ltsp/"
+ EBZR_BRANCH="ldm-trunk"
+ EBZR_BOOTSTRAP="autogen.sh"
+ inherit bzr
+else
+ SRC_URI="mirror://gentoo/${P}.tar.bz2"
+fi
DESCRIPTION="LTSP Display Manager"
HOMEPAGE="http://www.ltsp.org/"
@@ -15,16 +21,12 @@ KEYWORDS="~x86"
IUSE=""
DEPEND=">=dev-libs/glib-2.6
>=x11-libs/gtk+-2.2"
-RDEPEND="${DEPEND} net-misc/ltsp-client"
-src_unpack() {
- bzr_src_unpack
-}
+RDEPEND="${DEPEND} x11-themes/gtk-engines-ubuntulooks"
-src_compile() {
- econf || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+src_unpack() {
+ if [[ ${PV} == 9999* ]] ; then
+ bzr_src_unpack
+ else
+ unpack ${P}.tar.bz2
+ fi
}