mgorny      14/06/07 11:55:09

  Modified:             ChangeLog
  Added:                taglib-1.9.1-r1.ebuild
  Log:
  Enable multilib support, as a dependency of media-plugins/gst-plugins-taglib.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.148                media-libs/taglib/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/taglib/ChangeLog,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -r1.147 -r1.148
--- ChangeLog   13 Oct 2013 10:27:45 -0000      1.147
+++ ChangeLog   7 Jun 2014 11:55:08 -0000       1.148
@@ -1,6 +1,11 @@
 # ChangeLog for media-libs/taglib
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/taglib/ChangeLog,v 1.147 
2013/10/13 10:27:45 johu Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/taglib/ChangeLog,v 1.148 
2014/06/07 11:55:08 mgorny Exp $
+
+*taglib-1.9.1-r1 (07 Jun 2014)
+
+  07 Jun 2014; Michał Górny <[email protected]> +taglib-1.9.1-r1.ebuild:
+  Enable multilib support, as a dependency of media-plugins/gst-plugins-taglib.
 
 *taglib-1.9.1 (13 Oct 2013)
 



1.1                  media-libs/taglib/taglib-1.9.1-r1.ebuild

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

Index: taglib-1.9.1-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/taglib/taglib-1.9.1-r1.ebuild,v 
1.1 2014/06/07 11:55:08 mgorny Exp $

EAPI=5

inherit cmake-multilib

DESCRIPTION="A library for reading and editing audio meta data"
HOMEPAGE="http://developer.kde.org/~wheeler/taglib.html";
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="LGPL-2.1 MPL-1.1"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 
~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux 
~ppc-macos ~x86-solaris"
SLOT="0"
IUSE="+asf debug examples +mp4 test"

RDEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}
        virtual/pkgconfig[${MULTILIB_USEDEP}]
        test? ( dev-util/cppunit[${MULTILIB_USEDEP}] )
"

PATCHES=(
        "${FILESDIR}"/${PN}-1.6.1-install-examples.patch
)

DOCS=( AUTHORS NEWS )

MULTILIB_CHOST_TOOLS=(
        /usr/bin/taglib-config
)

multilib_src_configure() {
        mycmakeargs=(
                $(multilib_is_native_abi && cmake-utils_use_build examples)
                $(cmake-utils_use_build test TESTS)
                $(cmake-utils_use_with asf)
                $(cmake-utils_use_with mp4)
        )

        cmake-utils_src_configure
}

multilib_src_test() {
        # ctest does not work
        emake -C "${BUILD_DIR}" check
}

pkg_postinst() {
        if ! use asf; then
                elog "You've chosen to disable the asf use flag, thus taglib 
won't include"
                elog "support for Microsoft's 'advanced systems format' media 
container"
        fi
        if ! use mp4; then
                elog "You've chosen to disable the mp4 use flag, thus taglib 
won't include"
                elog "support for the MPEG-4 part 14 / MP4 media container"
        fi
}




Reply via email to