From 6c0141a9669391e9126daa38e5dd38fe329da35a Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Sat, 18 Jan 2014 13:06:25 -0800 Subject: Add package crystalhd Signed-off-by: Timothy Gu --- index.html | 4 ++++ src/crystalhd.mk | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 src/crystalhd.mk diff --git a/index.html b/index.html index 6c108fe..4088880 100644 --- a/index.html +++ b/index.html @@ -1241,6 +1241,10 @@ local-pkg-list: $(LOCAL_PKG_LIST) CppUnit + crystalhd + Broadcom Crystal HD Headers + + cunit cunit diff --git a/src/crystalhd.mk b/src/crystalhd.mk new file mode 100644 index 0000000..57e1958 --- /dev/null +++ b/src/crystalhd.mk @@ -0,0 +1,21 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := crystalhd +$(PKG)_IGNORE := +$(PKG)_VERSION := 1 +$(PKG)_CHECKSUM := 2ee046b1a20485abb750244d4c71f733673496f7 +$(PKG)_SUBDIR := . +$(PKG)_FILE := crystalhd_lgpl_includes_v1.zip +$(PKG)_URL := http://www.broadcom.com/docs/support/$(PKG)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + echo "TODO: crystalhd update script" >&2 + echo $(crystalhd_VERSION) +endef + +define $(PKG)_BUILD + mkdir '$(PREFIX)/$(TARGET)/include/libcrystalhd' + cd '$(1)' && cp *.h '$(PREFIX)/$(TARGET)/include/libcrystalhd' +endef -- cgit v0.12 From 14fa184351601d4ab1eff2a6ed4d290fc0bcec23 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Sun, 23 Mar 2014 16:34:17 -0700 Subject: Enable shared build for libdvdcss Signed-off-by: Timothy Gu --- src/libdvdcss.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/libdvdcss.mk b/src/libdvdcss.mk index cf8f069..9206d0a 100644 --- a/src/libdvdcss.mk +++ b/src/libdvdcss.mk @@ -18,10 +18,7 @@ endef define $(PKG)_BUILD cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --build="`config.guess`" \ - --prefix='$(PREFIX)/$(TARGET)' \ - --disable-shared \ + $(MXE_CONFIGURE_OPTS) \ --disable-doc $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install -- cgit v0.12 From f819e20549c18065f846476cee0d4c95fc111e7a Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Sat, 22 Mar 2014 11:51:42 -0700 Subject: Add libdvdnav and libdvdread Signed-off-by: Timothy Gu --- index.html | 8 ++++++++ src/libdvdnav.mk | 40 ++++++++++++++++++++++++++++++++++++++++ src/libdvdread.mk | 45 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 93 insertions(+) create mode 100644 src/libdvdnav.mk create mode 100644 src/libdvdread.mk diff --git a/index.html b/index.html index 4088880..a306e42 100644 --- a/index.html +++ b/index.html @@ -1596,6 +1596,14 @@ local-pkg-list: $(LOCAL_PKG_LIST) libdvdcss + libdvdread + libdvdread + + + libdvdnav + libdvdnav + + libevent libevent diff --git a/src/libdvdnav.mk b/src/libdvdnav.mk new file mode 100644 index 0000000..7e78aea --- /dev/null +++ b/src/libdvdnav.mk @@ -0,0 +1,40 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := libdvdnav +$(PKG)_IGNORE := +$(PKG)_VERSION := 4d3753f +$(PKG)_CHECKSUM := 0717da4d0997cc43417afd58d9fc7ef35711c20e +$(PKG)_SUBDIR := mirror-$(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := https://github.com/mirror/$(PKG)/tarball/$($(PKG)_VERSION)/$($(PKG)_FILE) +# Use Git snapshot for now because of its crash and assertion fixes +# Commented out until new version based on Git is released +# $(PKG)_VERSION := 4.2.1 +# $(PKG)_CHECKSUM := +# $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +# $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz +# $(PKG)_URL := https://dvdnav.mplayerhq.hu/releases/$($(PKG)_FILE) +$(PKG)_DEPS := gcc libdvdread + +define $(PKG)_UPDATE + $(WGET) -q -O- 'https://github.com/mirror/libdvdnav/commits/master' | \ + $(SED) -n 's#.*\([^<]\{7\}\)[^<]\{3\}<.*#\1#p' | \ + head -1 +endef + +define $(PKG)_UPDATE_RELEASE + $(WGET) -q -O- 'https://dvdnav.mplayerhq.hu/releases/' | \ + $(SED) -n 's,.*libdvdnav-\([0-9][^<]*\)\.tar.*,\1,p' | \ + grep -v 'alpha\|beta\|rc' | \ + $(SORT) -V | \ + tail -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && autoreconf -fi + cd '$(1)' && ./configure \ + $(MXE_CONFIGURE_OPTS) + $(MAKE) -C '$(1)' -j '$(JOBS)' LDFLAGS=-no-undefined + $(MAKE) -C '$(1)' -j 1 install LDFLAGS=-no-undefined +endef diff --git a/src/libdvdread.mk b/src/libdvdread.mk new file mode 100644 index 0000000..fe08a2a --- /dev/null +++ b/src/libdvdread.mk @@ -0,0 +1,45 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := libdvdread +$(PKG)_IGNORE := +$(PKG)_VERSION := 7c74365 +$(PKG)_CHECKSUM := 99b12a4147064df85a7e5d6b0f00c00342c520a4 +$(PKG)_SUBDIR := mirror-$(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := https://github.com/mirror/$(PKG)/tarball/$($(PKG)_VERSION)/$($(PKG)_FILE) +# Use Git snapshot for now because of its crash and assertion fixes +# Commented out until new version based on Git is released +# $(PKG)_VERSION := 4.2.1 +# $(PKG)_CHECKSUM := +# $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +# $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz +# $(PKG)_URL := https://dvdnav.mplayerhq.hu/releases/$($(PKG)_FILE) + +# libdvdread supports libdvdcss either by dynamic loading (dlfcn-win32) or +# directly linking to libdvdcss. We directly links to the library here. +$(PKG)_DEPS := gcc libdvdcss + +define $(PKG)_UPDATE + $(WGET) -q -O- 'https://github.com/mirror/libdvdread/commits/master' | \ + $(SED) -n 's#.*\([^<]\{7\}\)[^<]\{3\}<.*#\1#p' | \ + head -1 +endef + +define $(PKG)_UPDATE_RELEASE + $(WGET) -q -O- 'https://dvdnav.mplayerhq.hu/releases/' | \ + $(SED) -n 's,.*libdvdread-\([0-9][^<]*\)\.tar.*,\1,p' | \ + grep -v 'alpha\|beta\|rc' | \ + $(SORT) -V | \ + tail -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && autoreconf -fi + cd '$(1)' && ./configure \ + $(MXE_CONFIGURE_OPTS) \ + --with-libdvdcss \ + --disable-apidoc + $(MAKE) -C '$(1)' -j '$(JOBS)' LDFLAGS=-no-undefined + $(MAKE) -C '$(1)' -j 1 install LDFLAGS=-no-undefined +endef -- cgit v0.12