# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python class Recipe(recipe.Recipe): name = 'a52dec' version = '0.7.4' licenses = [License.GPLv2Plus] configure_options = '--with-pic --enable-shared' autoreconf = True files_libs = ['liba52'] files_bins = ['a52dec'] files_devel = ['include/a52dec'] def prepare(self): if self.config.target_platform == Platform.ANDROID: self.configure_options += ' --disable-oss' self.append_env['CFLAGS'] = " -fPIC "