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

Git Clone URL: https://aur.archlinux.org/mplayer2-build-git.git (read-only, click to copy)
Package Base: mplayer2-build-git
Description: A movie player for linux (uses statically linked libav). (GIT version)
Upstream URL: http://www.mplayer2.org/
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: 2023-10-16 15:19 (UTC)

Required by (112)

Sources (17)

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

https://github.com/archlinux/svntogit-packages/blob/packages/pacman/trunk/makepkg.conf#L94

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')
    source=('mplayer2-2.0.tar.xz::https://www.dropbox.com/s/8vv627lsfh4l9sn/mplayer2-2.0.tar.xz?dl=0'
-   'git+http://repo.or.cz/mplayer2-build.git'
-   'git+http://repo.or.cz/mplayer2.git'
-   'libav::git://repo.or.cz/FFMpeg-mirror/mplayer-patches.git'
+   'git+https://repo.or.cz/mplayer2-build.git'
+   'git+https://repo.or.cz/mplayer2.git'
+   'libav::git+https://repo.or.cz/FFMpeg-mirror/mplayer-patches.git'

-   'patch-libmpcodecs-vd_theora.patch::https://svnweb.freebsd.org/ports/head/multimedia/mplayer2/files/patch-libmpcodecs-vd_theora.c?view=co'
-   'patch-libmpdemux-demux_ogg.patch::https://svnweb.freebsd.org/ports/head/multimedia/mplayer2/files/patch-libmpdemux-demux_ogg.c?view=co'
-   'patch-libvo_vo_giflib.patch::https://svnweb.freebsd.org/ports/head/multimedia/mplayer2/files/patch-libvo_vo_gif89a.c?view=co'
-   'patch-libmpdemux-demux_gif.patch::https://svnweb.freebsd.org/ports/head/multimedia/mplayer2/files/patch-libmpdemux-demux_gif.c?view=co'
+   'patch-libmpcodecs-vd_theora.patch::https://svnweb.freebsd.org/ports/branches/2017Q1/multimedia/mplayer2/files/patch-libmpcodecs-vd_theora.c?view=co'
+   'patch-libmpdemux-demux_ogg.patch::https://svnweb.freebsd.org/ports/branches/2017Q1/multimedia/mplayer2/files/patch-libmpdemux-demux_ogg.c?view=co'
+   'patch-libvo_vo_giflib.patch::https://svnweb.freebsd.org/ports/branches/2017Q1/multimedia/mplayer2/files/patch-libvo_vo_gif89a.c?view=co'
+   'patch-libmpdemux-demux_gif.patch::https://svnweb.freebsd.org/ports/branches/2017Q1/multimedia/mplayer2/files/patch-libmpdemux-demux_gif.c?view=co'
    )

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?