From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 22FA3138CCF for ; Sat, 23 May 2015 15:53:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 97127E0A9E; Sat, 23 May 2015 15:53:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 203F0E0A9C for ; Sat, 23 May 2015 15:53:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2F153340D6F for ; Sat, 23 May 2015 15:53:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF1DA9FC for ; Sat, 23 May 2015 15:53:01 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1432211160.3d80e4ae6a859f3a51dc77b1470622572177a312.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-libs/utf8proc/, dev-libs/utf8proc/files/ X-VCS-Repository: proj/sci X-VCS-Files: dev-libs/utf8proc/ChangeLog dev-libs/utf8proc/files/utf8proc-1.2-buildflags.patch dev-libs/utf8proc/utf8proc-1.2.ebuild X-VCS-Directories: dev-libs/utf8proc/ dev-libs/utf8proc/files/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 3d80e4ae6a859f3a51dc77b1470622572177a312 X-VCS-Branch: master Date: Sat, 23 May 2015 15:53:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4e6a6551-85fe-41a1-a03e-0c7fdc0c1f96 X-Archives-Hash: f43bdd262a75b42888a12deeeaa0ba80 commit: 3d80e4ae6a859f3a51dc77b1470622572177a312 Author: Marius Brehler linux sungazer de> AuthorDate: Thu May 21 12:26:00 2015 +0000 Commit: Justin Lecher gentoo 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 + +files/utf8proc-1.2-buildflags.patch, +utf8proc-1.2.ebuild: + Version bump + 02 Apr 2014; Sébastien Fabbro 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 +}