Re: Question about packaging a library (AUR)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Jul 21, 2020 at 05:25:26PM +0200, Dominik Schrempf via arch-general wrote:
> Do you know an appropriate way to deal with such cases? Is it
> preferable to install the executable in a separate folder alongside
> the library? For example, /opt/transcribe?

It seems your AUR package is distributing an executable blob anyway, so
packing the application into /opt/transcribe looks like the cleanest
solution to me. Into /usr/bin, install a solid wrapper that calls the
application instead, or if it works, a symlink.

If you look at the slackbuild from here

  https://git.slackbuilds.org/slackbuilds/plain/audio/transcribe/transcribe.SlackBuild

you'll see that maybe installing the .so file into the canonical
directory for gstreamer plugins might be the correct way to
"deconstruct" the distribution:

  if [ -e libgstvideosection.so ]; then
    mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/gstreamer-1.0
    install -m0755 libgstvideosection.so $PKG/usr/lib$LIBDIRSUFFIX/gstreamer-1.0
  fi

Perhaps you can get this to work analog to Slack on Arch. You already
have a dep gst-plugins-base-libs that provides /usr/lib/gstreamer-1.0.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux