1*4882a593SmuzhiyunSUMMARY = "MMS stream protocol library" 2*4882a593SmuzhiyunHOMEPAGE = "http://sourceforge.net/projects/libmms/" 3*4882a593SmuzhiyunSECTION = "libs/multimedia" 4*4882a593Smuzhiyun 5*4882a593SmuzhiyunLICENSE = "LGPL-2.0-or-later" 6*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING.LIB;md5=fad9b3332be894bab9bc501572864b29" 7*4882a593Smuzhiyun 8*4882a593SmuzhiyunSRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${PV}/${BP}.tar.gz" 9*4882a593SmuzhiyunSRC_URI[md5sum] = "d6b665b335a6360e000976e770da7691" 10*4882a593SmuzhiyunSRC_URI[sha256sum] = "3c05e05aebcbfcc044d9e8c2d4646cd8359be39a3f0ba8ce4e72a9094bee704f" 11*4882a593Smuzhiyun 12*4882a593Smuzhiyuninherit autotools pkgconfig 13*4882a593Smuzhiyun 14*4882a593Smuzhiyundo_install:append() { 15*4882a593Smuzhiyun # The GLib dependency was removed in libmms 0.6.3, but the 16*4882a593Smuzhiyun # "Requires" was not removed from the pkg-config file. Since we 17*4882a593Smuzhiyun # don't have (and don't want) the RDEPENDS on GLib, we should 18*4882a593Smuzhiyun # remove the "Requires" line. 19*4882a593Smuzhiyun sed -i '/^Requires: glib-2\.0$/d' ${D}${libdir}/pkgconfig/libmms.pc 20*4882a593Smuzhiyun} 21