Package Details: mplayer2-build-git 2.0.728.g2c378c71a-2

Git Clone URL: (read-only, click to copy)
Package Base: mplayer2-build-git
Description: A movie player for linux (uses statically linked libav). (GIT version)
Upstream URL:
Licenses: GPL
Conflicts: mplayer, mplayer2
Provides: mplayer, mplayer2
Replaces: mplayer, mplayer2
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 7
Popularity: 0.000000
First Submitted: 2012-02-13 00:03 (UTC)
Last Updated: 2022-03-05 11:45 (UTC)

Required by (125)

Sources (16)

Latest Comments

MarsSeed commented on 2022-03-05 10:31 (UTC) (edited on 2022-03-25 15:08 (UTC) by MarsSeed)

And btw LTO is enabled by default in Arch devtools for chroot build.

MarsSeed commented on 2022-03-05 10:04 (UTC) (edited on 2022-03-05 10:05 (UTC) by MarsSeed)

@sl1pkn07 thanks for the update.

While it is true that LTO is disabled by default, many savvy users enable it as it speeds up the runtime.

By default, PKGBUILD leaves every makepkg-related config as is configured by the user's system.

In specific cases, the maintainer of a package disables or overrides system-defined configs to make their builds work even on non-default setups.

See this or even this for examples.

It doesn't hurt you to disable LTO in this build, but it lets others who want to build it with LTO enabled on their system still build it without tinkering.

sl1pkn07 commented on 2022-03-05 09:15 (UTC) (edited on 2022-03-05 09:15 (UTC) by sl1pkn07)

lto is disabled by default

MarsSeed commented on 2022-03-04 17:50 (UTC) (edited on 2022-03-04 17:51 (UTC) by MarsSeed)

+1: Dependency libdvdcss should be made optional. :)

MarsSeed commented on 2022-03-04 17:49 (UTC) (edited on 2022-03-04 17:53 (UTC) by MarsSeed)

FreeBSD patch sources: 404.

Also build fails if LTO is enabled.

I suggest the changes below to fix PKGBUILD.

(Lines to delete marked with '-', lines to add with '+'; keep unmarked lines.)

-   options=('!emptydirs')
+   options=('!emptydirs' '!lto')
-   'git+'
-   'git+'
-   'libav::git://'
+   'git+'
+   'git+'
+   'libav::git+'

-   'patch-libmpcodecs-vd_theora.patch::'
-   'patch-libmpdemux-demux_ogg.patch::'
-   'patch-libvo_vo_giflib.patch::'
-   'patch-libmpdemux-demux_gif.patch::'
+   'patch-libmpcodecs-vd_theora.patch::'
+   'patch-libmpdemux-demux_ogg.patch::'
+   'patch-libvo_vo_giflib.patch::'
+   'patch-libmpdemux-demux_gif.patch::'

ProFfeSsoRr commented on 2015-08-08 17:37 (UTC)

Dependencies rsound, libbs2b and vstream-client not found :(

zer0 commented on 2014-06-23 04:18 (UTC)

It worked, thank you!

sl1pkn07 commented on 2014-06-23 02:11 (UTC)

update to add selector if have installed libdvdnav from [extra] (disable pacth) or libdvdnav-git from [aur] (apply patch) greetings PS: anyone know the method to apply #define selector in dvdnav sources part like giflib patch?

sl1pkn07 commented on 2014-06-23 01:21 (UTC)

comment this line: patch -p1 -i ../../stream_dvdnav.diff

zer0 commented on 2014-06-22 23:25 (UTC)

I get this error when compiling: CC stream/stream_dvdnav.o stream/stream_dvdnav.c: In function 'mp_dvdnav_get_aid_from_format': stream/stream_dvdnav.c:718:8: error: 'DVD_AUDIO_FORMAT_AC3' undeclared (first use in this function) case DVD_AUDIO_FORMAT_AC3: ^ stream/stream_dvdnav.c:718:8: note: each undeclared identifier is reported only once for each function it appears in stream/stream_dvdnav.c:720:8: error: 'DVD_AUDIO_FORMAT_DTS' undeclared (first use in this function) case DVD_AUDIO_FORMAT_DTS: ^ stream/stream_dvdnav.c:722:8: error: 'DVD_AUDIO_FORMAT_LPCM' undeclared (first use in this function) case DVD_AUDIO_FORMAT_LPCM: ^ stream/stream_dvdnav.c:724:8: error: 'DVD_AUDIO_FORMAT_MPEG2_EXT' undeclared (first use in this function) case DVD_AUDIO_FORMAT_MPEG2_EXT: ^ Makefile:538: recipe for target 'stream/stream_dvdnav.o' failed make[1]: *** [stream/stream_dvdnav.o] Error 1 make[1]: Leaving directory '/tmp/packerbuild-1000/mplayer2-build-git/mplayer2-build-git/src/mplayer2-build/mplayer' Makefile:2: recipe for target 'mplayer' failed make: *** [mplayer] Error 2 ==> ERROR: A failure occurred in build(). Aborting... The build failed. Any ideas on how to fix this?

sl1pkn07 commented on 2013-05-06 22:20 (UTC)

osd rendering fix in upstream

sl1pkn07 commented on 2013-04-29 04:59 (UTC)

Update: now uses Clang to build by default fix for fontconfig 2.10.92 OSD font rendering other minor changes greetings

sl1pkn07 commented on 2013-01-27 16:25 (UTC)

if have problems with libnut-git, remove with -Rdd and then update mplayer2-build-git sorry for inconveniences greetings

sl1pkn07 commented on 2013-01-25 01:24 (UTC)

thanks for the notice fixed

flecht commented on 2013-01-24 23:41 (UTC)

I guess that with the latest changes to git, the patch is now obsolete.

timofonic commented on 2012-12-03 16:49 (UTC)

==> Making package: libbluray-git 20121203-1 (Mon Dec 3 17:47:42 CET 2012) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving Sources... ==> Extracting Sources... ==> Starting build()... ==> Connecting to GIT server... Cloning into 'libbluray'... remote: Counting objects: 767, done. remote: Compressing objects: 100% (433/433), done. remote: Total 767 (delta 498), reused 438 (delta 317) Receiving objects: 100% (767/767), 419.14 KiB | 517 KiB/s, done. Resolving deltas: 100% (498/498), done. ==> GIT checkout done or server timeout ==> Starting build... /tmp/packerbuild-0/libbluray-git/libbluray-git/PKGBUILD: line 38: /etc/profile.d/ No such file or directory The build failed. Dependencies for `mplayer2-build-git' are not met, not building...

yvesyang commented on 2012-05-19 04:00 (UTC)

ThX!It's OK.

sl1pkn07 commented on 2012-05-19 03:41 (UTC)

try now

yvesyang commented on 2012-05-19 03:05 (UTC)

fail to compile: …… Already up-to-date. Traceback (most recent call last): File "script/update", line 59, in <module> main() File "script/update", line 23, in main os.rename(p, 'libav') OSError: [Errno 2] No such file or directory ==> ERROR: A failure occurred in build(). Aborting...

sl1pkn07 commented on 2012-05-14 13:39 (UTC)

now change official mplayer2 to lachs0r's fork features: use quvi ( to play flash videos directly from mplayer and other patches greetings