commit:     3d80e4ae6a859f3a51dc77b1470622572177a312
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Thu May 21 12:26:00 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu May 21 12:26:00 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=3d80e4ae

dev-libs/utf8proc: Version bump

Package-Manager: portage-2.2.18

 dev-libs/utf8proc/ChangeLog                        |  8 +++++-
 .../utf8proc/files/utf8proc-1.2-buildflags.patch   | 14 ++++++++++
 dev-libs/utf8proc/utf8proc-1.2.ebuild              | 31 ++++++++++++++++++++++
 3 files changed, 52 insertions(+), 1 deletion(-)

diff --git a/dev-libs/utf8proc/ChangeLog b/dev-libs/utf8proc/ChangeLog
index f5afbed..f822d34 100644
--- a/dev-libs/utf8proc/ChangeLog
+++ b/dev-libs/utf8proc/ChangeLog
@@ -1,7 +1,13 @@
 # ChangeLog for dev-libs/utf8proc
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*utf8proc-1.2 (21 May 2015)
+
+  21 May 2015; Marius Brehler <[email protected]>
+  +files/utf8proc-1.2-buildflags.patch, +utf8proc-1.2.ebuild:
+  Version bump
+
   02 Apr 2014; Sébastien Fabbro <[email protected]> metadata.xml,
   utf8proc-1.1.6.ebuild:
   dev-libs/utf8proc: Keyworded for amd64-linux x86-linux

diff --git a/dev-libs/utf8proc/files/utf8proc-1.2-buildflags.patch 
b/dev-libs/utf8proc/files/utf8proc-1.2-buildflags.patch
new file mode 100644
index 0000000..4d583e4
--- /dev/null
+++ b/dev-libs/utf8proc/files/utf8proc-1.2-buildflags.patch
@@ -0,0 +1,14 @@
+Adjust build flags. Proted from 1.1.6.
+
+Patch by Marius Brehler.
+--- Makefile
++++ Makefile
+@@ -6,7 +6,7 @@ AR=ar
+ INSTALL=install
+ 
+ # compiler settings
+-cflags = -O2 -std=c99 -pedantic -Wall -fpic -DUTF8PROC_EXPORTS $(CFLAGS)
++cflags = -std=c99 -pedantic -fpic -DUTF8PROC_EXPORTS $(CFLAGS)
+ cc = $(CC) $(cflags)
+ 
+ # shared-library version MAJOR.MINOR.PATCH ... this may be *different*

diff --git a/dev-libs/utf8proc/utf8proc-1.2.ebuild 
b/dev-libs/utf8proc/utf8proc-1.2.ebuild
new file mode 100644
index 0000000..349806f
--- /dev/null
+++ b/dev-libs/utf8proc/utf8proc-1.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="library for processing UTF-8 encoded Unicode strings"
+HOMEPAGE="http://www.public-software-group.org/utf8proc";
+SRC_URI="https://github.com/JuliaLang/${PN}/archive/v1.2.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+src_prepare() {
+       epatch "${FILESDIR}"/"${P}"-buildflags.patch
+}
+
+src_compile() {
+       emake libutf8proc.so
+       use static-libs & emake libutf8proc.a
+}
+
+src_install() {
+       doheader utf8proc.h
+       dolib.so libutf8proc.so
+       use static-libs && dolib.a libutf8proc.a
+}

Reply via email to