Compare commits
4 Commits
9ba279265c
...
3cfdf7d151
| Author | SHA1 | Date | |
|---|---|---|---|
| 3cfdf7d151 | |||
| 64442c5d41 | |||
| 3cc0f91766 | |||
| 610d35f80f |
27
installJRMC
27
installJRMC
@@ -846,14 +846,15 @@ installMCARCH() {
|
||||
url="http://www.jriver.com/"
|
||||
license=('custom')
|
||||
depends=('alsa-lib' 'gcc-libs' 'libx11' 'libxext' 'libxcb' 'libxau' 'libxdmcp' 'util-linux' 'libxext' 'gtk3')
|
||||
optdepends=('mesa-libgl: nouveau video support'
|
||||
'nvidia-libgl: nvidia video support'
|
||||
'nvidia-utils: nvidia vulkan support'
|
||||
'vulkan-intel: intel vulkan support'
|
||||
'vulkan-radeon: amd vulkan support'
|
||||
'vorbis-tools: ogg vorbis support'
|
||||
'musepack-tools: musepack support'
|
||||
)
|
||||
optdepends=(
|
||||
'mesa-libgl: nouveau video support'
|
||||
'nvidia-libgl: nvidia video support'
|
||||
'nvidia-utils: nvidia vulkan support'
|
||||
'vulkan-intel: intel vulkan support'
|
||||
'vulkan-radeon: amd vulkan support'
|
||||
'vorbis-tools: ogg vorbis support'
|
||||
'musepack-tools: musepack support'
|
||||
)
|
||||
source=("http://files.jriver.com/mediacenter/channels/v30/latest/MediaCenter-$MCVERSION-amd64.deb" 'License.txt')
|
||||
|
||||
package() {
|
||||
@@ -871,12 +872,12 @@ installMCARCH() {
|
||||
--force
|
||||
--install
|
||||
-p mediacenter.pkgbuild"
|
||||
#if ! exec ${makepkg_cmd}; then
|
||||
if ! exec "${makepkg_cmd}"; then
|
||||
|
||||
if ! eval "${makepkg_cmd}"; then
|
||||
echo "makepkg failed"
|
||||
exit
|
||||
fi
|
||||
#fi
|
||||
|
||||
popd &>/dev/null || return
|
||||
}
|
||||
|
||||
@@ -1682,8 +1683,8 @@ main() {
|
||||
if ! grep ^deb /etc/apt/sources.list|grep -q universe; then
|
||||
echo "Adding universe repository"
|
||||
declare add_universe_cmd="sudo add-apt-repository -y universe"
|
||||
#debug "$add_universe_cmd" || add_universe_cmd+=" &>/dev/null"
|
||||
if ! exec "$add_universe_cmd"; then
|
||||
debug "$add_universe_cmd" || add_universe_cmd+=" &>/dev/null"
|
||||
if ! eval "$add_universe_cmd"; then
|
||||
err "Adding universe repository failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user