# $Id$ PVER="0.10.19" _realPNAME="gst-plugins-ugly" _majorPVER="${PVER%.*}" PNAME="gstreamer${_majorPVER}-plugins-ugly" PBUILD="r6" PCAT="media-libs" DESCRIPTION="Plugins with ugly code and licences for gstreamer${_majorPVER}." HOMEPAGE="http://gstreamer.sourceforge.net" DEPEND=">= media-libs/gstreamer${_majorPVER}-${_majorPVER} >= media-libs/gstreamer${_majorPVER}-plugins-base-${_majorPVER} >= dev-libs/glib2-2.52 >= dev-libs/liborc-0.4.26 >= dev-libs/libcdio-0.90 >= media-libs/libdvdcss-1.4 >= media-libs/libdvdread-5.0 >= media-libs/libdvdnav-5.0 >= media-libs/libmpeg2-0.5.1 >= media-libs/a52dec-0.7.4 >= media-libs/libid3tag-0.15 >= media-libs/libmad-0.15 >= media-libs/x264-201705 >= media-sound/lame-3.98" SDEPEND=">= sys-dev/gettext-0.18 >= dev-util/pkgconfig-0.25 >= dev-lang/orc-0.4.26" SRCFILE="${_realPNAME}-${PVER}.tar.xz" SRCDIR="${BUILDDIR}/${_realPNAME}-${PVER}" sminclude mbuild msetfeature "!check" SRC_URI=( http://gstreamer.freedesktop.org/src/${_realPNAME}/${SRCFILE} mirror://${_realPNAME}/${SRCFILE} mirror://${_realPNAME}/${_realPNAME}-${PVER}-libcdio90.patch ) UP2DATE="updatecmd http://gstreamer.freedesktop.org/src/${_realPNAME}/ | grep ${_realPNAME}-${_majorPVER}| lasttarball xz" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fix build against >= libcdio-0.90 mpatch ${_realPNAME}-${PVER}-libcdio90.patch || die } src_compile() { cd ${SRCDIR} # libdvdnav is disabled as it is not stable yet, so we enforce the build mconfigure --enable-dvdread --enable-dvdnav || die mmake || die }