77c45b0c6f2eac39d448a61c40a2df24e04ef04d
[vuplus_openvuplus_3.0] / meta-openvuplus / conf / distro / vuplus.conf
1 #@TYPE: Distribution
2 #@NAME: OpenVuplus
3 #@DESCRIPTION: Distribution configuration for OpenVuplus
4
5 require reporefs.conf
6
7 QA_LOGFILE = "${TMPDIR}/qa.log"
8 #USER_CLASSES += "image-prelink"
9 SANITY_REQUIRED_UTILITIES = "patch diffstat texi2html makeinfo svn bzip2 tar gzip gawk chrpath wget cpio sshpass glib-mkenums"
10 INHERIT += "buildhistory recipe_sanity"
11 BUILDHISTORY_COMMIT = "1"
12
13 DISTRO = "vuplus"
14 DISTRO_NAME = "vuplus"
15 DISTRO_VERSION = "3.0.0"
16 DISTRO_PR ?= ""
17
18 # meta/conf/distro/include/default-distrovars.inc
19 DISTRO_FEATURES += "3g alsa bluetooth directfb gtk-directfb ext2 largefile mplt nfs pci ppp smbfs usbhost zeroconf pci ${DISTRO_FEATURES_LIBC}"
20 DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio"
21
22 # extra packages needed if opkg is used
23 DISTRO_FEED_PREFIX ?= "official"
24 DISTRO_FEED_URI ?= "http://code.vuplus.com/packages/openvuplus/${DISTRO_VERSION}/vuplus/feeds/stable"
25 EXTRAOPKGCONFIG = "distro-feed-configs"
26
27 # meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
28 SYSVINIT_ENABLED_GETTYS = ""
29
30 # meta/classes/image_types.bbclass
31 IMAGE_FSTYPES =+ "tar.bz2"
32
33 # package versions
34 GST_VERSION = "1.0"
35
36 PREFERRED_VERSION_freetype ?= "2.4.12"
37
38 PREFERRED_VERSION_udev ?= "182"
39
40 PREFERRED_VERSION_elfutils ?= "0.148"
41
42 PREFERRED_VERSION_libmicrohttpd ?= "0.9.34"
43 PREFERRED_VERSION_libdvdcss ?= "1.2.10"
44 #PREFERRED_VERSION_taglib ?= "1.8"
45
46 PREFERRED_PROVIDER_jpeg = "jpeg"
47 PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
48 PREFERRED_PROVIDER_libfribidi = "libfribidi"
49
50 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
51 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate"
52 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc:gcc-cross"
53 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}g++:gcc-cross"
54
55 LICENSE_FLAGS_WHITELIST = "commercial_gst-plugins-ugly commercial_lame commercial_libmad commercial_mpeg2dec commercial_libav commercial_minidlna"
56 LICENSE_FLAGS_WHITELIST += "commercial_gstreamer1.0-plugins-ugly"
57
58 FULL_OPTIMIZATION = "-Os -pipe ${DEBUG_FLAGS}"
59 # build some core libs with better compiler optimization for better performance
60 O3_OPT = "-O3 -pipe ${DEBUG_FLAGS}"
61 FULL_OPTIMIZATION_pn-flac = "${O3_OPT}"
62 FULL_OPTIMIZATION_pn-jpeg = "${O3_OPT}"
63 FULL_OPTIMIZATION_pn-lame = "${O3_OPT}"
64 FULL_OPTIMIZATION_pn-liba52 = "${O3_OPT}"
65 FULL_OPTIMIZATION_pn-libdca = "${O3_OPT}"
66 FULL_OPTIMIZATION_pn-libgcrypt = "${O3_OPT}"
67 FULL_OPTIMIZATION_pn-libmad = "${O3_OPT}"
68 FULL_OPTIMIZATION_pn-libogg = "${O3_OPT}"
69 FULL_OPTIMIZATION_pn-libpng = "${O3_OPT}"
70 FULL_OPTIMIZATION_pn-libsamplerate = "${O3_OPT}"
71 FULL_OPTIMIZATION_pn-libvorbis = "${O3_OPT}"
72 FULL_OPTIMIZATION_pn-tremor = "${O3_OPT}"
73 FULL_OPTIMIZATION_pn-zlib = "${O3_OPT}"
74 PR_append_pn-flac = "-opt1"
75 PR_append_pn-jpeg = "-opt1"
76 PR_append_pn-lame = "-opt1"
77 PR_append_pn-liba52 = "-opt1"
78 PR_append_pn-libdca = "-opt1"
79 PR_append_pn-libgcrypt = "-opt1"
80 PR_append_pn-libmad = "-opt1"
81 PR_append_pn-libogg = "-opt1"
82 PR_append_pn-libpng = "-opt1"
83 PR_append_pn-libsamplerate = "-opt1"
84 PR_append_pn-libvorbis = "-opt1"
85 PR_append_pn-tremor = "-opt1"
86 PR_append_pn-zlib = "-opt1"
87
88 # Disable installing ldconfig
89 USE_LDCONFIG = "0"
90
91 TCLIBCAPPEND = ""
92
93 # Drop unused PACKAGE_EXTRA_ARCHS
94 PACKAGE_EXTRA_ARCHS = "${TUNE_PKGARCH}"
95
96 QEMU_TARGETS ?= "mipsel"
97
98 PREMIRRORS ?= "\
99 bzr://.*/.*   http://archive.vuplus.com/openvuplus_mirror_30/ \n \
100 cvs://.*/.*   http://archive.vuplus.com/openvuplus_mirror_30/ \n \
101 git://.*/.*   http://archive.vuplus.com/openvuplus_mirror_30/ \n \
102 hg://.*/.*    http://archive.vuplus.com/openvuplus_mirror_30/ \n \
103 osc://.*/.*   http://archive.vuplus.com/openvuplus_mirror_30/ \n \
104 p4://.*/.*    http://archive.vuplus.com/openvuplus_mirror_30/ \n \
105 svn://.*/.*   http://archive.vuplus.com/openvuplus_mirror_30/ \n \
106 bzr://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
107 cvs://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
108 git://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
109 hg://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
110 osc://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
111 p4://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
112 svn://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n"
113
114 MIRRORS =+ "\
115 ftp://.*/.*    http://archive.vuplus.com/openvuplus_mirror_30/ \n \
116 http://.*/.*   http://archive.vuplus.com/openvuplus_mirror_30/ \n \
117 https://.*/.*  http://archive.vuplus.com/openvuplus_mirror_30/ \n \
118 ftp://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
119 http://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
120 https://.*/.*  http://autobuilder.yoctoproject.org/sources/ \n"
121
122 # for compatibility with rm_old_work.bbclass
123 WORKDIR = "${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PN}/${PF}"