diff options
| author | Tomas Chvatal (scarabeus) <tomas.chvatal@gmail.com> | 2008-10-22 17:10:16 +0200 |
|---|---|---|
| committer | Tomas Chvatal (scarabeus) <tomas.chvatal@gmail.com> | 2008-10-22 17:10:16 +0200 |
| commit | 3143e5ad1677a6e7a18b131b5036d31ee9b2c7ae (patch) | |
| tree | 1322931fe42d20a84a7e9ca769118ba20385465d /dev-util | |
| parent | 4bb61c28c25350c7eb7eca50edc9e682083022e1 (diff) | |
| download | kde-3143e5ad1677a6e7a18b131b5036d31ee9b2c7ae.tar.gz kde-3143e5ad1677a6e7a18b131b5036d31ee9b2c7ae.tar.bz2 kde-3143e5ad1677a6e7a18b131b5036d31ee9b2c7ae.zip | |
Initial commit of live branch, not removed anything yet. Needs a hell of cleanup.
Diffstat (limited to 'dev-util')
| -rw-r--r-- | dev-util/inspektor/inspektor-9999.ebuild | 27 | ||||
| -rw-r--r-- | dev-util/kdesvn/kdesvn-9999.ebuild | 70 | ||||
| -rw-r--r-- | dev-util/kdevelop/kdevelop-9999.ebuild | 69 | ||||
| -rw-r--r-- | dev-util/qgit/qgit-9999.ebuild | 36 |
4 files changed, 202 insertions, 0 deletions
diff --git a/dev-util/inspektor/inspektor-9999.ebuild b/dev-util/inspektor/inspektor-9999.ebuild new file mode 100644 index 00000000000..4d1943db85d --- /dev/null +++ b/dev-util/inspektor/inspektor-9999.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="1" + +KMNAME="playground/sysadmin" +NEED_KDE="svn" + +inherit kde4svn + +DESCRIPTION="Inspektor is a KDE interface for strace." +HOMEPAGE="http://www.kde.org" + +LICENSE="GPL-2" +KEYWORDS="" +SLOT="kde-svn" +IUSE="" + +DEPEND="kde-base/ksysguard:${SLOT}" +RDEPEND="dev-util/strace" + +src_unpack() { + subversion_src_unpack + + sed -i '3 i FIND_PACKAGE(KDE4 REQUIRED)\n' CMakeLists.txt +} diff --git a/dev-util/kdesvn/kdesvn-9999.ebuild b/dev-util/kdesvn/kdesvn-9999.ebuild new file mode 100644 index 00000000000..5ca6301ea78 --- /dev/null +++ b/dev-util/kdesvn/kdesvn-9999.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="1" + +NEED_KDE="svn" + +inherit kde4svn base eutils toolchain-funcs + +# Install to KDEDIR rather than /usr, to slot properly. +PREFIX="${KDEDIR}" + +DESCRIPTION="KDESvn is a frontend to the subversion vcs." +HOMEPAGE="http://www.alwins-world.de/wiki/programs/kdesvn" +ESVN_REPO_URI="http://www.alwins-world.de/repos/kdesvn/trunk/" +ESVN_PROJECT="kdesvn" + +SLOT="kde-svn" +LICENSE="GPL-2" +KEYWORDS="" +IUSE="debug sqlite" + +RDEPEND=">=dev-util/subversion-1.4 + sqlite? ( dev-db/sqlite )" + +DEPEND="${RDEPEND} + >=dev-util/cmake-2.4" + +src_unpack() { + kde4svn_src_unpack +} + +src_compile() { + local myconf + if use debug ; then + myconf="-DCMAKE_BUILD_TYPE=Debug" + fi + + cmake \ + -DCMAKE_INSTALL_PREFIX=${PREFIX} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_C_COMPILER=$(type -P $(tc-getCC)) \ + -DCMAKE_CXX_COMPILER=$(type -P $(tc-getCXX)) \ + -DCMAKE_CXX_FLAGS="${CXXFLAGS} -DQT_THREAD_SUPPORT" \ + -DLIB_INSTALL_DIR=/usr/$(get_libdir) \ + ${myconf} || die + + emake || die +} + +src_install() { + cmake-utils_src_install + if has_version 'kde-base/kdesdk-kioslaves'; then + rm "${D}"/usr/kde/svn/share/kde4/services/svn.protocol + rm "${D}"/usr/kde/svn/share/kde4/services/svn+ssh.protocol + rm "${D}"/usr/kde/svn/share/kde4/services/svn+https.protocol + rm "${D}"/usr/kde/svn/share/kde4/services/svn+file.protocol + rm "${D}"/usr/kde/svn/share/kde4/services/svn+http.protocol + fi +} + +pkg_postinst() { + if ! has_version 'kde-base/kompare'; then + echo + elog "For nice graphical diffs, install kde-base/kompare." + echo + fi +} + diff --git a/dev-util/kdevelop/kdevelop-9999.ebuild b/dev-util/kdevelop/kdevelop-9999.ebuild new file mode 100644 index 00000000000..312bcd128ba --- /dev/null +++ b/dev-util/kdevelop/kdevelop-9999.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="1" + +NEED_KDE="svn" +inherit kde4svn + +DESCRIPTION="Integrated Development Environment for Unix, supporting KDE/Qt, C/C++ and many other languages." +HOMEPAGE="http://www.kde.org/" + +SLOT="kde-svn" + +KEYWORDS="" +IUSE="cmake +cxx debug qmake" +LICENSE="GPL-2 LGPL-2" + +# Slot package +PREFIX="${KDEDIR}" + +DEPEND="kde-base/kdevplatform:${SLOT} + sys-devel/gdb + =sys-libs/db-4* + media-gfx/graphviz + cmake? ( dev-util/cmake )" +RDEPEND="" + +src_compile() { + mycmakeargs="${mycmakeargs} + -DBUILD_cmake=$(useq cmake && echo On || echo Off) + -DBUILD_cmakebuilder=$(useq cmake && echo On || echo Off) + -DBUILD_qmake=$(useq qmake && echo On || echo Off) + -DBUILD_qmakebuilder=$(useq qmake && echo On || echo Off) + -DBUILD_cpp=$(useq cxx && echo On || echo Off)" + + kde4overlay-base_src_compile +} + +src_install() { + kde4overlay-base_src_install + if has_version 'kde-base/kapptemplate'; then + rm "${D}"/usr/kde/svn/share/apps/kdevappwizard/templates/qmake_qt4guiapp.tar.bz2 + fi +} + +pkg_postinst() { + elog "kdevelop can use a wide range of apps for extra functionality. This is an almost" + elog "complete list. All these packages can be emerged after kdevelop." + elog + elog "kde-base/kdebase: (RECOMMENDED) embed konsole kpart in kdevelop ide" + elog "dev-util/kdbg: (RECOMMENDED) kde frontend to gdb" + elog "dev-util/valgrind: (RECOMMENDED) integrates valgrind (memory debugger) commands" + elog "kde-base/kompare: (RECOMMENDED) show differences between files" + echo + elog "dev-java/ant: support projects using the ant build tool" + elog "dev-util/ctags: faster and more powerful code browsing logic" + elog "app-doc/doxygen: generate KDE-style documentation for your project" + elog "www-misc/htdig: index and search your project's documentation" + elog "app-arch/rpm: support creating RPMs of your project" + elog "app-emulation/visualboyadvance:" + elog " create and run projects for this gameboy" + elog + elog "Support for GNU-style make, tmake, qmake is included." + elog "Support for using clearcase, perforce and subversion" + elog "as version control systems is optional." + + kde4overlay-base_pkg_postinst +} diff --git a/dev-util/qgit/qgit-9999.ebuild b/dev-util/qgit/qgit-9999.ebuild new file mode 100644 index 00000000000..33d4cb860b3 --- /dev/null +++ b/dev-util/qgit/qgit-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="1" + +inherit git qt4 + +EGIT_REPO_URI="git://git.kernel.org/pub/scm/qgit/qgit4.git" +CPPUNIT_REQUIRED="optional" + +DESCRIPTION="GUI interface for git/cogito SCM" +HOMEPAGE="http://digilander.libero.it/mcostalba/" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="" +IUSE="" + +DEPEND="|| ( x11-libs/qt-gui:4 =x11-libs/qt-4.4*:4 )" +RDEPEND="${DEPEND} + >=dev-util/git-1.5.3" + +src_compile() { + eqmake4 || die "eqmake failed" + emake || die "emake failed" +} + +src_install() { + newbin bin/qgit qgit4 + dodoc README +} + +pkg_postinst() { + elog "This is installed as qgit4 now so you can still use 1.5 series (Qt3-based)" +} |
