* Adding initial ribosome (helix build system) and helix-libs recipes
This commit is contained in:
parent
06db259785
commit
ca7fa46814
|
@ -0,0 +1,59 @@
|
||||||
|
DESCRIPTION = "Helix Client Libraries"
|
||||||
|
SECTION = "base"
|
||||||
|
DEPENDS = "ribosome gtk+ libxv"
|
||||||
|
HOMEPAGE = "http://helixcommunity.org"
|
||||||
|
LICENSE = "RPSL"
|
||||||
|
|
||||||
|
_SNAPSHOT = "atlas310_11212008"
|
||||||
|
_TARBALL_SERVER = "http://git.moblin.org/repos/users/rusty"
|
||||||
|
|
||||||
|
PV="r0"
|
||||||
|
|
||||||
|
SRC_URI = "${_TARBALL_SERVER}/helix-libs_${_SNAPSHOT}.tar.bz2 \
|
||||||
|
file://helix-libs/helix-player.pc \
|
||||||
|
file://helix-libs/add-clutter.patch;patch=1"
|
||||||
|
S = "${WORKDIR}/helix-libs_${_SNAPSHOT}"
|
||||||
|
|
||||||
|
export BUILD_ROOT=${STAGING_DIR_HOST}${libdir}/ribosome
|
||||||
|
export BUILDRC=${BUILD_ROOT}/buildrc
|
||||||
|
export SYSTEM_ID=linux-2.2-libc6-gcc32-i586
|
||||||
|
export BUILD=$BUILD_ROOT/bin/build.py
|
||||||
|
|
||||||
|
do_compile() {
|
||||||
|
${BUILD} -k -trelease -mclutter -Phelix-client-all-defines clutter
|
||||||
|
}
|
||||||
|
|
||||||
|
do_stage() {
|
||||||
|
mkdir -p ${STAGING_DIR_HOST}/opt/helix/lib
|
||||||
|
mkdir -p ${STAGING_DIR_HOST}/opt/helix/include
|
||||||
|
mkdir -p ${STAGING_DIR_HOST}/usr/lib/pkgconfig
|
||||||
|
|
||||||
|
install -m 0644 clientapps/clutter/player.h \
|
||||||
|
${STAGING_DIR_HOST}/opt/helix/include
|
||||||
|
install -m 0644 ../helix-libs/helix-player.pc \
|
||||||
|
${STAGING_DIR_HOST}/usr/lib/pkgconfig
|
||||||
|
|
||||||
|
install -m 0644 release/*.so ${STAGING_DIR_HOST}/opt/helix/lib
|
||||||
|
|
||||||
|
install -d ${STAGING_DIR_HOST}${libdir}
|
||||||
|
install -m 0644 release/libhelix-player.so ${STAGING_DIR_HOST}${libdir}
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
mkdir -p ${D}/opt/helix/lib
|
||||||
|
mkdir -p ${D}/opt/helix/include
|
||||||
|
mkdir -p ${D}/usr/lib/pkgconfig
|
||||||
|
|
||||||
|
install -m 0644 clientapps/clutter/player.h ${D}/opt/helix/include/
|
||||||
|
install -m 0644 ../helix-libs/helix-player.pc ${D}/usr/lib/pkgconfig
|
||||||
|
|
||||||
|
install -m 0644 release/*.so ${D}/opt/helix/lib
|
||||||
|
|
||||||
|
install -d ${D}${libdir}
|
||||||
|
install -m 0644 release/libhelix-player.so ${D}${libdir}
|
||||||
|
}
|
||||||
|
|
||||||
|
FILES_${PN} = "/usr/lib/libhelix-player.so"
|
||||||
|
FILES_${PN} += "/opt/helix/lib"
|
||||||
|
FILES_${PN}-dev = "/usr/lib/pkgconfig"
|
||||||
|
FILES_${PN}-dev += "/opt/helix/include"
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,11 @@
|
||||||
|
prefix=/usr
|
||||||
|
exec_prefix=${prefix}
|
||||||
|
libdir=${exec_prefix}/lib
|
||||||
|
includedir=${prefix}/include
|
||||||
|
|
||||||
|
Name: helix-player
|
||||||
|
Description: Helix Player Interface
|
||||||
|
Version: 4.1.0
|
||||||
|
Libs: -L${libdir} -lhelix-player
|
||||||
|
Cflags: -I/opt/helix/include -D_UNIX
|
||||||
|
Requires:
|
|
@ -0,0 +1,11 @@
|
||||||
|
prefix=/opt/helix
|
||||||
|
exec_prefix=${prefix}
|
||||||
|
libdir=${exec_prefix}/lib
|
||||||
|
includedir=${prefix}/include
|
||||||
|
|
||||||
|
Name: hxclient
|
||||||
|
Description: Helix Client Libraries off the Atlas Branch
|
||||||
|
Version: 4.1.0
|
||||||
|
Libs: -L${libdir} -lhxclient -lstdc++
|
||||||
|
Cflags: -I${includedir} -D_UNIX
|
||||||
|
Requires:
|
|
@ -0,0 +1,37 @@
|
||||||
|
DESCRIPTION = "Ribosome: HelixCommunity Build System"
|
||||||
|
SECTION = "base"
|
||||||
|
HOMEPAGE = "http://helixcommunity.org"
|
||||||
|
LICENSE = "GPLv2"
|
||||||
|
|
||||||
|
_SNAPSHOT = "22102008"
|
||||||
|
_TARBALL_SERVER = "http://git.moblin.org/repos/users/rusty"
|
||||||
|
|
||||||
|
PV="r0"
|
||||||
|
|
||||||
|
SRC_URI = "${_TARBALL_SERVER}/ribosome-${_SNAPSHOT}.tar.bz2 \
|
||||||
|
${_TARBALL_SERVER}/client-bif-${_SNAPSHOT}.tar.bz2 \
|
||||||
|
${_TARBALL_SERVER}/common-bif-${_SNAPSHOT}.tar.bz2 \
|
||||||
|
file://ribosome/clutter.bif \
|
||||||
|
file://ribosome/buildrc"
|
||||||
|
|
||||||
|
S = "${WORKDIR}"
|
||||||
|
|
||||||
|
do_stage() {
|
||||||
|
# Install build system of doom
|
||||||
|
install -d ${STAGING_DIR_HOST}${libdir}
|
||||||
|
cp -a ribosome-${_SNAPSHOT} ${STAGING_DIR_HOST}${libdir}/ribosome
|
||||||
|
install -m 0644 ribosome/buildrc ${STAGING_DIR_HOST}${libdir}/ribosome/
|
||||||
|
|
||||||
|
# Install client BIF's
|
||||||
|
install -d ${STAGING_DIR_HOST}${libdir}/ribosome/bif-cvs/helix/client/build/BIF
|
||||||
|
install -m 0644 client-bif-${_SNAPSHOT}/*.bif \
|
||||||
|
${STAGING_DIR_HOST}${libdir}/ribosome/bif-cvs/helix/client/build/BIF
|
||||||
|
|
||||||
|
# Install common BIF's
|
||||||
|
install -d ${STAGING_DIR_HOST}${libdir}/ribosome/bif-cvs/helix/common/build/BIF
|
||||||
|
install -m 0644 common-bif-${_SNAPSHOT}/*.bif \
|
||||||
|
${STAGING_DIR_HOST}${libdir}/ribosome/bif-cvs/helix/common/build/BIF
|
||||||
|
|
||||||
|
# Install our own custom BIF
|
||||||
|
install -m 0644 ribosome/*.bif ${STAGING_DIR_HOST}${libdir}/ribosome/bif-cvs/helix/client/build/BIF/
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
AddMultiCVS("helix",":ext:cvs.helixcommunity.org:/cvsroot/")
|
||||||
|
AddBIFPath("common", "[helix]/common/build/BIF")
|
||||||
|
AddBIFPath("client", "[helix]/client/build/BIF")
|
||||||
|
SetSDKPath("oggvorbissdk", "/usr/")
|
|
@ -0,0 +1,68 @@
|
||||||
|
<?xml version="1.0" ?>
|
||||||
|
<build id="clutter">
|
||||||
|
<inherit id="hxclient_3_1_0_atlas"/>
|
||||||
|
<cvs root="helix"/>
|
||||||
|
<cvs tag="hxclient_3_1_0_atlas"/>
|
||||||
|
<default target="clutter" profile="helix-client-all-defines" options=""/>
|
||||||
|
<targets>
|
||||||
|
|
||||||
|
<!-- clutter -->
|
||||||
|
<module id="clutter" name="clientapps/clutter" group="core">
|
||||||
|
<includeplatforms>
|
||||||
|
unix
|
||||||
|
</includeplatforms>
|
||||||
|
|
||||||
|
<defines>
|
||||||
|
HELIX_FEATURE_AUDIO_VORBIS
|
||||||
|
HELIX_FEATURE_VIDEO_THEORA
|
||||||
|
HELIX_FEATURE_NETSERVICES_SHIM
|
||||||
|
HELIX_FEATURE_AVIFF
|
||||||
|
HELIX_CONFIG_SLUGGISHAUTOUPGRADE
|
||||||
|
HELIX_FEATURE_ALSA
|
||||||
|
_FORTIFY_SOURCE=2
|
||||||
|
</defines>
|
||||||
|
|
||||||
|
<source_dependlist>
|
||||||
|
client_include
|
||||||
|
datatype_tools_dtdriver_dtdrplin
|
||||||
|
</source_dependlist>
|
||||||
|
|
||||||
|
<dependlist>
|
||||||
|
helix_client_objs
|
||||||
|
player_hxclientkit
|
||||||
|
player_hxclientkit_src_hxrecordengine
|
||||||
|
client_core
|
||||||
|
client_resource
|
||||||
|
client_xres
|
||||||
|
protocol_sdp
|
||||||
|
video_site
|
||||||
|
datatype_smil
|
||||||
|
datatype_text_realtext_fileformat
|
||||||
|
datatype_text_realtext_renderer
|
||||||
|
datatype_tools_dtdriver_dtdrplin
|
||||||
|
datatype_ogg_fileformat
|
||||||
|
datatype_vorbis_renderer
|
||||||
|
datatype_theora_renderer
|
||||||
|
datatype_h261_renderer
|
||||||
|
datatype_h263
|
||||||
|
datatype_group_audio
|
||||||
|
datatype_group_image
|
||||||
|
datatype_ram
|
||||||
|
datatype_sdp
|
||||||
|
datatype_avi_fileformat
|
||||||
|
filesystem_local
|
||||||
|
filesystem_http
|
||||||
|
filesystem_memory
|
||||||
|
common_auth_authmgr
|
||||||
|
common_auth_rn5auth
|
||||||
|
client_auth_basicauth
|
||||||
|
common_log_logsystem
|
||||||
|
common_log_logobserverfile
|
||||||
|
</dependlist>
|
||||||
|
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</targets>
|
||||||
|
|
||||||
|
</build>
|
||||||
|
|
Loading…
Reference in New Issue