From: Kévin THIERRY Date: Wed, 28 May 2014 13:58:02 +0000 (+0200) Subject: Add package desktop-skin X-Git-Tag: demo_release_0.1~49 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=68a4274cc44bdf774f163ad1a7958afe54cf3c33;p=scm%2Fbb%2Fmeta-tizen.git Add package desktop-skin This package contains some desktop configuration files and the desktop backgrounds. Change-Id: Idb475c7eb70990cdf045286cf2fba21156f66575 Signed-off-by: Kévin THIERRY --- diff --git a/recipes-image/images/tizen-common-core-image-minimal.bb b/recipes-image/images/tizen-common-core-image-minimal.bb index 7ca33c1..433721b 100644 --- a/recipes-image/images/tizen-common-core-image-minimal.bb +++ b/recipes-image/images/tizen-common-core-image-minimal.bb @@ -23,5 +23,6 @@ IMAGE_INSTALL += "weston-common-tz-launcher" IMAGE_INSTALL += "weston-common-config" IMAGE_INSTALL += "user-session-units" IMAGE_INSTALL += "default-ac-domains" +IMAGE_INSTALL += "desktop-skin" #IMAGE_INSTALL += "crosswalk" diff --git a/recipes-tizen/desktop-skin/desktop-skin-extraconf.inc b/recipes-tizen/desktop-skin/desktop-skin-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/recipes-tizen/desktop-skin/desktop-skin.inc b/recipes-tizen/desktop-skin/desktop-skin.inc new file mode 100644 index 0000000..838a4b7 --- /dev/null +++ b/recipes-tizen/desktop-skin/desktop-skin.inc @@ -0,0 +1,98 @@ +DESCRIPTION = "Desktop skin for Tizen:Common" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/Multimedia" +LICENSE = "GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by desktop-skin + + +RDEPENDS = "" + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; + CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; + FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}${prefix}/bin + install -m 755 Script/launch_cam.sh ${D}${prefix}/bin + install -m 755 Script/launch_video.sh ${D}${prefix}/bin + install -m 755 Script/wifi ${D}${prefix}/bin + + mkdir -p ${D}${prefix}/share/media/videos + install -m 644 Video/AmazingNature_480p.mp4 ${D}${prefix}/share/media/videos + + mkdir -p ${D}${prefix}/share/media/photos + install -m 644 Photos/* ${D}${prefix}/share/media/photos + + mkdir -p ${D}${prefix}/share/icons/tizen/32x32 + install -m 644 icons/tizen/32x32/* ${D}${prefix}/share/icons/tizen/32x32 + + mkdir -p ${D}${prefix}/share/applications/tizen + install -m 644 applications/tizen/* ${D}${prefix}/share/applications/tizen + + mkdir -p ${D}${prefix}/share/backgrounds/tizen + install -m 644 backgrounds/tizen/golfe-morbihan.jpg ${D}${prefix}/share/backgrounds/tizen/golfe-morbihan.jpg + install -m 644 backgrounds/tizen/tizen_common.png ${D}${prefix}/share/backgrounds/tizen/tizen_common.png + + +} + + +desktop-skin_files = "" +desktop-skin_files += "${prefix}/bin/*" +desktop-skin_files += "${prefix}/share/media/videos/AmazingNature_480p.mp4" +desktop-skin_files += "${prefix}/share/media/photos/*" +desktop-skin_files += "${prefix}/share/icons/tizen/32x32/*" +desktop-skin_files += "${prefix}/share/applications/tizen/*" +desktop-skin_files += "${prefix}/share/backgrounds/tizen/*" + +FILES_${PN} = "${desktop-skin_files}" + +PKG_desktop-skin= "desktop-skin" + +require desktop-skin-extraconf.inc + diff --git a/recipes-tizen/desktop-skin/desktop-skin_git.bb b/recipes-tizen/desktop-skin/desktop-skin_git.bb new file mode 100644 index 0000000..de9427f --- /dev/null +++ b/recipes-tizen/desktop-skin/desktop-skin_git.bb @@ -0,0 +1,10 @@ +require desktop-skin.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/common/desktop-skin;tag=cc05dcc61a2545eaa29a18c59d926639c0636cad;nobranch=1" + +BBCLASSEXTEND += " native " +