summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2010-05-15 13:43:01 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2010-05-15 13:43:01 +0000
commit75df6d1e704079295be8e92abb205367738c66fe (patch)
tree3191b61a4c734c876c9b16597e248494ca2c2d86 /dev-util/automoc
parentx86 stable, bug #318613 (diff)
downloadgentoo-2-75df6d1e704079295be8e92abb205367738c66fe.tar.gz
gentoo-2-75df6d1e704079295be8e92abb205367738c66fe.tar.bz2
gentoo-2-75df6d1e704079295be8e92abb205367738c66fe.zip
Moved from kde-base/
(Portage version: 2.2_rc67/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'dev-util/automoc')
-rw-r--r--dev-util/automoc/ChangeLog84
-rw-r--r--dev-util/automoc/automoc-0.9.88.ebuild36
-rw-r--r--dev-util/automoc/files/automoc-0.9.88-objc++.patch48
-rw-r--r--dev-util/automoc/metadata.xml5
4 files changed, 173 insertions, 0 deletions
diff --git a/dev-util/automoc/ChangeLog b/dev-util/automoc/ChangeLog
new file mode 100644
index 000000000000..77f3f8c87e0a
--- /dev/null
+++ b/dev-util/automoc/ChangeLog
@@ -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/automoc-0.9.88.ebuild b/dev-util/automoc/automoc-0.9.88.ebuild
new file mode 100644
index 000000000000..72303f451031
--- /dev/null
+++ b/dev-util/automoc/automoc-0.9.88.ebuild
@@ -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
index 000000000000..1f4dacdc06eb
--- /dev/null
+++ b/dev-util/automoc/files/automoc-0.9.88-objc++.patch
@@ -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
index 000000000000..8d1e86a9cefb
--- /dev/null
+++ b/dev-util/automoc/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>kde</herd>
+</pkgmetadata>