Moved from kde-base/
authorMaciej Mrozowski <reavertm@gentoo.org>
Sat, 15 May 2010 13:43:01 +0000 (13:43 +0000)
committerMaciej Mrozowski <reavertm@gentoo.org>
Sat, 15 May 2010 13:43:01 +0000 (13:43 +0000)
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
RepoMan-Options: --force

dev-util/automoc/ChangeLog [new file with mode: 0644]
dev-util/automoc/Manifest [new file with mode: 0644]
dev-util/automoc/automoc-0.9.88.ebuild [new file with mode: 0644]
dev-util/automoc/files/automoc-0.9.88-objc++.patch [new file with mode: 0644]
dev-util/automoc/metadata.xml [new file with mode: 0644]

diff --git a/dev-util/automoc/ChangeLog b/dev-util/automoc/ChangeLog
new file mode 100644 (file)
index 0000000..77f3f8c
--- /dev/null
@@ -0,0 +1,84 @@
+# ChangeLog for dev-util/automoc
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/automoc/ChangeLog,v 1.1 2010/05/15 13:43:00 reavertm Exp $
+
+*automoc-0.9.88 (15 May 2010)
+
+  15 May 2010; Maciej Mrozowski <reavertm@gentoo.org>
+  +automoc-0.9.88.ebuild, +files/automoc-0.9.88-objc++.patch, +metadata.xml:
+  Moved from kde-base/
+
+  13 Jan 2010; Jonathan Callen <abcd@gentoo.org> automoc-0.9.88.ebuild,
+  +files/automoc-0.9.88-objc++.patch:
+  Add more keywords; add patch for objc++ support
+
+  09 Jan 2010; Jonathan Callen <abcd@gentoo.org> automoc-0.9.88.ebuild:
+  Add prefix keywords
+
+  27 Dec 2009; Raúl Porcel <armin76@gentoo.org> automoc-0.9.88.ebuild:
+  arm stable
+
+  11 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+  -automoc-0.9.84.ebuild:
+  Drop no-longer required ebuild.
+
+  11 Dec 2009; Raúl Porcel <armin76@gentoo.org> automoc-0.9.88.ebuild:
+  sparc stable
+
+  18 Nov 2009; Raúl Porcel <armin76@gentoo.org> automoc-0.9.88.ebuild:
+  Add ~sparc
+
+  11 Sep 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+  automoc-0.9.84.ebuild, automoc-0.9.88.ebuild:
+  Fix DEPEND/RDEPEND assignment.
+
+  18 Jun 2009; Alexis Ballier <aballier@gentoo.org> automoc-0.9.88.ebuild:
+  keyword ~x86-fbsd
+
+  13 Jun 2009; Raúl Porcel <armin76@gentoo.org> automoc-0.9.88.ebuild:
+  alpha/ia64 stable
+
+  02 Jun 2009; Jeroen Roovers <jer@gentoo.org> automoc-0.9.88.ebuild:
+  Stable for HPPA (bug #271903).
+
+  31 May 2009; Markus Meier <maekke@gentoo.org> automoc-0.9.88.ebuild:
+  amd64/x86 stable, bug #271903
+
+  31 May 2009; Brent Baude <ranger@gentoo.org> automoc-0.9.88.ebuild:
+  Marking automoc-0.9.88 ppc64 for bug 271903
+
+  14 Apr 2009; Tomas Chvatal <scarabeus@gentoo.org> automoc-0.9.84.ebuild,
+  automoc-0.9.88.ebuild:
+  Bashism--
+
+  11 Apr 2009; Raúl Porcel <armin76@gentoo.org> automoc-0.9.88.ebuild:
+  Add ~alpha/~ia64 wrt #260777
+
+  13 Mar 2009; Jeroen Roovers <jer@gentoo.org> automoc-0.9.88.ebuild:
+  Marked ~hppa (bug #260777).
+
+  01 Mar 2009; Patrick Lauer <patrick@gentoo.org> automoc-0.9.84.ebuild,
+  automoc-0.9.88.ebuild:
+  Fixing CFLAGS for uclibc to fix #260418
+
+  01 Feb 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+  automoc-0.9.88.ebuild:
+  Restored ~ppc and ~ppc64 keywords to KDE-4.2.0
+
+*automoc-0.9.87 (27 Jan 2009)
+
+  27 Jan 2009; Alexey Shvetsov <alexxy@gentoo.org> +automoc-0.9.88.ebuild:
+  Bump to new automoc-0.9.88
+
+  02 Nov 2008; Mike Frysinger <vapier@gentoo.org> automoc-0.9.84.ebuild:
+  Add ppc64 love for KDE 4.
+
+*automoc-0.9.84 (02 Oct 2008)
+
+  24 Oct 2008; Pieter Van den Abeele <pvdabeel@gentoo.org> automoc-0.9.84.ebuild:
+  Keyworded ~ppc. Closes bug #244174
+
+  02 Oct 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+  +metadata.xml, +automoc-0.9.84.ebuild:
+  Add kde-4.1.2 into the tree from the kde-testing overlay.
+
diff --git a/dev-util/automoc/Manifest b/dev-util/automoc/Manifest
new file mode 100644 (file)
index 0000000..dec2294
--- /dev/null
@@ -0,0 +1,5 @@
+AUX automoc-0.9.88-objc++.patch 2971 RMD160 61e847cd6bc021bcb181c61bb47c74aec6399093 SHA1 4522b4767dfd32f27c4bf95243ddad910477ff0c SHA256 6e7a2369b7130aa47b044937df73c2450711b3f6a32b40d8912bfd19a1f53e15
+DIST automoc4-0.9.88.tar.bz2 9153 RMD160 8545f159092c9237f8c0f0f14b0dca9bfeac5c19 SHA1 d864c3dda99d8b5f625b9267acfa1d88ff617e3a SHA256 234116f4c05ae21d828594d652b4c4a052ef75727e2d8a4f3a4fb605de9e4c49
+EBUILD automoc-0.9.88.ebuild 854 RMD160 f304379a3da397bcf72a6f85d63ab218577a94b7 SHA1 934bc7c6a6ae16fc40106d394a80ba90a451b7cb SHA256 457e92f80e15258b97dc96970d863e6b79140680047c5f1b43d0193796a319c6
+MISC ChangeLog 2836 RMD160 2a0109db0bd41017bbd8f9bbc7c122dbe785d5c6 SHA1 34148ed2537f08748218daa5237f86243ff5b6ac SHA256 864f720bb57497afc089c51fa2ba8bd4c4283e66ffaeedbff8051e11ab3ee42e
+MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a
diff --git a/dev-util/automoc/automoc-0.9.88.ebuild b/dev-util/automoc/automoc-0.9.88.ebuild
new file mode 100644 (file)
index 0000000..72303f4
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/automoc/automoc-0.9.88.ebuild,v 1.1 2010/05/15 13:43:00 reavertm Exp $
+
+EAPI="2"
+
+MY_PN="automoc4"
+MY_P="$MY_PN-${PV}"
+
+inherit base cmake-utils flag-o-matic
+
+DESCRIPTION="KDE Meta Object Compiler"
+HOMEPAGE="http://www.kde.org"
+SRC_URI="mirror://kde/stable/${MY_PN}/${PV}/${MY_P}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos ~x86-solaris"
+IUSE=""
+
+DEPEND="x11-libs/qt-core:4"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-0.9.88-objc++.patch
+)
+
+src_prepare() {
+       base_src_prepare
+
+       if [[ ${ELIBC} = uclibc ]]; then
+               append-flags -pthread
+       fi
+}
diff --git a/dev-util/automoc/files/automoc-0.9.88-objc++.patch b/dev-util/automoc/files/automoc-0.9.88-objc++.patch
new file mode 100644 (file)
index 0000000..1f4dacd
--- /dev/null
@@ -0,0 +1,48 @@
+Please refer to
+  http://websvn.kde.org/?view=revision&revision=934696
+
+Adds support for objc++ in automoc, so that running moc on .mm-files will work.
+
+--- trunk/kdesupport/automoc/Automoc4Config.cmake      2009/03/03 15:40:57     934695
++++ trunk/kdesupport/automoc/Automoc4Config.cmake      2009/03/03 15:42:18     934696
+@@ -105,9 +105,9 @@
+       if(NOT  _generated  AND NOT  _skip)
+          get_filename_component(_suffix "${_current_FILE}" EXT)
+          # skip every source file that's not C++
+-         if(_suffix STREQUAL ".cpp" OR _suffix STREQUAL ".cc" OR _suffix STREQUAL ".cxx" OR _suffix STREQUAL ".C")
++         if(_suffix STREQUAL ".cpp" OR _suffix STREQUAL ".cc" OR _suffix STREQUAL ".cxx" OR _suffix STREQUAL ".C" OR _suffix STREQUAL ".mm")
+              list(APPEND _moc_files ${_abs_current_FILE})
+-         endif(_suffix STREQUAL ".cpp" OR _suffix STREQUAL ".cc" OR _suffix STREQUAL ".cxx" OR _suffix STREQUAL ".C")
++         endif(_suffix STREQUAL ".cpp" OR _suffix STREQUAL ".cc" OR _suffix STREQUAL ".cxx" OR _suffix STREQUAL ".C" OR _suffix STREQUAL ".mm")
+       endif(NOT  _generated  AND NOT  _skip)
+    endforeach (_current_FILE)
+ 
+@@ -156,7 +156,7 @@
+       if(NOT  _generated  AND NOT  _skip)
+          get_filename_component(_suffix "${_current_FILE}" EXT)
+          # skip every source file that's not C++
+-         if(_suffix STREQUAL ".cpp" OR _suffix STREQUAL ".cc" OR _suffix STREQUAL ".cxx" OR _suffix STREQUAL ".C")
++         if(_suffix STREQUAL ".cpp" OR _suffix STREQUAL ".cc" OR _suffix STREQUAL ".cxx" OR _suffix STREQUAL ".C" OR _suffix STREQUAL ".mm")
+              get_filename_component(_basename "${_current_FILE}" NAME_WE)
+              get_filename_component(_abs_path "${_abs_current_FILE}" PATH)
+              set(_header "${_abs_path}/${_basename}.h")
+@@ -168,7 +168,7 @@
+                 list(APPEND _moc_headers ${_pheader})
+              endif(EXISTS "${_pheader}")
+              list(APPEND _moc_files ${_abs_current_FILE})
+-         endif(_suffix STREQUAL ".cpp" OR _suffix STREQUAL ".cc" OR _suffix STREQUAL ".cxx" OR _suffix STREQUAL ".C")
++         endif(_suffix STREQUAL ".cpp" OR _suffix STREQUAL ".cc" OR _suffix STREQUAL ".cxx" OR _suffix STREQUAL ".C" OR _suffix STREQUAL ".mm")
+       endif(NOT  _generated  AND NOT  _skip)
+    endforeach (_current_FILE)
+ 
+--- trunk/kdesupport/automoc/kde4automoc.cpp   2009/03/03 15:40:57     934695
++++ trunk/kdesupport/automoc/kde4automoc.cpp   2009/03/03 15:42:18     934696
+@@ -326,7 +326,7 @@
+     foreach (const QString &absFilename, sourceFiles) {
+         //qDebug() << absFilename;
+         const QFileInfo sourceFileInfo(absFilename);
+-        if (absFilename.endsWith(".cpp") || absFilename.endsWith(".cc") ||
++        if (absFilename.endsWith(".cpp") || absFilename.endsWith(".cc") || absFilename.endsWith(".mm") ||
+                 absFilename.endsWith(".cxx") || absFilename.endsWith(".C")) {
+             //qDebug() << "check .cpp file";
+             QFile sourceFile(absFilename);
diff --git a/dev-util/automoc/metadata.xml b/dev-util/automoc/metadata.xml
new file mode 100644 (file)
index 0000000..8d1e86a
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde</herd>
+</pkgmetadata>