summaryrefslogtreecommitdiffstats
path: root/recipes/images/shr-image.bb
blob: 23f4f64e4c8d621a85c9a8b9995c55a19da9e27a (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
require shr-image.inc

IMAGE_BASENAME = "full"

DEPENDS += "task-shr"
RDEPENDS += "\
    task-shr-apps \
    task-shr-games \
    task-shr-gtk \
    task-shr-cli \
"

IMAGE_INSTALL += "\
  task-shr-apps \
  task-shr-games \
  task-shr-gtk \
  task-shr-cli \
"

# perform some SHR convenience tweaks to the rootfs
shr_rootfs_postprocess_append() {
    curdir=$PWD
    cd ${IMAGE_ROOTFS}


    #Replace desktop files
    echo "Icon=pidgin.png" >> ./usr/share/applications/pidgin.desktop
    sed -i "s/^X-Icon-path.*$//g" ./usr/share/applications/vagalume.desktop

    cd $curdir
}