Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README: update build step and dependency #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Subdirectories:

= Building, installing =

Dependencies: cmake, libxml2, flex, bison, pkg-config
Dependencies: libarchive, lua, libxml2, flex, bison, pkg-config
Optional dependencies needed by nva: libpciaccess
Optional dependencies needed by vdpow: vdpau, libx11

Expand All @@ -32,14 +32,16 @@ corresponding to the dependencies above.

To build, use

$ cmake .
$ make
$ mkdir build
$ cd build
$ meson setup ..
$ meson compile

To install [which is optional], use

$ make install
$ meson install

If you want to install to a non-default directory, you'll also need to pass
it as an option to cmake before building, eg.:
If you want to install to a non-default directory, pass the directory with
--destdir:

$ cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr/local .
$ meson install --destdir DESTDIR