summaryrefslogtreecommitdiffstats
path: root/meta/packages/helix/helix-libs.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/helix/helix-libs.bb')
-rw-r--r--meta/packages/helix/helix-libs.bb26
1 files changed, 7 insertions, 19 deletions
diff --git a/meta/packages/helix/helix-libs.bb b/meta/packages/helix/helix-libs.bb
index 604ec622c6..9fcbd4b67f 100644
--- a/meta/packages/helix/helix-libs.bb
+++ b/meta/packages/helix/helix-libs.bb
@@ -25,29 +25,13 @@ do_compile() {
25 ${BUILD} -k -trelease -mclutter -Phelix-client-all-defines clutter 25 ${BUILD} -k -trelease -mclutter -Phelix-client-all-defines clutter
26} 26}
27 27
28do_stage() {
29 mkdir -p ${STAGING_DIR_HOST}/opt/helix/lib
30 mkdir -p ${STAGING_DIR_HOST}/opt/helix/include
31 mkdir -p ${STAGING_DIR_HOST}/usr/lib/pkgconfig
32
33 install -m 0644 clientapps/clutter/player.h \
34 ${STAGING_DIR_HOST}/opt/helix/include
35 install -m 0644 ../helix-libs/helix-player.pc \
36 ${STAGING_DIR_HOST}/usr/lib/pkgconfig
37
38 install -m 0644 release/*.so ${STAGING_DIR_HOST}/opt/helix/lib
39
40 install -d ${STAGING_DIR_HOST}${libdir}
41 install -m 0644 release/libhelix-player.so ${STAGING_DIR_HOST}${libdir}
42}
43
44do_install() { 28do_install() {
45 mkdir -p ${D}/opt/helix/lib 29 mkdir -p ${D}/opt/helix/lib
46 mkdir -p ${D}/opt/helix/include 30 mkdir -p ${D}/opt/helix/include
47 mkdir -p ${D}/usr/lib/pkgconfig 31 mkdir -p ${D}${libdir}/pkgconfig
48 32
49 install -m 0644 clientapps/clutter/player.h ${D}/opt/helix/include/ 33 install -m 0644 clientapps/clutter/player.h ${D}/opt/helix/include/
50 install -m 0644 ../helix-libs/helix-player.pc ${D}/usr/lib/pkgconfig 34 install -m 0644 ../helix-libs/helix-player.pc ${D}${libdir}/pkgconfig
51 35
52 install -m 0644 release/*.so ${D}/opt/helix/lib 36 install -m 0644 release/*.so ${D}/opt/helix/lib
53 37
@@ -55,6 +39,10 @@ do_install() {
55 install -m 0644 release/libhelix-player.so ${D}${libdir} 39 install -m 0644 release/libhelix-player.so ${D}${libdir}
56} 40}
57 41
42sysroot_stage_all_append() {
43 sysroot_stage_dir ${D}/opt/helix ${SYSROOT_DESTDIR}/${STAGING_DIR_TARGET}/helix
44}
45
58FILES_${PN} = "/usr/lib/libhelix-player.so" 46FILES_${PN} = "/usr/lib/libhelix-player.so"
59FILES_${PN} += "/opt/helix/lib" 47FILES_${PN} += "/opt/helix/lib"
60FILES_${PN}-dev = "/usr/lib/pkgconfig" 48FILES_${PN}-dev = "/usr/lib/pkgconfig"