From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-multimedia][PATCH 1/4] vlc.inc: cleanup configure, inherit pkgconfig
Date: Tue, 22 Jul 2014 00:10:49 +0200 [thread overview]
Message-ID: <20140721221049.GL22875@jama> (raw)
In-Reply-To: <1405829260-13293-2-git-send-email-TicoTimo@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 4339 bytes --]
On Sat, Jul 19, 2014 at 09:07:37PM -0700, Tim Orling wrote:
> * Upstream is now much more pkg-config friendly
> * Clean up configure baggage, no longer needed
>
> Signed-off-by: Tim Orling <TicoTimo@gmail.com>
> ---
> meta-multimedia/recipes-multimedia/vlc/vlc.inc | 33 ++++++++++++--------------
> 1 file changed, 15 insertions(+), 18 deletions(-)
>
> diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc.inc b/meta-multimedia/recipes-multimedia/vlc/vlc.inc
> index 58f5648..c188771 100644
> --- a/meta-multimedia/recipes-multimedia/vlc/vlc.inc
> +++ b/meta-multimedia/recipes-multimedia/vlc/vlc.inc
> @@ -5,17 +5,17 @@ SECTION = "multimedia"
> LICENSE = "GPL-2.0"
> LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
>
Can you please try it with standalone libpostproc (and libav-9*), now
when libpostproc build was fixed it has floating dependency on it:
vlc rdepends on libpostproc but its not a build dependency? [build-deps]
thanks
> -DEPENDS = "libfribidi libtool libgcrypt gst-plugins-bad virtual/libsdl \
> - libsdl-image qt4-x11-free dbus dbus-glib libxml2 gnutls tremor \
> - faad2 ffmpeg flac libxpm libxinerama fluidsynth alsa-lib libdvdcss \
> - libdvdread lua-native lua libidn libnotify gtk+ gnome-vfs libdc1394 \
> - libraw1394 avahi libjpeg-turbo xz libmodplug mpeg2dec \
> +DEPENDS = "libfribidi libtool libgcrypt libgcrypt-native gst-plugins-bad \
> + virtual/libsdl libsdl-image qt4-x11-free dbus dbus-glib libxml2 gnutls \
> + tremor faad2 ffmpeg flac libxpm libxinerama fluidsynth alsa-lib \
> + libdvdcss libdvdread lua-native lua libidn libnotify gtk+ gnome-vfs \
> + libdc1394 libraw1394 avahi libjpeg-turbo xz libmodplug mpeg2dec \
> libmtp opencv libopus orc libusb1 schroedinger taglib \
> tiff xcb-util-keysyms samba"
>
> SRC_URI = "http://download.videolan.org/pub/videolan/${BPN}/${PV}/${BP}.tar.xz"
>
> -inherit autotools gettext
> +inherit autotools gettext pkgconfig
>
> ARM_INSTRUCTION_SET = "arm"
>
> @@ -29,18 +29,20 @@ EXTRA_OECONF = "\
> --enable-freetype \
> --enable-sdl \
> --enable-png \
> - --enable-live555 --enable-tremor \
> + --enable-tremor \
> --enable-v4l2 --disable-aa --disable-faad \
> --enable-dbus \
> --without-contrib \
> --without-kde-solid \
> --disable-glx \
> --enable-realrtsp \
> + --disable-libtar \
> ac_cv_path_MOC=${STAGING_BINDIR_NATIVE}/moc4 \
> ac_cv_path_RCC=${STAGING_BINDIR_NATIVE}/rcc4 \
> ac_cv_path_UIC=${STAGING_BINDIR_NATIVE}/uic4 \
> "
>
> +PACKAGECONFIG ?= " live555"
> PACKAGECONFIG[mad] = "--enable-mad,--disable-mad,libmad"
> PACKAGECONFIG[a52] = "--enable-a52,--disable-a52,liba52"
> PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack"
> @@ -48,18 +50,13 @@ PACKAGECONFIG[live555] = "--enable-live555,--disable-live555,live555"
> PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass"
> PACKAGECONFIG[mkv] = "--enable-mkv,--disable-mkv,libmatroska libebml"
>
> -do_configure() {
> - cp ${STAGING_DATADIR}/aclocal/libgcrypt.m4 ${S}/m4/
> - ./bootstrap
> - gnu-configize --force
> - libtoolize --force
> - #autoreconf --force -i
> +do_configure_prepend() {
> cp ${STAGING_DATADIR}/libtool/config.* ${S}/autotools/ || true
> - oe_runconf
> - rm config.log
> - #sed -i -e s:-L/usr/lib:-L${STAGING_LIBDIR}/:g ${S}/vlc-config
> - sed -i -e s:'$(MOC) $(DEFS) $(CPPFLAGS)':'$(MOC) $(DEFS)'\ -I${S}/include\ -DSYS_LINUX:g ${S}/modules/gui/qt4/Makefile
> - sed -i -e s:'${top_builddir_slash}libtool':${TARGET_SYS}-libtool:g ${S}/doltlibtool
> +}
> +
> +do_configure_append() {
> + sed -i -e s:'$(MOC) $(DEFS) $(CPPFLAGS)':'$(MOC) $(DEFS)'\ -I${B}/include\ -DSYS_LINUX:g ${B}/modules/gui/qt4/Makefile
> + sed -i -e s:'${top_builddir_slash}libtool':${TARGET_SYS}-libtool:g ${B}/doltlibtool
> }
>
> # This recipe packages vlc as a library as well, so qt4 dependencies
> --
> 1.9.3
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
next prev parent reply other threads:[~2014-07-21 22:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-20 4:07 [meta-multimedia][PATCH 0/4] vlc: B!=S and pkg-config friendly Tim Orling
2014-07-20 4:07 ` [meta-multimedia][PATCH 1/4] vlc.inc: cleanup configure, inherit pkgconfig Tim Orling
2014-07-21 22:10 ` Martin Jansa [this message]
2014-07-20 4:07 ` [meta-multimedia][PATCH 2/4] vlc: use AM_PATH_LIBGCRYPT instead of libgcrypt-config Tim Orling
2014-07-20 4:07 ` [meta-multimedia][PATCH 3/4] vlc: modules/gui/qt4/Modules.am not B!=S friendly Tim Orling
2014-07-20 4:07 ` [meta-multimedia][PATCH 4/4] vlc: add patches to fix B!=S and pkg-config Tim Orling
2014-07-20 8:19 ` Martin Jansa
2014-07-20 9:49 ` Martin Jansa
2014-07-20 17:47 ` Tim Orling
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140721221049.GL22875@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox