summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2009-06-08 22:57:57 +0000
committerTony Vroon <chainsaw@gentoo.org>2009-06-08 22:57:57 +0000
commitf2daa7ab9a9ea1f4bb197af913ea5b8f7794ced6 (patch)
tree5894a4f6803a6020d7ec1f622de020c3b99fd99d /app-pda/libplist
parentStable for HPPA (bug #271933). (diff)
downloadgentoo-2-f2daa7ab9a9ea1f4bb197af913ea5b8f7794ced6.tar.gz
gentoo-2-f2daa7ab9a9ea1f4bb197af913ea5b8f7794ced6.tar.bz2
gentoo-2-f2daa7ab9a9ea1f4bb197af913ea5b8f7794ced6.zip
Initial commit. Ebuild greatly enhanced by Samuli Suominen <ssuominen@gentoo.org>, with thanks.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'app-pda/libplist')
-rw-r--r--app-pda/libplist/ChangeLog11
-rw-r--r--app-pda/libplist/files/libplist-0.12-rpath.patch11
-rw-r--r--app-pda/libplist/libplist-0.12.ebuild29
-rw-r--r--app-pda/libplist/metadata.xml10
4 files changed, 61 insertions, 0 deletions
diff --git a/app-pda/libplist/ChangeLog b/app-pda/libplist/ChangeLog
new file mode 100644
index 000000000000..92a0a107c57a
--- /dev/null
+++ b/app-pda/libplist/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-pda/libplist
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/ChangeLog,v 1.1 2009/06/08 22:57:56 chainsaw Exp $
+
+*libplist-0.12 (08 Jun 2009)
+
+ 08 Jun 2009; <chainsaw@gentoo.org> +libplist-0.12.ebuild,
+ +files/libplist-0.12-rpath.patch, +metadata.xml:
+ Initial commit. Ebuild greatly enhanced by Samuli Suominen
+ <ssuominen@gentoo.org>, with thanks.
+
diff --git a/app-pda/libplist/files/libplist-0.12-rpath.patch b/app-pda/libplist/files/libplist-0.12-rpath.patch
new file mode 100644
index 000000000000..d44ed0d9ec3b
--- /dev/null
+++ b/app-pda/libplist/files/libplist-0.12-rpath.patch
@@ -0,0 +1,11 @@
+diff -ur libplist-0.12.orig/CMakeLists.txt libplist-0.12/CMakeLists.txt
+--- libplist-0.12.orig/CMakeLists.txt 2009-05-05 00:09:22.000000000 +0300
++++ libplist-0.12/CMakeLists.txt 2009-06-09 01:47:35.000000000 +0300
+@@ -1,5 +1,7 @@
+ PROJECT( libplist )
+
++SET( CMAKE_SKIP_RPATH TRUE )
++
+ SET( LIBPLIST_VERSION_MAJOR "0" )
+ SET( LIBPLIST_VERSION_MINOR "12" )
+ SET( LIBPLIST_SOVERSION "0" ) \ No newline at end of file
diff --git a/app-pda/libplist/libplist-0.12.ebuild b/app-pda/libplist/libplist-0.12.ebuild
new file mode 100644
index 000000000000..e982b789d487
--- /dev/null
+++ b/app-pda/libplist/libplist-0.12.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/libplist-0.12.ebuild,v 1.1 2009/06/08 22:57:56 chainsaw Exp $
+
+EAPI=2
+inherit cmake-utils eutils multilib python
+
+DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
+HOMEPAGE="http://matt.colyer.name/projects/iphone-linux/index.php?title=Main_Page"
+SRC_URI="http://cloud.github.com/downloads/JonathanBeck/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-libs/glib:2
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}
+ dev-lang/swig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-rpath.patch
+ python_version
+ sed -e 's:-Werror -Wall -modern:-Wall:g' \
+ -e "s:\${PYTHON_VERSION}:${PYVER}:g" \
+ -e "s:\${CMAKE_INSTALL_LIBDIR}:/usr/$(get_libdir):g" \
+ -i swig/CMakeLists.txt -i src/CMakeLists.txt || die "sed failed"
+}
diff --git a/app-pda/libplist/metadata.xml b/app-pda/libplist/metadata.xml
new file mode 100644
index 000000000000..0bef3c15362f
--- /dev/null
+++ b/app-pda/libplist/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+ <maintainer>
+ <email>chainsaw@gentoo.org</email>
+ <name>Tony Vroon</name>
+ </maintainer>
+</pkgmetadata>
+