blob: 83c9d8139ce4ad29eb32c01a2cc47ac897eca304 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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"
|