libgusb: update to 0.2.0.
This commit is contained in:
parent
9e760a71c1
commit
9fc3ca4243
1 changed files with 7 additions and 14 deletions
|
@ -1,17 +1,17 @@
|
|||
# Template file for 'libgusb'
|
||||
pkgname=libgusb
|
||||
version=0.1.6
|
||||
revision=3
|
||||
version=0.2.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libusb-devel libgudev-devel"
|
||||
configure_args="--disable-static $(vopt_enable gir introspection)"
|
||||
hostmakedepends="pkg-config $(vopt_if gir gobject-introspection)"
|
||||
makedepends="libglib-devel libusb-devel libgudev-devel"
|
||||
short_desc="GLib wrapper around libusb1"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="https://gitorious.org/gusb/"
|
||||
license="LGPL-2.1"
|
||||
distfiles="http://people.freedesktop.org/~hughsient/releases/$pkgname-${version}.tar.xz"
|
||||
checksum=900103ff24a851ef8395b992236ced0aedb4c265ef2264f6ad8349300095198b
|
||||
checksum=f5c6b7a8f5c8eba752eb7d050ab8f127f422f74e10ef53521bb6cfd849cf22d7
|
||||
|
||||
# Package build options
|
||||
build_options="gir"
|
||||
|
@ -21,15 +21,8 @@ if [ -z "$CROSS_BUILD" ]; then
|
|||
build_options_default="gir"
|
||||
fi
|
||||
|
||||
if [ "$build_option_gir" ]; then
|
||||
configure_args+=" --enable-introspection"
|
||||
makedepends+=" gobject-introspection"
|
||||
else
|
||||
configure_args+=" --disable-introspection"
|
||||
fi
|
||||
|
||||
libgusb-devel_package() {
|
||||
depends="libudev-devel ${sourcepkg}-${version}_${revision}"
|
||||
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
|
|
Loading…
Add table
Reference in a new issue