-
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
54 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
## Building (all platforms) | ||
|
||
If instead of using the precompiled plugin binaries you want to build Windows or OS X plugin binary yourself or for some reason Debian instructions don't work for you, you can follow these instructions on building the plugin. | ||
|
||
What these instructions sum up to is building VLC itself with the plugin integrated into its source tree / build system, so that the plugin would be built together with VLC. | ||
|
||
Git clone VLC: | ||
|
||
```sh | ||
git clone git://git.videolan.org/vlc.git | ||
``` | ||
|
||
Checkout the git tag that matches VLC version that you want to build the plugin for. You can use `git tag` to get a list of all tags available. As of writing this there is no tag for 3.0 version yet, so `master` branch should be used. For example, for 2.2.0 you would do: | ||
|
||
```sh | ||
cd vlc | ||
git checkout 2.2.0-git | ||
``` | ||
|
||
Add the plugin into the VLC build system by copying the appropriate version of `pause_click.c` (there are [vlc-2.1.x](/vlc-2.1.x) and [vlc-2.2.x+](/vlc-2.2.x+) versions) into `modules/video_filter/`. | ||
|
||
Add | ||
|
||
``` | ||
libpause_click_plugin_la_SOURCES = pause_click.c | ||
libpause_click_plugin_la_CFLAGS = $(AM_CFLAGS) | ||
libpause_click_plugin_la_LIBADD = $(AM_LIBADD) | ||
video_filter_LTLIBRARIES += libpause_click_plugin.la | ||
``` | ||
|
||
to the `Modules.am` or `Makefile.am` file, whichever is present in `modules/video_filter/`. | ||
|
||
Build VLC the way you would usually do so. There should be some instruction on VLC wiki, you should be able to google that. Note that you don't care for VLC itself, you just care for the plugin to be built, so if something fails your build and there is an option to disable that thing that is failing from being built -- there is no harm in doing so. | ||
|
||
After the build is done, you should have `libpause_click_plugin.dll` or `libpause_click_plugin.so` or `libpause_click_plugin.dylib` (the extension depends on the target platform) somewhere in `modules/video_filter/` of the build tree. That's the plugin binary that you want. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters