Skip to content

Commit e4a276a

Browse files
committed
liblo: update to 0.34.
1 parent 869265c commit e4a276a

File tree

2 files changed

+36
-6
lines changed

2 files changed

+36
-6
lines changed

srcpkgs/liblo-doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
liblo

srcpkgs/liblo/template

Lines changed: 35 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,56 @@
11
# Template file for 'liblo'
22
pkgname=liblo
3-
version=0.32
3+
version=0.34
44
revision=1
55
build_style=gnu-configure
6+
make_check_args="-j1"
7+
hostmakedepends="autoconf automake libtool"
68
short_desc="Lightweight OSC implementation"
79
maintainer="Rutpiv <roger_freitas@live.com>"
810
license="LGPL-2.1-or-later"
911
homepage="https://liblo.sourceforge.net/"
10-
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
11-
checksum=5df05f2a0395fc5ac90f6b538b8c82bb21941406fd1a70a765c7336a47d70208
12-
make_check=no # Tests freeze or fail intermittently.
13-
nopie=yes
12+
distfiles="https://github.com/radarsat1/liblo/archive/${version}.tar.gz"
13+
checksum=e9a294c7613e1bec2abcf26f2010604643d605ed6852e16b51837400729fcbee
14+
15+
build_options="doc"
16+
desc_option_doc="Enable building documentation"
17+
build_options_default="doc"
18+
19+
subpackages="liblo-devel"
20+
21+
if [ "$build_option_doc" ]; then
22+
subpackages+=" liblo-doc"
23+
hostmakedepends+=" doxygen"
24+
configure_args+=" --enable-doc"
25+
else
26+
configure_args+=" --disable-doc"
27+
fi
1428

1529
pre_configure() {
30+
./autogen.sh --no-configure
1631
vsed -i '/-Werror/d' configure
1732
}
1833

34+
post_install() {
35+
if [ "$build_option_doc" ]; then
36+
vmkdir usr/share/doc/${pkgname}
37+
vcopy doc/html usr/share/doc/${pkgname}
38+
fi
39+
}
40+
1941
liblo-devel_package() {
2042
depends="${sourcepkg}>=${version}_${revision}"
2143
short_desc+=" - development files"
2244
pkg_install() {
2345
vmove usr/include
24-
vmove usr/lib/pkgconfig
2546
vmove "usr/lib/*.so"
47+
vmove usr/lib/pkgconfig
48+
}
49+
}
50+
51+
liblo-doc_package() {
52+
short_desc+=" - documentation"
53+
pkg_install() {
54+
vmove /usr/share/doc/${sourcepkg}
2655
}
2756
}

0 commit comments

Comments
 (0)