-DESCRIPTION = "Provides desktop-skin."
+DESCRIPTION = "Desktop skin for Tizen:Common"
HOMEPAGE = "http://nohomepage.org"
-SECTION = "Applications"
+SECTION = "Applications/Multimedia"
LICENSE = "GPL-2.0+"
SRC_URI = ""
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}/home/app
- install -m 644 Video/AmazingNature_480p.mp4 ${D}/home/app
+ mkdir -p ${D}${prefix}/share/media/videos
+ install -m 644 Video/AmazingNature_480p.mp4 ${D}${prefix}/share/media/videos
- mkdir -p ${D}/home/app/Photos
- install -m 644 Photos/* ${D}/home/app/Photos
+ 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
}
pkg_postinst_${PN}() {
#!/bin/sh -e
- chown -R app:app /home/app
+
+ ln -s tizen_common.png ${prefix}/share/backgrounds/tizen/current
}
desktop-skin_files = ""
-desktop-skin_files += "${prefix}/bin/launch_cam.sh"
-desktop-skin_files += "${prefix}/bin/launch_video.sh"
-desktop-skin_files += "/home/app/AmazingNature_480p.mp4"
-desktop-skin_files += "/home/app/Photos/*"
+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/backgrounds/tizen/golfe-morbihan.jpg"
+desktop-skin_files += "${prefix}/share/applications/tizen/*"
+desktop-skin_files += "${prefix}/share/backgrounds/tizen/*"
FILES_${PN} = "${desktop-skin_files}"