opendreambox.conf: set packageconfig options for gst-plugins
[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.1.0"
11
12 # meta/conf/distro/include/default-distrovars.inc
13 DISTRO_FEATURES ?= "3g alsa argp bluetooth ext2 largefile mplt nfs opengles2 pci ppp smbfs systemd usbhost wayland wifi x11 xattr xinetd zeroconf ${DISTRO_FEATURES_LIBC}"
14 DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio"
15
16 # extra packages needed if opkg is used
17 EXTRAOPKGCONFIG = "distro-feed-configs"
18
19 # meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
20 SYSVINIT_ENABLED_GETTYS = ""
21
22 # meta/classes/image_types.bbclass
23 IMAGE_FSTYPES =+ "tar.bz2"
24
25 # package versions
26 OPENDREAMBOX_QT_VERSION = "4.8.4"
27
28 PREFERRED_VERSION_qt4-embedded ?= "${OPENDREAMBOX_QT_VERSION}"
29 PREFERRED_VERSION_qt4-native ?= "${OPENDREAMBOX_QT_VERSION}"
30 PREFERRED_VERSION_qt4-x11-free = "${OPENDREAMBOX_QT_VERSION}"
31 PREFERRED_VERSION_wpa-supplicant ?= "2.0"
32
33 PREFERRED_PROVIDER_jpeg = "jpeg"
34 PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
35
36 PACKAGECONFIG_pn-gst-plugins-bad = "curl libmms musicbrainz orc"
37 PACKAGECONFIG_pn-gst-plugins-base = "orc \
38         ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
39 PACKAGECONFIG_pn-gst-plugins-good = "flac jpeg libpng orc soup zlib"
40 PACKAGECONFIG_pn-gst-plugins-ugly = "a52dec amrnb amrwb cdio lame mad mpeg2dec orc"
41
42 PACKAGECONFIG_pn-xserver-xorg = "dri2 udev"
43
44 LICENSE_FLAGS_WHITELIST = "commercial"
45
46 # build some core libs with better compiler optimization for better performance
47 FULL_OPTIMIZATION_O3 = "-O3 -pipe ${DEBUG_FLAGS}"
48 FULL_OPTIMIZATION_pn-flac = "${FULL_OPTIMIZATION_O3}"
49 FULL_OPTIMIZATION_pn-jpeg = "${FULL_OPTIMIZATION_O3}"
50 FULL_OPTIMIZATION_pn-lame = "${FULL_OPTIMIZATION_O3}"
51 FULL_OPTIMIZATION_pn-liba52 = "${FULL_OPTIMIZATION_O3}"
52 FULL_OPTIMIZATION_pn-libdca = "${FULL_OPTIMIZATION_O3}"
53 FULL_OPTIMIZATION_pn-libgcrypt = "${FULL_OPTIMIZATION_O3}"
54 FULL_OPTIMIZATION_pn-libmad = "${FULL_OPTIMIZATION_O3}"
55 FULL_OPTIMIZATION_pn-libogg = "${FULL_OPTIMIZATION_O3}"
56 FULL_OPTIMIZATION_pn-libpng = "${FULL_OPTIMIZATION_O3}"
57 FULL_OPTIMIZATION_pn-libsamplerate = "${FULL_OPTIMIZATION_O3}"
58 FULL_OPTIMIZATION_pn-libvorbis = "${FULL_OPTIMIZATION_O3}"
59 FULL_OPTIMIZATION_pn-tremor = "${FULL_OPTIMIZATION_O3}"
60 FULL_OPTIMIZATION_pn-zlib = "${FULL_OPTIMIZATION_O3}"
61
62 # Disable installing ldconfig
63 USE_LDCONFIG = "0"
64
65 # Drop unused PACKAGE_EXTRA_ARCHS
66 PACKAGE_EXTRA_ARCHS = "${TUNE_PKGARCH}"
67
68 PREMIRRORS ?= "\
69 bzr://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
70 cvs://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
71 git://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
72 hg://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
73 osc://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
74 p4://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
75 svk://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
76 svn://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
77 bzr://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
78 cvs://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
79 git://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
80 hg://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
81 osc://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
82 p4://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
83 svk://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
84 svn://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n"
85
86 MIRRORS =+ "\
87 ftp://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
88 http://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
89 https://.*/.*  http://dreamboxupdate.com/sources-mirror/ \n \
90 ftp://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
91 http://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
92 https://.*/.*  http://autobuilder.yoctoproject.org/sources/ \n"
93
94 # for compatibility with rm_old_work.bbclass
95 WORKDIR = "${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PN}/${PF}"
96
97 include conf/distro/include/seperatebuilddir.inc