in the checks.
Someone clearly did not read the autoconf documentation because
using the following functions with a function declaration inside
the body will end up declaring a function inside a function.
- AC_TRY_COMPILE( [], [ int main() { return 0; } ],
- AC_LANG_PROGRAM([[]], [[int main (void) { return 0; }]])],
- AC_TRY_LINK([], [int main (void) { return 0; }],
Result:
int
main ()
{
int main (void) { return 0; }
;
return 0;
}
nested functions is a gcc extension which is not supported by
clang.
test.c:4:17: error: function definition is not allowed here
int main (void) { return 0; }
^
1 error generated.
This causes tests to fail in the configure scripts resulting in
missing compile and link time flags from the builds.
This resulted in weird behaviour of several software, like gnome
hanging completely due to gtk+3 not being built properly.
This change intrudces the following fixes:
- remove int main() declaration from AC_TRY_COMPILE, AC_LANG_PROGRAM, AC_TRY_LINK
as it comes with a declaration already, and people misused them
- change to use AC_LANG_SOURCE when needed in case a complete source block is specified
Most of the changes are in configure.(ac|in), however there were some cases
where autoconf is either broken or the build failed because of an autoconf
generated configure script. Everytihng else is switched to autoconf, so
the maintainers can go ahead and upstream these diffs.
There are more to come, we are continously checking the tree for these issues
and in the future the infrastructure will error if such a case is found.
they're not needed for build and it's nice to avoid ffmpeg's relatively
large set of deps where not needed (less pkg_add/delete churn in dpb).
Keep the p5-* ones and adjust do-build slightly; they're not strictly
required for packaging, but it's easier to pick up dependency changes
if build can be made to fail. Discussed with/ok nigel@
Problem tracked down by zhuk@, I changed how the flag was passed in because
"--enable-optimization=1" meaning "add -O1 to CXXFLAGS" is a bit non-obvious
ok zhuk@
into a video player.
with and ok nigel@
Streamlink is a command-line utility that pipes video streams from
various services into a video player, such as VLC. The main purpose of
Streamlink is to allow the user to avoid buggy and CPU heavy flash
plugins but still be able to enjoy various streamed content. There is
also an API available for developers who want access to the video stream
data. This project was forked from Livestreamer, which is no longer
maintained.
Streamlink is built upon a plugin system which allows support for new
services to be easily added. Currently most of the big streaming
services are supported, such as:
* Dailymotion
* Livestream
* Twitch
* UStream
* YouTube Live
and many more.