You are not logged in.
Hi, I'm making a pkgbuild for the Vidiot video editor but I have some concerns
The project page is https://sourceforge.net/projects/vidiot/
This is the pkgbuild I created.
pkgname=vidiot-bin
pkgver=0.3.35
pkgrel=1
pkgdesc="Non-linear video editor targeted for home video editing"
arch=('x86_64')
url="https://sourceforge.net/projects/vidiot"
depends=('ffmpeg>=4.2.2' 'portaudio>=19' 'gtk3>=3.24' 'boost-libs>=1.71')
license=('GPL3')
source=("$url/files/Vidiot-$pkgver-i386.tar.gz")
sha256sums=('b1ab02912f79cc95106fee82ba1784c94a22fd5716d633d37c1cda92f7d5c8ce')
provides=('vidiot')
conflicts=('vidiot')
package() {
cd Vidiot-$pkgver-i386
# install binary
install -Dm755 bin/vidiot "$pkgdir"/usr/bin/vidiot
# install launcher
install -Dm755 share/applications/vidiot.desktop "$pkgdir"/usr/share/applications/vidiot.desktop
# install icons
for size in 16 32 48 128 256; do
install -Dm644 share/icons/hicolor/${size}x$size/mimetypes/application-vidiot.png "$pkgdir"/usr/share/icons/hicolor/${size}x$size/mimetypes/application-vidiot.png
done
# install man page
install -Dm644 share/man/man1/vidiot.1.gz "$pkgdir"/usr/share/man/man1/vidiot.1.gz
# install mime package
install -Dm644 share/mime/packages/vidiot.xml "$pkgdir"/usr/share/mime/packages/vidiot.xml
# install application files
find share/vidiot -type f -exec install -Dm644 "{}" "$pkgdir/usr/{}" \;
mkdir "$pkgdir"/usr/lib
# link older version of libboost to newest version
ln -s /usr/lib/libboost_thread.so "$pkgdir"/usr/lib/libboost_thread.so.1.71.0
ln -s /usr/lib/libboost_serialization.so "$pkgdir"/usr/lib/libboost_serialization.so.1.71.0
}
Now, the arch wiki says
Avoid using specific mirrors (e.g. on sourceforge) to download, as they might become unavailable
but is it still valid? Alternatively, I could download the source from osdn, but it would still be a "specific mirror"
Also, can you tell me if the workaround for libboost is allowed?
Thanks!!
Offline
That PKGBUILD isn't downloading from a specific mirror, so the wiki quote doesn't apply. It's downloading from sourceforge, which then forwards you to a specific mirror, which is exactly what the wiki tells you to do.
No, that boost "workaround" is really, really bad and you should never consider doing it. If you have to have that specific version of boost, you need to install that specific version of boost. It's in the AUR, but unfortunately isn't in good shape and will cause more problems. Tell the maintainer to get rid of the conflicts/provides completely. Until it's co-installable with boost/boost-libs, don't try to use it.
Last edited by Scimmia (2021-12-22 13:42:42)
Offline
ok thx I guess I'll just abandon the program, never mind
Offline