summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-02-02 03:30:21 +0000
committerTim Harder <radhermit@gentoo.org>2011-02-02 03:30:21 +0000
commit85cad4296b54139cca57e90d183926ec84e192be (patch)
tree245e968b03b9db36b5d66515385644431ecc1b99 /dev-libs/libebml
parentEAPI3, use array for DOCS (diff)
downloadhistorical-85cad4296b54139cca57e90d183926ec84e192be.tar.gz
historical-85cad4296b54139cca57e90d183926ec84e192be.tar.bz2
historical-85cad4296b54139cca57e90d183926ec84e192be.zip
Version bump
Package-Manager: portage-2.2.0_alpha19/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libebml')
-rw-r--r--dev-libs/libebml/ChangeLog10
-rw-r--r--dev-libs/libebml/Manifest19
-rw-r--r--dev-libs/libebml/files/libebml-1.2.0-makefile-fixup.patch107
-rw-r--r--dev-libs/libebml/libebml-1.2.0.ebuild42
4 files changed, 175 insertions, 3 deletions
diff --git a/dev-libs/libebml/ChangeLog b/dev-libs/libebml/ChangeLog
index d9839491d806..26d6de45df42 100644
--- a/dev-libs/libebml/ChangeLog
+++ b/dev-libs/libebml/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libebml
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libebml/ChangeLog,v 1.99 2010/10/15 21:38:00 ranger Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libebml/ChangeLog,v 1.100 2011/02/02 03:30:21 radhermit Exp $
+
+*libebml-1.2.0 (02 Feb 2011)
+
+ 02 Feb 2011; Tim Harder <radhermit@gentoo.org> +libebml-1.2.0.ebuild,
+ +files/libebml-1.2.0-makefile-fixup.patch:
+ Version bump
15 Oct 2010; Brent Baude <ranger@gentoo.org> libebml-0.8.0.ebuild:
stable ppc, bug 329629
diff --git a/dev-libs/libebml/Manifest b/dev-libs/libebml/Manifest
index c74f4e9ece59..43c16b33deda 100644
--- a/dev-libs/libebml/Manifest
+++ b/dev-libs/libebml/Manifest
@@ -1,12 +1,29 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX libebml-0.7.8-makefile-fixup.patch 3742 RMD160 ce09079f8992ae605644fc00fdd25aacb2035545 SHA1 6223ba77014b783236bfbb2d5b00d45b581f6a42 SHA256 44f39a64dae902ee4ffa9108fc49115af9813b58f5be1b8bb88b313c855fc7c7
AUX libebml-0.8.0-makefile-fixup.patch 3333 RMD160 14b15e75009e7c56d3548af1f79acfab8b6fd391 SHA1 2e898040cadc9779218564de93bf1372bcf0eb1e SHA256 17f7f548a76bad1dbed9655a5129ad54c974f66b2dd508113706aea58ea48876
AUX libebml-1.0.0-makefile-fixup.patch 3612 RMD160 dfd359606df06d5c64a1f7b76df8deb1ce3d2564 SHA1 beaf50e089208a45fdcf2e7b9757dfe4b1345ed6 SHA256 3ac2eccef97c8185a62e710250adc79f402dd08150247761f9ecb08eb8ccd4ae
+AUX libebml-1.2.0-makefile-fixup.patch 3568 RMD160 ebd30863d4cf6bc7ed6f8331e6bed687f6b8af46 SHA1 1f2949ab287335db494b94ff628703764f639299 SHA256 f3d1432c6b9b72e12621cc11679d80014b93ba553f8b20e0870f15147a922929
DIST libebml-0.7.8.tar.bz2 58121 RMD160 73e196e03df254536e20aa390acc0c2c79940054 SHA1 2b1b9a8f4bc2a5b6a709f00ec520353dcc0a1d18 SHA256 bcf51ad8f059f52523d1683f2234fe0103d747d9fe0eb49b1e9be67ee842a0f8
DIST libebml-0.8.0.tar.bz2 60039 RMD160 a4cf04486fb65adc33c2b865b95ce7860f24c1ea SHA1 d927e787e3c2cb95d206c7ad9febb599ce676d06 SHA256 9e7a0d7ffe6007b9f70f2cd3938ac9e1f15cfd724c3dd8ba837bd9c26703ee5d
DIST libebml-1.0.0.tar.bz2 60058 RMD160 932552ae239007253f0526d8bb0d506776ca14df SHA1 8b79752ddb6cadab0346b43785432c554dbf220d SHA256 72480dec736cd5df5bc9e8c3864a58d17715542c83ff1b2095dca46cc1b8b178
+DIST libebml-1.2.0.tar.bz2 60532 RMD160 213b7f9e18cf71f250d83d278ebd7e27220cdebc SHA1 4107fd6496b5aae3f0e7a96cb3008341a5b224bc SHA256 e4559dc37b496ae42914da95124da968c453ee63bec7b66f62a5e6f622b1ff25
EBUILD libebml-0.7.8-r1.ebuild 767 RMD160 d67546e2621e717d24a3b25173300c9611122139 SHA1 fc6f0ea73e4db5463bdfee8f0f21248135bcbf7d SHA256 c42b134c5cb02055da3ee628ce3de74dd950959c13e5265a3e57096abdcc8628
EBUILD libebml-0.7.8-r2.ebuild 1115 RMD160 371b0b6802ebb1a7fd1c349bd985c299dbfe8a8a SHA1 6f9ec2796e3db7a3e0576cf8165e5333c66c4b7d SHA256 11169330752d67aa7b74e7f950b3d2a36f7a5768b50368d25e14c1340ed6e118
EBUILD libebml-0.8.0.ebuild 1108 RMD160 d68a56a828919182fc271e9b88e20d8ec66f845c SHA1 305de139f6809731d191b1947824ffbfa6768f5e SHA256 1af150d0cb7204866b203adc9ad9a427683d32063370034f294a02c1ccef89e3
EBUILD libebml-1.0.0.ebuild 1112 RMD160 8eba52bae1c3a7b4e5460e62ba64e93d826309a7 SHA1 2c6e843c4fee1db66ab215e4dfd40a60bceb244d SHA256 8e91b88c43173d68985a13158751402c87619a0392dc35707a52046c7e480133
-MISC ChangeLog 14247 RMD160 a597aa2bea4c9cb4b4db00915c10a20916c89798 SHA1 4fa03550f317f5953b739d58476c7dcbb74740e5 SHA256 c69525a2c054f036d75738347dff7f6c672ef15e5f0f3ef92c6700c6eec1f9f7
+EBUILD libebml-1.2.0.ebuild 1125 RMD160 af7e3b5a6f84111901edc5938019e680e018a222 SHA1 8b8f79b72bac84c59e663cfad7e722ff859351c4 SHA256 108a4065db03dac1ee9ebb4617b20a37aec5f102f65aee5e1681dd64ecbf59c5
+MISC ChangeLog 14414 RMD160 f41a24e8ee9ee1bac9ccb3f4d84d695cbff7b6f4 SHA1 5db6e97d8dc3aff0e7c56dddd740f5b4641d9729 SHA256 f2bddf498da8db979c1e81e9b917fc482d6fa99c4f1321f74f74e5881e3d7494
MISC metadata.xml 225 RMD160 6e3fccd1ae62f02a0cb28d319aa185af0020822d SHA1 1b8ccc849053361ac907dc9b652796defd1ce906 SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQEcBAEBAgAGBQJNSM/WAAoJEEqz6FtPBkyjJocH/1KSc5hdYnNFQ2Z5bGlG+iq0
+xRKkCaMZb9/cW857QSUPQpFZDHbeNGj5hP3r5oM5gQL1/STrQ3Ph0kc2BP7LcdvE
+J0LKbpWhpybkiuEBbW87s0rGz0curvzllbkL31B77+xMVxti/jA3h32HxdgWen9s
+5Q0aGVb3K+jzww8vOH0EAXD6lWC+M0hUnPaFzV3ccFwut+oIfH3MeWaiQCEQNbEC
+X0Py49/Iv6BkLDkoBLbXlOeHzYmu106Ik8oghrTHq9qLpD5FMpGrP889IDTi/djt
+fLjdjio4O2tmfX0iPvET8F7bENcvcKlmu9akF8tCcW5T+T6n2ChGoBOq2snXto4=
+=SMfr
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/libebml/files/libebml-1.2.0-makefile-fixup.patch b/dev-libs/libebml/files/libebml-1.2.0-makefile-fixup.patch
new file mode 100644
index 000000000000..c85d35edaef8
--- /dev/null
+++ b/dev-libs/libebml/files/libebml-1.2.0-makefile-fixup.patch
@@ -0,0 +1,107 @@
+--- libebml-1.2.0/make/linux/Makefile.orig
++++ libebml-1.2.0/make/linux/Makefile
+@@ -50,6 +50,8 @@
+ LIBRARY=libebml.a
+ LIBRARY_SO=libebml.so
+ LIBRARY_SO_VER=libebml.so.3
++LIBRARY_DYLIB=libebml.dylib
++LIBRARY_DYLIB_VER=libebml.3.dylib
+
+ # source-files
+ sources:=$(wildcard ${SRC_DIR}*$(EXTENSION))
+@@ -62,11 +64,11 @@
+ objects_so:=$(patsubst %$(EXTENSION),%.lo,$(sources))
+
+ WARNINGFLAGS=-Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow
+-COMPILEFLAGS=$(WARNINGFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(DEBUGFLAGS) $(INCLUDE)
++COMPILEFLAGS=$(CXXFLAGS) $(CPPFLAGS) $(DEBUGFLAGS) $(INCLUDE)
+ DEPENDFLAGS = $(CXXFLAGS) $(INCLUDE)
+
+ ifeq (Darwin,$(shell uname -s))
+-all: staticlib
++all: staticlib macholib
+ else
+ all: staticlib sharedlib
+ endif
+@@ -75,8 +77,10 @@
+
+ sharedlib: $(LIBRARY_SO)
+
++macholib: $(LIBRARY_DYLIB)
++
+ lib:
+- @echo "Use the 'staticlib', 'sharedlib' or 'all' targets."
++ @echo "Use the 'staticlib', 'sharedlib', 'macholib' or 'all' targets."
+ @false
+
+ # Build rules
+@@ -91,15 +95,22 @@
+ $(RANLIB) $@
+
+ $(LIBRARY_SO): $(objects_so)
+- $(CXX) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so)
++ $(CXX) $(LDFLAGS) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so) $(LIBS)
+ rm -f $(LIBRARY_SO)
+ ln -s $(LIBRARY_SO_VER) $(LIBRARY_SO)
+
++$(LIBRARY_DYLIB): $(objects_so)
++ $(CXX) $(LDFLAGS) -dynamiclib -install_name $(libdir)/$(LIBRARY_DYLIB_VER) -o $(LIBRARY_DYLIB_VER) $(objects_so) $(LIBS)
++ rm -f $(LIBRARY_DYLIB)
++ ln -s $(LIBRARY_DYLIB_VER) $(LIBRARY_DYLIB)
++
+ clean:
+ rm -f $(objects) $(objects_so)
+ rm -f $(LIBRARY)
+ rm -f $(LIBRARY_SO)
+ rm -f $(LIBRARY_SO_VER)
++ rm -f $(LIBRARY_DYLIB)
++ rm -f $(LIBRARY_DYLIB_VER)
+ rm -f CORE
+
+ distclean dist-clean: clean
+@@ -116,30 +127,34 @@
+ done
+
+ ifeq (Darwin,$(shell uname -s))
+-install: install_staticlib install_headers
++install: install_staticlib install_macholib install_headers
+ else
+ install: install_staticlib install_sharedlib install_headers
+ endif
+
+ install_headers:
+- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(includedir)
++ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(includedir)
+ for i in $(INCLUDE_DIR)/*.h; do \
+- $(INSTALL) $(INSTALL_OPTS) $$i $(includedir) ; \
++ $(INSTALL) $(INSTALL_OPTS) $$i $(DESTDIR)$(includedir) ; \
+ done
+- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(includedir)/c
++ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(includedir)/c
+ for i in $(INCLUDE_DIR)/c/*.h; do \
+- $(INSTALL) $(INSTALL_OPTS) $$i $(includedir)/c ; \
++ $(INSTALL) $(INSTALL_OPTS) $$i $(DESTDIR)$(includedir)/c ; \
+ done
+
+ install_staticlib: $(LIBRARY)
+- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(libdir)
+- $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY) $(libdir)
++ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(libdir)
++ $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY) $(DESTDIR)$(libdir)
+
+ install_sharedlib: $(LIBRARY_SO)
+- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(libdir)
+- $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY_SO_VER) $(libdir)
+- ln -fs $(LIBRARY_SO_VER) $(libdir)/$(LIBRARY_SO)
+-
++ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(libdir)
++ $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY_SO_VER) $(DESTDIR)$(libdir)
++ ln -fs $(LIBRARY_SO_VER) $(DESTDIR)$(libdir)/$(LIBRARY_SO)
++
++install_macholib: $(LIBRARY_DYLIB)
++ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(libdir)
++ $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY_DYLIB_VER) $(DESTDIR)$(libdir)
++ ln -fs $(LIBRARY_DYLIB_VER) $(DESTDIR)$(libdir)/$(LIBRARY_DYLIB)
+
+ ifneq ($(wildcard .depend),)
+ include .depend
diff --git a/dev-libs/libebml/libebml-1.2.0.ebuild b/dev-libs/libebml/libebml-1.2.0.ebuild
new file mode 100644
index 000000000000..3c1ebf27f4a9
--- /dev/null
+++ b/dev-libs/libebml/libebml-1.2.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libebml/libebml-1.2.0.ebuild,v 1.1 2011/02/02 03:30:21 radhermit Exp $
+
+EAPI=2
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="Extensible binary format library (kinda like XML)"
+HOMEPAGE="http://www.matroska.org/"
+SRC_URI="http://www.bunkus.org/videotools/mkvtoolnix/sources/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+S="${WORKDIR}/${P}/make/linux"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-makefile-fixup.patch
+}
+
+src_compile() {
+ # keep the prefix in here to make sure the binary is built with a correct
+ # install_name on Darwin
+ emake \
+ prefix="${EPREFIX}/usr" \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ || die "emake failed"
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ prefix="${EPREFIX}/usr" \
+ libdir="${EPREFIX}/usr/$(get_libdir)" \
+ install || die "emake install failed"
+
+ dodoc "${WORKDIR}/${P}/ChangeLog"
+}