summaryrefslogtreecommitdiff
path: root/recipes/images/angstrom-lxde-image.bb
blob: 8e51cdf25e7db802745a8398c2fc0fe355f7b943 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
#Angstrom image
DESCRIPTION = "Image based on the LXDE desktop"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"

PV = "V2.0"
PR = "r3"

#create the deployment directory-tree
require trdx-image-fstype.inc

#create the file /etc/timestamp
IMAGE_PREPROCESS_COMMAND = "rootfs_update_timestamp"

#IMAGE_LINGUAS = ""
IMAGE_LINGUAS = "en-us"
#IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in"
#ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; '
#IMAGE_FEATURES += "package-management ssh-server-dropbear"

#MAYBE WE WILL NEED THESE ALSO:
# xorg-minimal-fonts xserver-xorg-multimedia-modules xserver-xorg-utils

DISTRO_UPDATE_ALTERNATIVES ??= ""
ROOTFS_PKGMANAGE_PKGS ?= '${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}'

#CONMANPKGS = ""
CONMANPKGS ?= "connman connman-plugin-loopback connman-plugin-ethernet connman-plugin-wifi connman-systemd connman-gnome"
CONMANPKGS_libc-uclibc = ""

DEPENDS += "gst-plugins-good gst-plugins-bad gst-plugins-ugly"

#deploy the OpenGL ES headers to the sysroot
#this package does not compile with hf
#DEPENDS += "nvsamples"

#build some ipk which are needed together with CAN, but do not yet install them
DEPENDS += "canutils libsocketcan iproute2"

# Additional X libs not pulled in by any package \
#  xtrans libxevie \

# this would pull in a large amount of gst-plugins, we only add a selected few
#  gst-plugins-base-meta \
#  gst-plugins-good-meta \
#  gst-plugins-bad-meta \
#  gst-ffmpeg \

# needed by nvidia commandline player \
#  libpcre \

# these were in the oe classic image
IMAGE_INSTALL_CLASSIC = " \
gconf \
gnome-vfs \
gnome-vfs-plugin-file \
gvfs \
gvfsd-trash \
xdg-utils \
xvinfo \
\
file \
initscripts \
libgsf \
polkit-gnome \
libwnck \
libxres \
makedevs \
mime-support \
sysvinit \
xcursor-transparent-theme \
zeroconf \
"

IMAGE_INSTALL += " \
	${IMAGE_INSTALL_CLASSIC} \
	virtual-psplash \
	angstrom-packagegroup-boot \
	task-basic \
	udev-extra-rules \
	${CONMANPKGS} \
	${ROOTFS_PKGMANAGE_PKGS} \
	timestamp-service \
	task-base-extended \
	${XSERVER}\
	xserver-common \
	xserver-xorg-extension-dbe \
	xserver-xorg-extension-extmod \
	xserver-xorg-extension-extmod \
	xauth \
	xhost \
	xset \
	\
	${XSERVER} \
	xrandr \
	xrdb \
	xorg-minimal-fonts xserver-xorg-multimedia-modules xserver-xorg-utils \
	\
	libxdamage libxvmc libxinerama \
	libxcursor \
	\
	bash \
	tinylogin \
	\
	gstreamer \
	gst-plugins-base \
	gst-plugins-base-alsa \
	gst-plugins-base-audioconvert \
	gst-plugins-base-audioresample \
	gst-plugins-base-audiotestsrc \
	gst-plugins-base-decodebin \
	gst-plugins-base-decodebin2 \
	gst-plugins-base-playbin \
	gst-plugins-base-typefindfunctions \
	gst-plugins-base-ivorbisdec \
	gst-plugins-base-ogg \
	gst-plugins-base-theora \
	gst-plugins-base-videotestsrc \
	gst-plugins-base-vorbis \
	gst-plugins-good-isomp4 \
	gst-plugins-good-matroska \
	gst-plugins-good-rtp \
	gst-plugins-good-udp \
	gst-plugins-good-avi \
	gst-plugins-good-wavenc \
	gst-plugins-good-wavparse \
	gst-plugins-ugly-asf \
	libpcre \
	libpcreposix \
	libxcomposite \
	alsa-states \
	firefox \
"

# firefox at the moment segfaults
#	flash-plugins \

#	gst-plugin-mpegdemux 

require lx.inc
require trdx-extra.inc

IMAGE_DEV_MANAGER   = "udev"
IMAGE_INIT_MANAGER  = "systemd"
IMAGE_INITSCRIPTS   = " "
IMAGE_LOGIN_MANAGER = "tinylogin shadow"

export IMAGE_BASENAME = "LXDE-image"

inherit core-image