public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-libs/librosprite: librosprite-0.1.0.ebuild ChangeLog librosprite-9999.ebuild
@ 2013-06-17 17:35 Michael Weber (xmw)
  0 siblings, 0 replies; only message in thread
From: Michael Weber (xmw) @ 2013-06-17 17:35 UTC (permalink / raw
  To: gentoo-commits

xmw         13/06/17 17:35:09

  Modified:             ChangeLog
  Added:                librosprite-0.1.0.ebuild
  Removed:              librosprite-9999.ebuild
  Log:
  Version bump (bug 470720), multilib build, preparations for netsurf eclass.
  
  (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)

Revision  Changes    Path
1.5                  media-libs/librosprite/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/librosprite/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog	28 Feb 2013 08:09:05 -0000	1.4
+++ ChangeLog	17 Jun 2013 17:35:09 -0000	1.5
@@ -1,6 +1,12 @@
 # ChangeLog for media-libs/librosprite
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/librosprite/ChangeLog,v 1.4 2013/02/28 08:09:05 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/librosprite/ChangeLog,v 1.5 2013/06/17 17:35:09 xmw Exp $
+
+*librosprite-0.1.0 (17 Jun 2013)
+
+  17 Jun 2013; Michael Weber <xmw@gentoo.org> +librosprite-0.1.0.ebuild,
+  -librosprite-9999.ebuild:
+  Version bump (bug 470720), multilib build, preparations for netsurf eclass.
 
   28 Feb 2013; Michael Weber <xmw@gentoo.org> librosprite-0.0.2.ebuild,
   librosprite-9999.ebuild:



1.1                  media-libs/librosprite/librosprite-0.1.0.ebuild

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

Index: librosprite-0.1.0.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/librosprite/librosprite-0.1.0.ebuild,v 1.1 2013/06/17 17:35:09 xmw Exp $

EAPI=5

inherit base toolchain-funcs multilib-minimal

DESCRIPTION="framebuffer abstraction library, written in C"
HOMEPAGE="http://www.netsurf-browser.org/projects/librosprite/"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm"
IUSE=""

RDEPEND=""
DEPEND=""

### future context of netsurf.eclass

NETSURF_BUILDSYSTEM="${NETSURF_BUILDSYSTEM:-buildsystem-1.0}"
SRC_URI=${SRC_URI:-http://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz}
SRC_URI+="
	http://download.netsurf-browser.org/libs/releases/${NETSURF_BUILDSYSTEM}.tar.gz -> netsurf-${NETSURF_BUILDSYSTEM}.tar.gz"
IUSE+=" debug static-libs"
if has doc ${IUSE} ; then
	DEPEND+="
	doc? ( app-doc/doxygen )"
fi
DEPEND+="
	virtual/pkgconfig"
pkg_setup(){
	netsurf_src_prepare() {
		if [ -f docs/doxygen.conf ] ; then
			if ! has doc ${IUSE} ; then
				if [ -z "${NETSURF_IGNORE_DOXYGEN}" ] ; then
					die "Missing IUSE=doc"
				fi
			fi
		fi

		base_src_prepare

		multilib_copy_sources
	}

	netsurf_src_configure() {
		netsurf_makeconf=(
			NSSHARED=${WORKDIR}/${NETSURF_BUILDSYSTEM}
			Q=
			CCOPT=
			CCNOOPT=
			CCDBG=
			LDDBG=
			AR="$(tc-getAR)"
			BUILD=$(usex debug debug release)
			DESTDIR="${D}"
			PREFIX="${EROOT}"usr
		)

		multilib-minimal_src_configure
	}

	netsurf_src_compile() {
		multilib-minimal_src_compile

		if has doc ${IUSE} ; then
			use doc && netsurf_make docs
		fi
	}

	netsurf_src_test() {
		multilib-minimal_src_test
	}

	netsurf_src_install() {
		multilib-minimal_src_install
	}

	multilib_src_configure() {
		sed -e "/^INSTALL_ITEMS/s: /lib: /$(get_libdir):g" \
			-i Makefile || die
		if [ -f ${PN}.pc.in ] ; then
			sed -e "/^libdir/s:/lib:/$(get_libdir):g" \
				-i ${PN}.pc.in || die
		fi
	}

	netsurf_make() {
		emake CC="$(tc-getCC)" LD="$(tc-getLD)" "${netsurf_makeconf[@]}" \
			COMPONENT_TYPE=lib-shared "$@"
		if use static-libs ; then
			emake CC="$(tc-getCC)" LD="$(tc-getLD)" "${netsurf_makeconf[@]}" \
				COMPONENT_TYPE=lib-static "$@"
		fi
	}

	multilib_src_compile() {
		netsurf_make
	}

	multilib_src_test() {
		netsurf_make test
	}

	multilib_src_test() {
		netsurf_make test
	}

	multilib_src_install() {
		netsurf_make install
	}

	multilib_src_install_all() {
		if has doc ${IUSE} ; then
			use doc && dohtml -r build/docs/html/*
		fi
	}
}

src_prepare() {
	netsurf_src_prepare
}

src_configure() {
	netsurf_src_configure
}

src_compile() {
	netsurf_src_compile
}

src_test() {
	netsurf_src_test
}

src_install() {
	netsurf_src_install
}





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

only message in thread, other threads:[~2013-06-17 17:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-17 17:35 [gentoo-commits] gentoo-x86 commit in media-libs/librosprite: librosprite-0.1.0.ebuild ChangeLog librosprite-9999.ebuild Michael Weber (xmw)

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