Package Details: leap-motion-sdk 2.3.1-4

Git Clone URL: https://aur.archlinux.org/leap-motion.git (read-only)
Package Base: leap-motion
Description: The Leap Motion Developer SDK
Upstream URL: https://developer.leapmotion.com/downloads
Licenses: custom
Submitter: robertfoster
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 32
Popularity: 0.002513
First Submitted: 2017-04-16 17:28
Last Updated: 2017-05-27 13:02

Latest Comments

1 2 3 4 Next › Last »

f00var commented on 2017-05-20 09:30

Changing the $pkgbase and extension var in this line

source=(Leap_Motion_SDK_Linux_${_major}.tgz.tgz::http://warehouse.$pkgbase.com/apps/4185/download

to $pkgbase=leapmotion fixes the download issue.

source=(Leap_Motion_SDK_Linux_${_major}.tgz::http://warehouse.leapmotion.com/apps/4185/download

The warehouse URL was changed from warehouse.leap-motion.com to warehouse.leapmotion.com

Muflone commented on 2017-04-17 10:13

@M0Rf30
I've just received another request to merge the leap-motion package into leap-motion-driver (and another into leap-motion-sdk).
Are you sure you want to delete the package leap-motion and move everything into leap-motion-driver package?

About the second request, we'll not have another package to move into leap-motion-sdk.

Are you sure about your request?

Muflone commented on 2017-04-09 22:51

@M0Rf30
I'm sorry but I've accepted your request to merge the package leap-motion into leap-motion-drive which is the opposite of what you really wanted.

So please submit again the leap-motion package and ask again to merge the leap-motion-driver into leap-motion. Do the same for leap-motion-sdk.

Nagasaki45 commented on 2017-03-17 01:22

The SDK is missing from dropbox, so this is currently broken.

gafalcon commented on 2017-01-16 17:05

Hi, cannot install this package I get the following error:
Starting package()...
/tmp/yaourt-tmp-gabo/aur-leap-motion-driver/./PKGBUILD: line 27: cd: too many arguments
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build leap-motion-driver.

quigybo commented on 2016-04-27 22:02

LeapControlPanel is linked against libxslt, thus it should be added to the dependencies.

ackalker commented on 2016-03-15 16:23

The udev rule for this driver set the device to read/write access for everyone, which is a security risk. Also the rule uses the group "plugdev", which normally does not exist in Arch Linux.

Please consider patching the rule to use systemd's uaccess mechanism for setting the proper permissions (based on the active seat and session the user is logged into).
I would suggest the following prepare() function (it also takes care of unpacking the nested tarball, which is the primary purpose of the prepare() function):

prepare() {
cd ${srcdir}/Leap_Motion_Installer_Packages_release_public_linux

if [ "$CARCH" == 'x86_64' ]; then
bsdtar xf Leap-${_major}+${_build}-x64.deb
else
bsdtar xf Leap-${_major}+${_build}-x86.deb
fi

bsdtar xf data.tar.xz

# Use systemd's user ACL to manage device access
sed -i -e 's/MODE="666", GROUP="plugdev"/TAG+="uaccess"/' lib/udev/rules.d/25-com-leapmotion-leap.rules
}

To test the patched rule:

$ lsusb | grep Leap
Bus 003 Device 006: ID f182:0003 Leap Motion Controller
$ loginctl seat-status | grep Leap
│ │ │ input:input17 "Leap Motion Controller"
│ │ video4linux:video0 "Leap Motion Controller"
$ ls -l /dev/video0 # Note the '+' at the end of the permission list, this indicates that an ACL has been applied
crw-rw----+ 1 root video 81, 0 Mar 15 17:17 /dev/video0
$ getfacl /dev/video0 # Here, "miki" is my username
getfacl: Removing leading '/' from absolute path names
# file: dev/video0
# owner: root
# group: video
user::rw-
user:miki:rw-
group::rw-
mask::rw-
other::---

ackalker commented on 2016-02-05 15:51

@M0Rf30, @hckr
There is no need to parse output from http://.../download URL in PKGBUILD.

Simply follow these steps (note: this is for the driver only, the SDK requires a user to sign-up with Leap Motion as well as signing a separate licence agreement before access):

- Browse to Official setup URL: https://www.leapmotion.com/setup
- Hover mouse over big LINUX DOWNLOAD button and note the link URL in browser status (likely to change on every version update)
- Download redirection snippet (replace with link above)
$ curl https://warehouse.leapmotion.com/apps/4186/download
- Note filename at end of <a href="">...</a>, e.g.:
Leap_Motion_Setup_Linux_2.3.1.tgz
- Modify _major var and source array in PKGBUILD:
- _major=2.3.1
source=(Leap_Motion_Setup_Linux_$_major.tgz::https://warehouse.leapmotion.com/apps/4186/download
... )

Makepkg download client handling will take care of the rest.
Please, do not refer the source URL to a DropBox folder.

Nagasaki45 commented on 2016-01-15 10:51

Just sent a pull request to fix the issue as DevPump suggested:
https://github.com/M0Rf30/PKGBUILD/pull/4

Nautigsam commented on 2015-09-21 12:20

You can modify the PKGBUILD like this:

_major=2.3.1
_build=31549

first source: https://www.dropbox.com/s/februky392wtyvm/Leap_Motion_SDK_Linux_2.3.1.tgz?dl=0

first MD5 sum: d9facdfed290823d3a5358ca5077e883

But i hope that the maintainer will update in a more proper way!