summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/memphis
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-libs/memphis')
-rw-r--r--media-libs/memphis/Manifest1
-rw-r--r--media-libs/memphis/files/memphis-0.2.3-demos.patch13
-rw-r--r--media-libs/memphis/files/memphis-0.2.3-link_gobject.patch11
-rw-r--r--media-libs/memphis/memphis-0.2.3.ebuild53
-rw-r--r--media-libs/memphis/metadata.xml11
5 files changed, 89 insertions, 0 deletions
diff --git a/media-libs/memphis/Manifest b/media-libs/memphis/Manifest
new file mode 100644
index 00000000000..140f7151597
--- /dev/null
+++ b/media-libs/memphis/Manifest
@@ -0,0 +1 @@
+DIST memphis-0.2.3.tar.gz 459423 SHA256 c1cc050938ee34400197489bc9c110cc4c7c03c73780087b8cdd83a148b0e69b SHA512 effac6efbf6e8fb8c3c436013447a27f4bcbea661268e2e6b5ec69cd93b117cee6c56f78a557223c7dd45020a27e51807a4e2682d6d311b319c783e714064b01 WHIRLPOOL bbdbf6b007f4928caf069072c2e6097b28bbbf99e8c3806bb106abbede49ccce9c9f0ab83dc26a05fb17abd6da8288b6a9a9562f1ddb9b1305503220da5ca7c5
diff --git a/media-libs/memphis/files/memphis-0.2.3-demos.patch b/media-libs/memphis/files/memphis-0.2.3-demos.patch
new file mode 100644
index 00000000000..2d9510efdc5
--- /dev/null
+++ b/media-libs/memphis/files/memphis-0.2.3-demos.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index d1a063d..68218b5 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -95,7 +95,7 @@ if test x$enable_vala = xyes; then
+ AC_SUBST(VALA_EXAMPLE_PACKAGES)
+ fi
+
+-AM_CONDITIONAL(ENABLE_VALA, test x${VALAC} != x"")
++AM_CONDITIONAL(ENABLE_VALA, test x$enable_vala = xyes"")
+
+ # -----------------------------------------------------------
+ AC_CONFIG_FILES([Makefile
diff --git a/media-libs/memphis/files/memphis-0.2.3-link_gobject.patch b/media-libs/memphis/files/memphis-0.2.3-link_gobject.patch
new file mode 100644
index 00000000000..231c834b82c
--- /dev/null
+++ b/media-libs/memphis/files/memphis-0.2.3-link_gobject.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -89,7 +89,7 @@
+ exit 0;
+ fi
+ VALA_EXAMPLE_PACKAGES="--pkg cairo --pkg memphis-0.2"
+- PKG_CHECK_MODULES(VALA_EXAMPLE, [glib-2.0, cairo])
++ PKG_CHECK_MODULES(VALA_EXAMPLE, [glib-2.0 gobject-2.0 cairo])
+ AC_SUBST(VALA_EXAMPLE_CFLAGS)
+ AC_SUBST(VALA_EXAMPLE_LIBS)
+ AC_SUBST(VALA_EXAMPLE_PACKAGES)
diff --git a/media-libs/memphis/memphis-0.2.3.ebuild b/media-libs/memphis/memphis-0.2.3.ebuild
new file mode 100644
index 00000000000..50e92e8a493
--- /dev/null
+++ b/media-libs/memphis/memphis-0.2.3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+WANT_AUTOMAKE=1.11
+
+AUTOTOOLS_AUTORECONF=true
+VALA_MIN_API_VERSION=0.12
+
+inherit autotools-utils vala
+
+DESCRIPTION="A map-rendering application and a library for OpenStreetMap"
+HOMEPAGE="http://trac.openstreetmap.ch/trac/memphis/"
+SRC_URI="http://wenner.ch/files/public/mirror/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0.2"
+KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
+IUSE="debug doc +introspection vala static-libs"
+
+RDEPEND="
+ dev-libs/expat
+ dev-libs/glib:2
+ x11-libs/cairo
+ introspection? ( dev-libs/gobject-introspection )"
+DEPEND="${RDEPEND}
+ doc? ( dev-util/gtk-doc )
+ vala? ( $(vala_depend) )"
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+PATCHES=( "${FILESDIR}"/${P}-link_gobject.patch )
+
+src_prepare() {
+ unset VALAC
+ use vala && vala_src_prepare
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable debug)
+ $(use_enable doc gtk-doc)
+ $(use_enable introspection)
+ $(use_enable vala)
+ )
+ CFLAGS="${CFLAGS}" \
+ autotools-utils_src_configure
+}
diff --git a/media-libs/memphis/metadata.xml b/media-libs/memphis/metadata.xml
new file mode 100644
index 00000000000..87b4de1d7c1
--- /dev/null
+++ b/media-libs/memphis/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="introspection">Use dev-libs/gobject-introspection for introspection</flag>
+ <flag name="vala">Add support for Vala</flag>
+ </use>
+</pkgmetadata>