Package Details: slimjet 28.0.3.0-1

Git Clone URL: https://aur.archlinux.org/slimjet.git (read-only, click to copy)
Package Base: slimjet
Description: Fast, smart and powerful browser based on Blink
Upstream URL: http://www.slimjet.com
Keywords: blink browser chromium web
Licenses: custom:freeware
Submitter: raininja
Maintainer: dalto
Last Packager: dalto
Votes: 30
Popularity: 0.064804
First Submitted: 2015-08-22 22:29
Last Updated: 2020-11-16 13:34

Latest Comments

1 2 3 4 5 6 ... Next › Last »

dalto commented on 2020-08-29 14:47

I overhauled the PKGBUILD pretty heavily. I brought the dependencies up to date, fixed the permissions issues where everything in opt was being set executable and removed a bunch of unused/unneeded misc stuff.

I tested it quite a bit but if anything is no longer working please let me know.

dalto commented on 2020-08-24 18:37

@TrialnError, yes, I never cleaned it up properly after I took it over. I will take a look at it this week.

TrialnError commented on 2020-08-24 18:22

Hi.
I noticed some quirks with this PKGBUILD.
Firstly provides and replaces should be removed from the PKGBUILD. The first one doesn't do anything and the latter is used wrongly in this case :)
Same goes for the makedepends line. I kinda understand why it was added (architecture specific sources and deps) but it isn't really a makedep of slimjet itself.
Extracting the source is something that should be done in the prepare-function. package() should only contain the instructions where stuff gets shoved into $pkgdir.
All points which can be read in the AUR Guidelines in the Arch wiki in case you're wondering if I'm telling the truth :D

Best regards

dalto commented on 2020-08-04 20:18

@twnaing, two comments.

  1. Wouldn't that force the proprietary codecs on everyone?
  2. Are you allowed to include an unofficial binary like that in an AUR package? I thought that was considered bad form.

twnaing commented on 2020-08-04 12:38

@dalto, with separate approach, ffmpeg code will be overwritten by slimjet package on every update.

Isn't it better to have latest (compatible) ffmpeg as another source?

# Maintainer: dalto <dalto[at]fastmail.com>
# Contributor: eagleeyetom <eagleeyetom@gmail.com>
# Original Maintainer: raininja <dandenkijin@gmail.com>
pkgname=slimjet
pkgver=27.0.5.0
pkgrel=1
pkgdesc="Fast, smart and powerful browser based on Blink"
arch=('i686' 'x86_64')
url="http://www.slimjet.com"
license=('custom:freeware')
depends=('alsa-lib' 'desktop-file-utils' 'flac' 'gconf' 'gtk2' 'harfbuzz' 'harfbuzz-icu' 'hicolor-icon-theme'
         'icu' 'libpng' 'libxss' 'libxtst' 'nss' 'openssl' 'nspr' 'opus' 'snappy' 'speech-dispatcher' 'ttf-font' 'xdg-utils')
optdepends=('kdialog: needed for file dialogs in KDE' 'ttf-liberation: fix fonts for some PDFs')
makedepends=('pacman>=4.2.0')
provides=('slimjet')
options=('!emptydirs' '!strip')
replaces=('slimjet')
_channel=release
source=('LICENSE')
source_i686=("${pkgname}-${pkgver}_i386.deb::http://www.slimjet.com/${_channel}/${pkgname}_i386.deb" "https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.46.5/0.46.5-linux-ia32.zip")
source_x86_64=("${pkgname}-${pkgver}_amd64.deb::http://www.slimjet.com/${_channel}/${pkgname}_amd64.deb" "https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.46.5/0.46.5-linux-x64.zip")
md5sums=('e2f3d75bbf4ea8cef106adb30c6b4c83')
md5sums_i686=('SKIP' 'SKIP')
md5sums_x86_64=('SKIP' 'SKIP')


package() {
    msg2 "Extracting the data tarball..."
    bsdtar -xf data.tar.xz -C "$pkgdir/"

    msg2 "Correcting permissions..."
    chmod -R 0755 "$pkgdir/"

    _crypto_files="libnspr4.so.0d libplds4.so.0d libplc4.so.0d libssl3.so.1d libnss3.so.1d libsmime3.so.1d libnssutil3.so.1d"
    _libdir="/usr/lib"

    add_crypto_symlinks() {

      for f in $_crypto_files; do
        target=$(echo $f | sed 's/.[01]d$//')
        if [ -f "/$_libdir/$target" ]; then
            ln -snf "/$_libdir/$target" "$pkgdir/opt/slimjet/$f"
            else echo "CHECK NSS, OPENSSL, AND NSPR VERSIONS"
            exit 1
        fi
        done
    }

    add_license_note() {
        mkdir "$pkgdir/usr/share/licenses/"
        install  "/$srcdir/LICENSE" "$pkgdir/usr/share/licenses/${pkgname}"
    }

    # Arch has  libudev.so.1, slimjet wants .0
    _libudev_0=libudev.so.0
    _libudev_1=libudev.so.1

    add_udev_symlinks() {
        ln -snf "/$_libdir/$_libudev_1" "$pkgdir/opt/slimjet/$_libudev_0"
    }

    add_ffmpeg() {
        install "/$srcdir/libffmpeg.so" "$pkgdir/opt/slimjet/libffmpeg.so"
    }

    msg2 "Adding udev and crypto symlinks, and a LICENSE ..."
    add_udev_symlinks
    add_crypto_symlinks
    add_license_note

    msg2 "Installing ffmpeg"
    add_ffmpeg

    msg2 "Adding Icons..."
    for i in 16x16 22x22 24x24 32x32 48x48 64x64 128x128 256x256; do
        install -Dm644 "$pkgdir"/opt/slimjet/product_logo_${i/x*}.png \
                       "$pkgdir"/usr/share/icons/hicolor/$i/apps/flashpeak-slimjet.png
    done
}

dalto commented on 2020-07-15 20:07

I mean I am not sure I can explain it any better than it is explained in what you copied in.

It wants root access the first time it runs, you select the number for what you want to do.

abd commented on 2020-07-15 20:00

@dalto i don't understand it:
$ flashpeak-slimjet
Admin access is needed to enable the sandbox for enhanced security. Choose 'Use sudo command' if you have sudo access on systems like ubuntu. Choose 'Use su command' if you have access to root account. If you don't have admin access, select 'Quit' and add the switch '--no-sandbox' to run Slimjet without sandbox (less secure).
1) Use sudo command
2) Use su command
3) Quit
Please select an option to proceed:
Google chrome have exactly all these stuffs ?

dalto commented on 2020-07-15 14:43

@abd, if something isn't working you need to say what it is specifically for me to investigate it.

That being said, if something is failing to compile, it probably isn't this package but one of it's dependencies since this package is a binary.

Other than that, try running it from a terminal by typing flashpeak-slimjet

abd commented on 2020-07-15 14:13

Why did it not launch as compiled perfectly?

ed_o commented on 2020-06-14 20:47

The new MD5 for the amd64 version seems to be "fd2b45d1b88d5b1136a6302f4873bb21" → change it in the PKGBUILD if you are getting any errors!!