summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-11-02 20:03:22 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-11-02 20:03:22 +0000
commit14c4bceba5d12fef19230e96868af766470aa5d1 (patch)
tree42bce6fb3befa3d7ecf1c520976f1c835b9719bb
parentktrafficanalyzer/ktrafficanalyzer-0.3.4.ebuild: Touch up ebuild (diff)
downloadgenstef-14c4bceba5d12fef19230e96868af766470aa5d1.tar.gz
genstef-14c4bceba5d12fef19230e96868af766470aa5d1.tar.bz2
genstef-14c4bceba5d12fef19230e96868af766470aa5d1.zip
kde-base/kdelibs: kdelibs4 svn live ebuild
svn path=/; revision=58
-rw-r--r--kde-base/kdelibs/ChangeLog8
-rw-r--r--kde-base/kdelibs/Manifest15
-rw-r--r--kde-base/kdelibs/files/digest-kdelibs-3.80.1_p99990
-rw-r--r--kde-base/kdelibs/kdelibs-3.80.1_p9999.ebuild85
-rw-r--r--kde-base/kdelibs/metadata.xml5
5 files changed, 113 insertions, 0 deletions
diff --git a/kde-base/kdelibs/ChangeLog b/kde-base/kdelibs/ChangeLog
new file mode 100644
index 0000000..aee36d9
--- /dev/null
+++ b/kde-base/kdelibs/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for kde-base/kdelibs
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 02 Nov 2006; Stefan Schweizer <genstef@gentoo.org>
+ +kdelibs-3.80.1_p9999.ebuild, +metadata.xml:
+ kdelibs4 svn live ebuild
+
diff --git a/kde-base/kdelibs/Manifest b/kde-base/kdelibs/Manifest
new file mode 100644
index 0000000..3569ec4
--- /dev/null
+++ b/kde-base/kdelibs/Manifest
@@ -0,0 +1,15 @@
+EBUILD kdelibs-3.80.1_p9999.ebuild 2213 RMD160 9f1b69b4cba8026a192b20f3b17ccaa4c3fb1ed2 SHA1 24e0e508a0d35d8e74a6ffb14fb68818a521422b SHA256 1bdc977437ff56517b6a84067071b4677ac0fa0d77af3cd8982bc1d13bb53b8e
+MD5 d1857af3678ec48df6aa377011c6e373 kdelibs-3.80.1_p9999.ebuild 2213
+RMD160 9f1b69b4cba8026a192b20f3b17ccaa4c3fb1ed2 kdelibs-3.80.1_p9999.ebuild 2213
+SHA256 1bdc977437ff56517b6a84067071b4677ac0fa0d77af3cd8982bc1d13bb53b8e kdelibs-3.80.1_p9999.ebuild 2213
+MISC ChangeLog 245 RMD160 b6a93c40459e55120030d8e88a663ce3d68ca957 SHA1 49138ec048e7fda09256ba9fcfbaa366cfcaa485 SHA256 fc01f2821766554be5f8c3ec7f01dc733e1e88dac048463d4c72784bed75f79c
+MD5 7169e7b89ec54c316c54cfbaaf1a8055 ChangeLog 245
+RMD160 b6a93c40459e55120030d8e88a663ce3d68ca957 ChangeLog 245
+SHA256 fc01f2821766554be5f8c3ec7f01dc733e1e88dac048463d4c72784bed75f79c ChangeLog 245
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
+MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
+RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
+SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-kdelibs-3.80.1_p9999 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-kdelibs-3.80.1_p9999 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-kdelibs-3.80.1_p9999 0
diff --git a/kde-base/kdelibs/files/digest-kdelibs-3.80.1_p9999 b/kde-base/kdelibs/files/digest-kdelibs-3.80.1_p9999
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/kde-base/kdelibs/files/digest-kdelibs-3.80.1_p9999
diff --git a/kde-base/kdelibs/kdelibs-3.80.1_p9999.ebuild b/kde-base/kdelibs/kdelibs-3.80.1_p9999.ebuild
new file mode 100644
index 0000000..3410e0c
--- /dev/null
+++ b/kde-base/kdelibs/kdelibs-3.80.1_p9999.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-3.5.4-r1.ebuild,v 1.7 2006/09/09 22:00:03 carlo Exp $
+
+inherit subversion toolchain-funcs
+
+DESCRIPTION="KDE libraries needed by all KDE programs."
+HOMEPAGE="http://www.kde.org/"
+#SRC_URI="mirror://kde/unstable/${PV}/src/${P}.tar.bz2"
+ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="4.0"
+KEYWORDS="-*"
+IUSE="cups"
+
+# kde.eclass has kdelibs in DEPEND, and we can't have that in here.
+# so we recreate the entire DEPEND from scratch.
+RDEPEND="app-arch/bzip2
+ >=dev-libs/libxslt-1.1.15
+ >=dev-libs/libxml2-2.6.6
+ x11-libs/libX11
+ =x11-libs/qt-4*
+ cups? ( >=net-print/cups-1.1.19 )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/cmake-2.4.3
+ sys-devel/gettext
+ dev-util/pkgconfig"
+
+pkg_setup() {
+ PREFIX="/usr/kde/4.0/"
+}
+
+cm_use_enable() {
+ if use $1 ; then
+ echo "-D$2=ON"
+ else
+ echo "-D$2=OFF"
+ fi
+ return 0
+}
+
+src_compile() {
+ mkdir build
+ cd build
+ cmake \
+ -D CMAKE_CXX_COMPILER:FILEPATH="$(tc-getCXX)" \
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
+ -D CMAKE_C_COMPILER:FILEPATH="$(tc-getCC)" \
+ -DCMAKE_C_FLAGS="${CFLAGS}" \
+ -DCMAKE_INSTALL_PREFIX="${PREFIX}" \
+ -DQTDIR="/usr" \
+ $(cm_use_enable cups Cups) \
+ .. || die "cmake failed"
+ # removing files violates sandbox on Gentoo
+ sed -i -e "s:.*INCLUDE.*remove_files.*::" cmake/modules/cmake_install.cmake
+ # creating life symlinks fails in the syndbox
+ sed -i -e "s:.*create_symlink.*filesharelist.*::" \
+ kio/misc/make_fileshare_symlink.cmake
+ emake || die "emake failed"
+}
+
+src_install() {
+ cd build
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dosym fileshareset ${PREFIX}/bin/filesharelist
+
+ # List all the multilib libdirs
+ local libdirs
+ for libdir in $(get_all_libdirs); do
+ libdirs="${libdirs}:${PREFIX}/${libdir}"
+ done
+
+ dodir /etc/env.d
+ # number goes down with version upgrade
+ # this is lower because it is experimental
+ cat <<EOF > ${D}/etc/env.d/45kdepaths-${SLOT}
+PATH=${PREFIX}/bin
+ROOTPATH=${PREFIX}/sbin:${PREFIX}/bin
+LDPATH=${libdirs:1}
+CONFIG_PROTECT="${PREFIX}/share/config ${PREFIX}/env ${PREFIX}/shutdown"
+EOF
+
+}
diff --git a/kde-base/kdelibs/metadata.xml b/kde-base/kdelibs/metadata.xml
new file mode 100644
index 0000000..7e32869
--- /dev/null
+++ b/kde-base/kdelibs/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>