b8918e2a7d
+ Rename lua and lua-devel to lua52 and lua52-devel + Modify packages depending on lua52 accordingly: + Many packages auto-detect lua52 files + Some packages need hints where / how to find lua52 + One package (xmoto) downgraded to lua51, because it wouldn't find lua52 + One package (vim) upgraded to lua (5.3.1) There may be more packages upgradable without problems. I didn't want to change too much in this move without the respective package maintainers first taking a look. Most notably conky-cli wouldn't work with lua52. I upgraded it to 1.10.0 (same as conky) and tried to keep the flags the same for the change from gnu-configure to cmake.
32 lines
928 B
Bash
32 lines
928 B
Bash
# Template file for 'libquvi'
|
|
pkgname=libquvi
|
|
version=0.4.1
|
|
revision=7
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="lua52-devel libcurl-devel libquvi-scripts"
|
|
depends="libquvi-scripts>=${version}"
|
|
replaces="quvi<0.4.0"
|
|
short_desc="C library that can be used to parse flash media stream URLs"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="LGPL-2.1"
|
|
homepage="http://quvi.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/quvi/$pkgname-$version.tar.gz"
|
|
checksum=143c92b065b7ddc2ac87c4b9679ee99df0f1dccd2d0dbda15da0a54ae280dec8
|
|
|
|
pre_configure() {
|
|
sed -i configure -e 's;"lua >= 5.1";"lua5.2 >= 5.1";g'
|
|
}
|
|
|
|
libquvi-devel_package() {
|
|
depends="libcurl-devel lua52-devel>=5.2 libquvi>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
replaces="quvi-devel<0.4.0"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share
|
|
}
|
|
}
|