So applying dodgy unconventional methods I worked around the gstreamer-0.10 compiling issues that would seem to have existed for the last 4 years by directly linking against steam's Linux Runtime which includes the libraries.
This could use some improvement, but I am able to load the program and it didn't crash, I might have missed a simlink or two, be sure to run the program directly and note any output /usr/bin/AfterShot3X64
-- seems to run just fine.
mkdir ~/builds
cd ~/builds
wget https://aur.archlinux.org/cgit/aur.git/snapshot/aftershotpro3.tar.gz
tar -xzvf aftershotpro3.tar.gz
cd ~/builds/aftershotpro3
vim ~/builds/aftershotpro3/PKGBUILD
# Maintainer: ava1ar <mail@ava1ar.me>
pkgname=aftershotpro3
pkgver=3.7.0.446
pkgrel=1
pkgdesc="Professional Workflow and RAW Conversion (3rd version)"
url="http://www.aftershotpro.com/en/products/aftershot/pro"
arch=('x86_64')
license=('custom')
depends=('steam' 'steam-native-runtime' 'gstreamer' 'ocl-icd')
optdepends=('opencl-nvidia' 'opencl-mesa' 'opencl-catalyst')
source=(AfterShotPro_${pkgver}.rpm::http://dwnld.aftershotpro.com/trials/3/AfterShotPro3.rpm license.txt)
sha1sums=('772b1db13ac93cf9c164b82394de3df10add4cf5'
'564fa56309798c82852e25f204f75834ebcf08fd')
package() {
# create directory
mkdir -p "${pkgdir}/usr/bin"
# copy rpm content
mv "${srcdir}/opt" "${pkgdir}/"
install -d "${pkgdir}/usr/share"
# binaries
mv "${srcdir}/usr/bin" "${pkgdir}/usr/"
# desktop launchers
mv "${srcdir}/usr/share/applications" "${pkgdir}/usr/share/"
# pixmaps
mv "${srcdir}/usr/share/pixmaps" "${pkgdir}/usr/share/"
# -
install -d "${pkgdir}/usr/share/mime/packages/"
# packages
mv "${srcdir}/usr/share/mime/packages" "${pkgdir}/usr/share/mime/"
# install license
install -Dm644 "license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
# create directory
mkdir -p "${pkgdir}/opt/AfterShot3(64-bit)/lib/"
# bypass `gstreamer0.10-base` dependency by linking directly against steam which includes "steam linux runtimes"
# !! note !! this links against "Steam Runtime" which is in the user directory -- only really a tempfix !!
ln -s "$HOME/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0" "${pkgdir}/opt/AfterShot3(64-bit)/lib/libgstreamer-0.10.so.0"
ln -s "$HOME/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libgstbase-0.10.so.0" "${pkgdir}/opt/AfterShot3(64-bit)/lib/libgstapp-0.10.so.0"
ln -s "$HOME/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libgstinterfaces-0.10.so.0" "${pkgdir}/opt/AfterShot3(64-bit)/lib/libgstinterfaces-0.10.so.0"
ln -s "$HOME/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libgstpbutils-0.10.so.0" "${pkgdir}/opt/AfterShot3(64-bit)/lib/libgstpbutils-0.10.so.0"
ln -s "$HOME/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libgstvideo-0.10.so.0" "${pkgdir}/opt/AfterShot3(64-bit)/lib/libgstvideo-0.10.so.0"
}
:wq!
makepkg -si
Pinned Comments