aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-opie/opie-mediaplayer2/opie-mediaplayer2-skin.inc
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-01-08 18:39:29 +0000
committerPaul Eggleton <paul.eggleton@linux.intel.com>2012-01-08 19:04:45 +0000
commitdc82bf0e52b07a0767b6bf253852278c473ea248 (patch)
tree548f1a3b77722d5a240ca0f2673f2ef558f48749 /recipes-opie/opie-mediaplayer2/opie-mediaplayer2-skin.inc
parentd7122fb9047b66ce884bcc946c9e18213c57fa2f (diff)
downloadmeta-opie-dc82bf0e52b07a0767b6bf253852278c473ea248.tar.gz
meta-opie-dc82bf0e52b07a0767b6bf253852278c473ea248.tar.bz2
meta-opie-dc82bf0e52b07a0767b6bf253852278c473ea248.zip
opie-mediaplayer2-skin-*: use common inc file
Move all common definitions to a single .inc file and abstract away differences using a SKINNAME variable. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-opie/opie-mediaplayer2/opie-mediaplayer2-skin.inc')
-rw-r--r--recipes-opie/opie-mediaplayer2/opie-mediaplayer2-skin.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-opie/opie-mediaplayer2/opie-mediaplayer2-skin.inc b/recipes-opie/opie-mediaplayer2/opie-mediaplayer2-skin.inc
new file mode 100644
index 0000000..1df6032
--- /dev/null
+++ b/recipes-opie/opie-mediaplayer2/opie-mediaplayer2-skin.inc
@@ -0,0 +1,13 @@
+DESCRIPTION = "${SKINNAME} skin for opie-mediaplayer2"
+SECTION = "opie/multimedia"
+LICENSE = "GPLv2"
+# FIXME stopgap until split archives have license files included
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+RPROVIDES_${PN} = "opie-mediaplayer2-skin"
+
+do_install() {
+ install -d ${D}${palmtopdir}/pics/opieplayer2/skins/${SKINNAME}/
+ install -m 0644 ${WORKDIR}/pics/opieplayer2/skins/${SKINNAME}/*.png ${D}${palmtopdir}/pics/opieplayer2/skins/${SKINNAME}/
+}
+
+FILES_${PN} = "${palmtopdir}/pics/opieplayer2/skins/${SKINNAME}/*.png"