Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
openbsd [2019/05/24 17:45] – beandog | openbsd [2019/05/24 18:09] (current) – [bluray_info] beandog | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== OpenBSD ====== | ====== OpenBSD ====== | ||
+ | |||
+ | * Tested with OpenBSD 6.5 | ||
==== Installation ==== | ==== Installation ==== | ||
Line 14: | Line 16: | ||
pkg_add autoconf-2.69p2 automake-1.16.1 | pkg_add autoconf-2.69p2 automake-1.16.1 | ||
</ | </ | ||
+ | |||
+ | ==== dvd_info ==== | ||
Install runtime dependencies: | Install runtime dependencies: | ||
Line 20: | Line 24: | ||
pkg_add libdvdread | pkg_add libdvdread | ||
</ | </ | ||
- | |||
- | ==== dvd_info ==== | ||
Clone repo: | Clone repo: | ||
Line 35: | Line 37: | ||
./configure | ./configure | ||
make | make | ||
+ | doas make install | ||
</ | </ | ||
Line 41: | Line 44: | ||
==== bluray_info ==== | ==== bluray_info ==== | ||
- | Both libaacs and libbluray are in packages. Can't get bluray_info to compile. | + | Install libraries: |
< | < | ||
- | $ gcc -o bluray_info bluray_info.c bluray_video.c bluray_audio.c bluray_time.c -std=c99 -I/ | + | pkg_add libaacs |
- | / | + | |
- | bluray_info.c: | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | collect2: ld returned 1 exit status | + | |
</ | </ | ||
- | I can install libbluray from git, but it still doesn' | + | Clone repo: |
< | < | ||
- | git clone https://git.videolan.org/git/libbluray.git | + | git clone https://github.com/beandog/bluray_info |
</ | </ | ||
+ | |||
+ | Build with latest autoconf and automake versions: | ||
< | < | ||
- | git submodule update | + | AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.16 autoreconf |
+ | ./ | ||
+ | make | ||
+ | doas make install | ||
</ | </ | ||
+ | |||
+ | Run as normal! |