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 (121)

Sources (16)

Latest Comments

1 2 3 Next › Last »

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 2023-08-26 20:06 (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?