summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSean Greenslade2017-10-06 21:47:40 -0700
committerSean Greenslade2017-10-06 21:47:40 -0700
commitd56c65b00079d17eb64cb57b86148c1454315f54 (patch)
treec2b03f527fc8e1c97360e244de9cc0a22f883965 /PKGBUILD
parentd23902c7800a35e46ad51631f3318f9a17e5dc78 (diff)
downloadaur-ros-kinetic-usb-cam.tar.gz
New pkg, needed patch to work with recent libav.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 91b600da1c5..b7a14335a59 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -39,8 +39,15 @@ depends=(${ros_depends[@]}
# Tarball version (faster download)
_dir="usb_cam-release-release-kinetic-usb_cam-${pkgver}-${_pkgver_patch}"
-source=("${pkgname}-${pkgver}-${_pkgver_patch}.tar.gz"::"https://github.com/ros-gbp/usb_cam-release/archive/release/kinetic/usb_cam/${pkgver}-${_pkgver_patch}.tar.gz")
-sha256sums=('43d0e60d5ed77191015411fbf3d0485f34dc2e2f6d3c60fc574f25c587c7c06b')
+source=("${pkgname}-${pkgver}-${_pkgver_patch}.tar.gz"::"https://github.com/ros-gbp/usb_cam-release/archive/release/kinetic/usb_cam/${pkgver}-${_pkgver_patch}.tar.gz"
+ "libav_defines.patch")
+sha256sums=('43d0e60d5ed77191015411fbf3d0485f34dc2e2f6d3c60fc574f25c587c7c06b'
+ '908f11fc5b1020a39fac9d4d4924be49023ee66ad701333979cbb612c035000e')
+
+prepare() {
+ cd ${srcdir}
+ patch -p1 -i "libav_defines.patch"
+}
build() {
# Use ROS environment variables