You are not logged in.

#1 2009-07-15 10:45:11

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

mplayer... change in PKGBUILD

I noticed that the latest update of mplayer uses a heavily modified PKGBUILD. The difference lies in the configure flags... Old ones:

 ./configure --prefix=/usr --disable-gui --disable-arts --enable-x11 \
      --enable-runtime-cpudetection --confdir=/etc/mplayer --disable-nas \
      --enable-gl --enable-tv-v4l1 --enable-tv-v4l2 --enable-largefiles \
      --disable-liblzo --disable-speex --disable-openal \
      --disable-fribidi --disable-libdv --disable-musepack \
      --language=all --disable-esd --disable-mga \
      --disable-libamr_nb --enable-lirc --enable-radio --enable-radio-capture \
      --extra-cflags="-I/usr/lib/live-media" --disable-nemesi --enable-freetype \
      --enable-xvmc || return 1

New ones:

./configure --prefix=/usr --enable-runtime-cpudetection --disable-gui --disable-arts \
      --confdir=/etc/mplayer --disable-liblzo --disable-speex \
      --disable-openal --disable-fribidi --disable-libdv --disable-musepack \
      --language=all --disable-esd --disable-mga || return 1

Extra cflags, video for linux, gl and some more are missing... Are those already by default enabled or just the maintainer decided to change the flags...


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#2 2009-07-15 14:29:39

Garns
Member
Registered: 2008-05-28
Posts: 239

Re: mplayer... change in PKGBUILD

IIRC mplayer has a rather unusual build system, which autodetects a lot of stuff and enables features if the necessary dependencies are present during compilation. Enabling features by hand just forces building with dependencies, without checking for them first. Since mplayer still depends on libgl and some Xlibs, I don't think much has changed regarding the result of the build. I don't know about the CFLAGS though.

Offline

#3 2009-07-18 12:02:39

hdoria
Forum Fellow
From: Brazil
Registered: 2007-06-28
Posts: 52
Website

Re: mplayer... change in PKGBUILD

Hi Dheart,

I had some talk with mplayer's developers and they suggested me to remove some flags. All the flags removed are enabled by default, so they weren't needed. As Garns said, mplayer autodetects a lot of stuff and enables them. I just need to add the dependencies.

Anyway, if you are missing some features, please, let me know.

Offline

#4 2009-08-18 10:54:58

cygoh
Member
Registered: 2009-04-02
Posts: 11

Re: mplayer... change in PKGBUILD

Hi hdoria,

The --extra-cflags is still needed as it can't find the header files of live-media.
live-media is needed for rtsp streaming.

Offline

#5 2009-08-18 13:50:39

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: mplayer... change in PKGBUILD

To be more precise:

-extra-cflags="-I/usr/lib/live-media"

The configure script looks in other directories (/usr/lib/live, /usr/lib64/live, /usr/local/live and /usr/local/lib/live) for live-media and hence doesn't autodetect it.

Last edited by Nepherte (2009-08-18 13:52:02)

Offline

#6 2009-08-18 13:53:02

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: mplayer... change in PKGBUILD

Nepherte wrote:

To be more precise:

-extra-cflags="-I/usr/lib/live-media"

The configure script looks in other directories (/usr/lib/live, /usr/lib64/live, /usr/local/live and /usr/local/lib/live) for live-media and hence doesn't autodetect it.

i suggest to open a bug report and tell about this.


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2009-08-18 14:00:42

cygoh
Member
Registered: 2009-04-02
Posts: 11

Re: mplayer... change in PKGBUILD

wonder wrote:
Nepherte wrote:

To be more precise:

-extra-cflags="-I/usr/lib/live-media"

The configure script looks in other directories (/usr/lib/live, /usr/lib64/live, /usr/local/live and /usr/local/lib/live) for live-media and hence doesn't autodetect it.

i suggest to open a bug report and tell about this.

Just found out it is already reported in the bug tracker http://bugs.archlinux.org/task/15936

Offline

#8 2009-10-30 08:59:21

cb474
Member
Registered: 2009-04-04
Posts: 469

Re: mplayer... change in PKGBUILD

Is the right code:

--extra-cflags="-I/usr/lib/live-media"

or

--with-extraincdir=/usr/lib/live-media

There's different information here and in the bug report. Thanks.

Offline

Board footer

Powered by FluxBB