|
Lines 34-40
Link Here
|
| 34 |
S=${WORKDIR}/makemkv-oss-${PV} |
34 |
S=${WORKDIR}/makemkv-oss-${PV} |
| 35 |
|
35 |
|
| 36 |
src_prepare() { |
36 |
src_prepare() { |
| 37 |
epatch "${FILESDIR}"/${P}-makefile.linux.patch |
37 |
epatch "${FILESDIR}"/{${PN}-path,${P}-makefile.linux}.patch |
| 38 |
} |
38 |
} |
| 39 |
|
39 |
|
| 40 |
src_configure() { |
40 |
src_configure() { |
|
Lines 62-67
Link Here
|
| 62 |
into /opt |
62 |
into /opt |
| 63 |
dobin out/makemkv |
63 |
dobin out/makemkv |
| 64 |
|
64 |
|
|
|
65 |
# setup libaacs/libbdplus emulation |
| 66 |
for LIB in libaacs libbdplus; do |
| 67 |
dosym ../libmmbd.so /usr/$(get_libdir)/${PN}/${LIB}.so.0 |
| 68 |
dosym ${LIB}.so.0 /usr/$(get_libdir)/${PN}/${LIB}.so |
| 69 |
done |
| 70 |
|
| 65 |
local res |
71 |
local res |
| 66 |
for res in 16 22 32 64 128; do |
72 |
for res in 16 22 32 64 128; do |
| 67 |
newicon -s ${res} makemkvgui/share/icons/${res}x${res}/makemkv.png ${PN}.png |
73 |
newicon -s ${res} makemkvgui/share/icons/${res}x${res}/makemkv.png ${PN}.png |
|
Lines 103-108
Link Here
|
| 103 |
elog "If this is a new install, remember to copy the default profile" |
109 |
elog "If this is a new install, remember to copy the default profile" |
| 104 |
elog "to the config directory:" |
110 |
elog "to the config directory:" |
| 105 |
elog "cp /usr/share/MakeMKV/default.mmcp.xml ~/.MakeMKV/" |
111 |
elog "cp /usr/share/MakeMKV/default.mmcp.xml ~/.MakeMKV/" |
|
|
112 |
elog "" |
| 113 |
elog "MakeMKV can also act as a drop-in replacement for libaacs and" |
| 114 |
elog "libbdplus, allowing transparent decryption of a wider range of" |
| 115 |
elog "titles under players like VLC and mplayer. To enable this, set" |
| 116 |
elog "the following variable when launching the player:" |
| 117 |
elog "LD_LIBRARY_PATH=/usr/$(get_libdir)/${PN}" |
| 106 |
} |
118 |
} |
| 107 |
|
119 |
|
| 108 |
pkg_postrm() { gnome2_icon_cache_update; } |
120 |
pkg_postrm() { gnome2_icon_cache_update; } |