From 49b9fe8626bc50b7f59bd14525cf579fa786472c Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Wed, 30 Jun 2010 15:11:22 +0000 Subject: [PATCH] Initial .bep and patch files for libembl-1.0.0, fy disreali . --- media-libs/libebml/libebml-1.0.0.bep | 23 +++++++++++++ .../libebml/patches/libebml-1.0.0.patch | 34 +++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 media-libs/libebml/libebml-1.0.0.bep create mode 100644 media-libs/libebml/patches/libebml-1.0.0.patch diff --git a/media-libs/libebml/libebml-1.0.0.bep b/media-libs/libebml/libebml-1.0.0.bep new file mode 100644 index 000000000..5ac6e4c45 --- /dev/null +++ b/media-libs/libebml/libebml-1.0.0.bep @@ -0,0 +1,23 @@ +DESCRIPTION="libebml is a C++ library to parse EBML content (read/write)." +HOMEPAGE="http://www.matroska.org/" +SRC_URI="http://dl.matroska.org/downloads/libebml/libebml-1.0.0.tar.bz2" +REVISION="1" +STATUS_HAIKU="stable" +DEPEND="" +CHECKSUM_MD5="6d438f03d8928d83a2d120ed02705f03" +BUILD { + cd libebml-1.0.0 + cd make + cd linux + make +} + +INSTALL { + cd libebml-1.0.0 + cd make + cd linux + make install +} + +LICENSE="GNU LGPL v2.1" +COPYRIGHT="2005-2009 CoreCodec, Inc." \ No newline at end of file diff --git a/media-libs/libebml/patches/libebml-1.0.0.patch b/media-libs/libebml/patches/libebml-1.0.0.patch new file mode 100644 index 000000000..487ef1bc9 --- /dev/null +++ b/media-libs/libebml/patches/libebml-1.0.0.patch @@ -0,0 +1,34 @@ +diff -urN /develop/projects/matroska/install/libebml-1.0.0/ebml/c/libebml_t.h /develop/projects/matroska/libebml-1.0.0/ebml/c/libebml_t.h +--- /develop/projects/matroska/install/libebml-1.0.0/ebml/c/libebml_t.h 2010-03-23 11:58:36.042729472 +0000 ++++ /develop/projects/matroska/libebml-1.0.0/ebml/c/libebml_t.h 2010-06-22 23:34:22.247201792 +0000 +@@ -72,7 +72,7 @@ + typedef uint16_t uint16; + typedef uint8_t uint8; + # endif // __GNUC__ +-#elif defined(__BEOS__) ++#elif defined(__BEOS__) || defined(__HAIKU__) + #include + #elif defined(DJGPP) /* SL : DJGPP doesn't support POSIX types ???? */ + typedef signed long long int64; +@@ -98,7 +98,7 @@ + typedef uint32_t uint32; + typedef uint16_t uint16; + typedef uint8_t uint8; +-#elif defined(__BEOS__) ++#elif defined(__BEOS__) || defined(__HAIKU__) + # include + #else // anything else (Linux, BSD, ...) + # include +diff -urN /develop/projects/matroska/install/libebml-1.0.0/make/linux/Makefile /develop/projects/matroska/libebml-1.0.0/make/linux/Makefile +--- /develop/projects/matroska/install/libebml-1.0.0/make/linux/Makefile 2010-06-04 08:44:54.048758784 +0000 ++++ /develop/projects/matroska/libebml-1.0.0/make/linux/Makefile 2010-06-23 01:31:00.288358400 +0000 +@@ -13,6 +13,9 @@ + # BeOS wants the libs and headers in /boot/home/config + ifeq (BeOS,$(shell uname -s)) + prefix=/boot/home/config ++# Haiku wants the libs and headers in /boot/common ++else ifeq (Haiku,$(shell uname -s)) ++prefix=/boot/common + else + prefix=/usr/local + endif