public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-libs/fidlib: ChangeLog fidlib-0.9.10-r1.ebuild
@ 2014-12-11  2:45 Tim Harder (radhermit)
  0 siblings, 0 replies; only message in thread
From: Tim Harder (radhermit) @ 2014-12-11  2:45 UTC (permalink / raw
  To: gentoo-commits

radhermit    14/12/11 02:45:11

  Modified:             ChangeLog
  Added:                fidlib-0.9.10-r1.ebuild
  Log:
  Add header control for extern patch (bug #449494 by Alex Barker).
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)

Revision  Changes    Path
1.6                  media-libs/fidlib/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/fidlib/ChangeLog?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/fidlib/ChangeLog?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/fidlib/ChangeLog?r1=1.5&r2=1.6

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/fidlib/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ChangeLog	13 Jun 2012 12:59:29 -0000	1.5
+++ ChangeLog	11 Dec 2014 02:45:11 -0000	1.6
@@ -1,6 +1,12 @@
 # ChangeLog for media-libs/fidlib
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/fidlib/ChangeLog,v 1.5 2012/06/13 12:59:29 johu Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/fidlib/ChangeLog,v 1.6 2014/12/11 02:45:11 radhermit Exp $
+
+*fidlib-0.9.10-r1 (11 Dec 2014)
+
+  11 Dec 2014; Tim Harder <radhermit@gentoo.org> +fidlib-0.9.10-r1.ebuild,
+  +files/fidlib-0.9.10-extern.patch:
+  Add header control for extern patch (bug #449494 by Alex Barker).
 
   13 Jun 2012; Johannes Huber <johu@gentoo.org> fidlib-0.9.10.ebuild:
   Stable for x86, wrt bug #417127



1.1                  media-libs/fidlib/fidlib-0.9.10-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/fidlib/fidlib-0.9.10-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/fidlib/fidlib-0.9.10-r1.ebuild?rev=1.1&content-type=text/plain

Index: fidlib-0.9.10-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/fidlib/fidlib-0.9.10-r1.ebuild,v 1.1 2014/12/11 02:45:11 radhermit Exp $

EAPI=5

inherit toolchain-funcs flag-o-matic eutils multilib

DESCRIPTION="Run-time filter design and execution library"
HOMEPAGE="http://uazu.net/fidlib/"
SRC_URI="http://uazu.net/fidlib/${P}.tgz"

LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"

doecho() {
	echo "$@"
	"$@" || die
}

src_prepare() {
	epatch "${FILESDIR}"/${P}-extern.patch

	# Avoid ICE under gcc-4.6, fixed in 4.6.3
	if [[ $(gcc-version) == "4.6" && $(gcc-micro-version) -le 2 ]] ; then
		replace-flags -O? -O0
	fi
}

src_compile() {
	# build library
	doecho $(tc-getCC) ${CFLAGS} -DT_LINUX ${LDFLAGS} -Wl,-soname,libfidlib.so.${PV:0:1} \
		-fPIC -shared fidlib.c -lm -o libfidlib.so.${PV:0:1}

	# build command-line tool
	doecho $(tc-getCC) ${CFLAGS} ${LDFLAGS} firun.c -lm ./libfidlib.so.${PV:0:1} -o firun
}

src_install() {
	dobin firun
	dolib.so libfidlib.so.${PV:0:1}
	dosym libfidlib.so.${PV:0:1} /usr/$(get_libdir)/libfidlib.so

	insinto /usr/include/fidlib
	doins fidlib.h

	dodoc NEWS README fidlib.txt firun.txt
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-11  2:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-11  2:45 [gentoo-commits] gentoo-x86 commit in media-libs/fidlib: ChangeLog fidlib-0.9.10-r1.ebuild Tim Harder (radhermit)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox