opendreambox.conf: use current openssl by default
[opendreambox.git] / meta-opendreambox / conf / distro / opendreambox.conf
1 #@TYPE: Distribution
2 #@NAME: OpenDreambox
3 #@DESCRIPTION: Distribution configuration for OpenDreambox
4
5 #USER_CLASSES += "image-prelink"
6 INHERIT += "buildhistory recipe_sanity"
7 BUILDHISTORY_COMMIT = "1"
8
9 DISTRO_NAME = "${DISTRO}"
10 DISTRO_VERSION = "2.2.0"
11
12 # meta/conf/distro/include/default-distrovars.inc
13 DISTRO_FEATURES_DEFAULT ?= "alsa argp bluetooth ext2 largefile usbhost wifi xattr nfs zeroconf pci 3g \
14                             ppp smbfs systemd xinetd"
15 DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio"
16 DISTRO_FEATURES_GCC ?= ""
17 DISTRO_FEATURES_GCC_mipsel ?= " mplt"
18 DISTRO_FEATURES_GFX ?= " opengl wayland x11"
19 DISTRO_FEATURES_GFX_mipsel ?= " opengl"
20 DISTRO_FEATURES_append = "${DISTRO_FEATURES_GCC}${DISTRO_FEATURES_GFX}"
21
22 # extra packages needed if opkg is used
23 EXTRAOPKGCONFIG = "distro-feed-configs"
24
25 # meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
26 SYSVINIT_ENABLED_GETTYS = ""
27
28 # meta/classes/image_types.bbclass
29 IMAGE_FSTYPES =+ "tar.bz2"
30
31 # package versions
32 OPENDREAMBOX_QT_VERSION = "4.8.5"
33
34 PREFERRED_VERSION_openssl ?= "1.0.1e"
35 PREFERRED_VERSION_openssl_mipsel ?= "0.9.8y"
36 PREFERRED_VERSION_qt4-embedded ?= "${OPENDREAMBOX_QT_VERSION}"
37 PREFERRED_VERSION_qt4-native ?= "${OPENDREAMBOX_QT_VERSION}"
38 PREFERRED_VERSION_qt4-x11-free = "${OPENDREAMBOX_QT_VERSION}"
39 PREFERRED_VERSION_wpa-supplicant ?= "2.0"
40 PREFERRED_VERSION_xserver-nodm-init ?= "1.0"
41
42 PREFERRED_PROVIDER_jpeg ?= "libjpeg-turbo"
43 PREFERRED_PROVIDER_jpeg-native ?= "libjpeg-turbo-native"
44
45 PACKAGECONFIG_pn-cogl-1.0 = "egl-kms egl-null \
46         ${@base_contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)} \
47         ${@base_contains('DISTRO_FEATURES', 'wayland', 'egl-wayland', '', d)} \
48         ${@base_contains('DISTRO_FEATURES', 'x11', 'egl-x11', '', d)}"
49
50 PACKAGECONFIG_pn-glmark2 = "gles2"
51
52 PACKAGECONFIG_pn-gst-plugins-bad = "curl libmms musicbrainz orc"
53 PACKAGECONFIG_pn-gst-plugins-base = "orc \
54         ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
55 PACKAGECONFIG_pn-gst-plugins-good = "flac jpeg libpng orc soup zlib"
56 PACKAGECONFIG_pn-gst-plugins-ugly = "a52dec amrnb amrwb cdio lame mad mpeg2dec orc"
57
58 PACKAGECONFIG_DISTRO_pn-qtbase = "icu sql-sqlite"
59 PACKAGECONFIG_FB_pn-qtbase = "linuxfb"
60 PACKAGECONFIG_GL_pn-qtbase = "${@base_contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}"
61
62 PACKAGECONFIG_pn-weston = "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms wayland', '', d)} \
63                            ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
64                            ${@base_contains('DISTRO_FEATURES', 'opengl', 'gles', '', d)} \
65                            ${@base_contains('DISTRO_FEATURES', 'pam', 'launch', '', d)}"
66
67 PACKAGECONFIG_pn-xserver-xorg = "dri2 udev"
68
69 LICENSE_FLAGS_WHITELIST = "commercial"
70
71 # build some core libs with better compiler optimization for better performance
72 FULL_OPTIMIZATION_O3 = "-O3 -pipe ${DEBUG_FLAGS}"
73 FULL_OPTIMIZATION_pn-flac = "${FULL_OPTIMIZATION_O3}"
74 FULL_OPTIMIZATION_pn-jpeg = "${FULL_OPTIMIZATION_O3}"
75 FULL_OPTIMIZATION_pn-lame = "${FULL_OPTIMIZATION_O3}"
76 FULL_OPTIMIZATION_pn-liba52 = "${FULL_OPTIMIZATION_O3}"
77 FULL_OPTIMIZATION_pn-libdca = "${FULL_OPTIMIZATION_O3}"
78 FULL_OPTIMIZATION_pn-libgcrypt = "${FULL_OPTIMIZATION_O3}"
79 FULL_OPTIMIZATION_pn-libmad = "${FULL_OPTIMIZATION_O3}"
80 FULL_OPTIMIZATION_pn-libogg = "${FULL_OPTIMIZATION_O3}"
81 FULL_OPTIMIZATION_pn-libpng = "${FULL_OPTIMIZATION_O3}"
82 FULL_OPTIMIZATION_pn-libsamplerate = "${FULL_OPTIMIZATION_O3}"
83 FULL_OPTIMIZATION_pn-libvorbis = "${FULL_OPTIMIZATION_O3}"
84 FULL_OPTIMIZATION_pn-tremor = "${FULL_OPTIMIZATION_O3}"
85 FULL_OPTIMIZATION_pn-zlib = "${FULL_OPTIMIZATION_O3}"
86
87 # Disable installing ldconfig
88 USE_LDCONFIG = "0"
89
90 # Drop unused PACKAGE_EXTRA_ARCHS
91 PACKAGE_EXTRA_ARCHS = "${TUNE_PKGARCH}"
92
93 PREMIRRORS ?= "\
94 bzr://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
95 cvs://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
96 git://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
97 hg://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
98 osc://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
99 p4://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
100 svk://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
101 svn://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
102 bzr://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
103 cvs://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
104 git://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
105 hg://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
106 osc://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
107 p4://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
108 svk://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
109 svn://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n"
110
111 MIRRORS =+ "\
112 ftp://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
113 http://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
114 https://.*/.*  http://dreamboxupdate.com/sources-mirror/ \n \
115 ftp://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
116 http://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
117 https://.*/.*  http://autobuilder.yoctoproject.org/sources/ \n"
118
119 DREAMBOX_FEATURES ??= ""
120 DREAMBOX_IMAGE_SIZE ??= "1024"
121
122 # for compatibility with rm_old_work.bbclass
123 WORKDIR = "${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PN}/${PF}"
124
125 include conf/distro/include/seperatebuilddir.inc