aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongxu Li <dongxuli2011@gmail.com>2011-05-24 09:50:11 -0400
committerDongxu Li <dongxuli2011@gmail.com>2011-05-24 09:50:11 -0400
commit72fc737b8d3cd602cd41d787ac63afd9d8930c00 (patch)
treeb3e0e94b091ad6d99e45fb72358bbd755a49ef14 /media-gfx
parentxdsstat-bin: bump to latest. (diff)
downloadsci-72fc737b8d3cd602cd41d787ac63afd9d8930c00.tar.gz
sci-72fc737b8d3cd602cd41d787ac63afd9d8930c00.tar.bz2
sci-72fc737b8d3cd602cd41d787ac63afd9d8930c00.zip
media-gfx/librecad: switch from svn to git
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/librecad/ChangeLog3
-rw-r--r--media-gfx/librecad/Manifest4
-rw-r--r--media-gfx/librecad/librecad-9999.ebuild30
3 files changed, 19 insertions, 18 deletions
diff --git a/media-gfx/librecad/ChangeLog b/media-gfx/librecad/ChangeLog
index 72ff86ab2..394a16304 100644
--- a/media-gfx/librecad/ChangeLog
+++ b/media-gfx/librecad/ChangeLog
@@ -2,5 +2,8 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header$
+ 24 May 2011; Dongxu Li <dongxuli2011@gmail.com> librecad-9999.ebuild:
+ Switch from svn to git, add qt-assistant DEPEND
+
30 Apr 2011; Dongxu Li <dongxuli2011@gmail.com> +librecad-9999.ebuild:
Initial port. #344791, ebuild by Egor Y. Egorov
diff --git a/media-gfx/librecad/Manifest b/media-gfx/librecad/Manifest
index ea8519357..9729b2c5a 100644
--- a/media-gfx/librecad/Manifest
+++ b/media-gfx/librecad/Manifest
@@ -1,3 +1,3 @@
-EBUILD librecad-9999.ebuild 1205 RMD160 387e24ebfe5ab2a130a2933c2ea6a10cab34c034 SHA1 e5cc616f5d6af1893d4b2107a88c50746aa21775 SHA256 2910dff4482767681b32cddb82b0927065617366ff8da06c19e6a6ee3826187a
-MISC ChangeLog 240 RMD160 03aa4bb1d07bc59bbf185a84d46343ac456fd2e7 SHA1 29edadf7f46134566ac9bc7c119b5cba7d63525d SHA256 beca7895639d160d99177e1d0fc2e433035a4a672969608bb299b0917d0ec1d9
+EBUILD librecad-9999.ebuild 1030 RMD160 5e4b722e954dfa2703b2d61d0f8763acdc31d04d SHA1 82bc477c7d4d61b46492cef27c20213ad7051456 SHA256 72318e7fc15c57434c644b921a0f87e71abacfaf9f960151efaef7b623eab64d
+MISC ChangeLog 363 RMD160 ed9de650428d1b97ac5602869c650d23923d364f SHA1 805941ab891d362aa83150b974dd2ee38783853c SHA256 db21546f5a01e0a4a381ea5e671e70c6b386eba40906aed4507418a454dbcece
MISC metadata.xml 450 RMD160 62a6501cecfe47078279b48be9b1c658d40e59f9 SHA1 c4ea83204f0d636b89b362f43aa2f5f487b9d9c7 SHA256 891d496161866e9f329036a1a953bd667d7be70de7cb1da41eadbb4be21c7df8
diff --git a/media-gfx/librecad/librecad-9999.ebuild b/media-gfx/librecad/librecad-9999.ebuild
index 53b1cb4ce..261aa6edd 100644
--- a/media-gfx/librecad/librecad-9999.ebuild
+++ b/media-gfx/librecad/librecad-9999.ebuild
@@ -2,9 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: caduntu-9999.ebuild $
-EAPI="2"
-
-inherit qt4-r2 subversion
+EAPI="3"
+inherit qt4-r2 git-2
DESCRIPTION="An generic 2D CAD program"
HOMEPAGE="http://www.librecad.org/"
@@ -13,31 +12,30 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug doc"
-ESVN_REPO_URI=https://librecad.svn.sourceforge.net/svnroot/librecad/trunk/
-ESVN_RESTRICT=export
+EGIT_REPO_URI="https://github.com/LibreCAD/LibreCAD.git"
RDEPEND="x11-libs/qt-gui[qt3support]"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ x11-libs/qt-assistant:4
+ x11-libs/qt-qt3support:4
+"
-src_unpack()
+src_prepare()
{
- subversion_src_unpack || die
- cd "$(subversion__get_wc_path "${ESVN_REPO_URI}")"
- rsync -rlpgo . "${S}" || die "${ESVN}: can't export to ${S}."
# patch to solve an issue caused by gcc-4.6, by mickele, archlinux
sed -e "s|LiteralMask<Value_t, n>::mask;|LiteralMask<Value_t, static_cast<unsigned int>(n)>::mask;|" \
-e "s|SimpleSpaceMask<n>::mask;|SimpleSpaceMask<static_cast<unsigned int>(n)>::mask;|" \
- -i "${S}"/fparser/fparser.cc
+ -i fparser/fparser.cc
}
src_install()
{
- dobin unix/librecad || die
+ dobin unix/librecad
insinto /usr/share/"${PN}"
- doins -r unix/resources/* || die
+ doins -r unix/resources/*
if use doc ; then
- dohtml -r support/doc/* || die
+ dohtml -r support/doc/*
fi
- doicon res/main/"${PN}".png || die
- make_desktop_entry "${PN}" LibreCAD "${PN}.png" Graphics || die
+ doicon res/main/"${PN}".png
+ make_desktop_entry "${PN}" LibreCAD "${PN}.png" Graphics
}