libutf8proc: stop moving headers to subdirectory.
This was done in 4099097381b41a99e27fafa62d13aa9a5ccd6ec2, likely because netsurf includes utf8proc headers as <libutf8proc/utf8proc.h> rather than <utf8proc.h>, as other applications do. Unfortunately, this also made it so any application using utf8proc also had to be passed custom CFLAGS, because the pkg-config file specified the include dir to be /usr/include rather than /usr/include/libutf8proc. Since a move to JuliaLang's utf8proc is likely, modernizing the package ahead of that change also makes sense.
This commit is contained in:
parent
b3f8c17e26
commit
07e9866649
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'libutf8proc'
|
# Template file for 'libutf8proc'
|
||||||
pkgname=libutf8proc
|
pkgname=libutf8proc
|
||||||
version=2.4.0
|
version=2.4.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DBUILD_SHARED_LIBS=ON"
|
configure_args="-DBUILD_SHARED_LIBS=ON"
|
||||||
hostmakedepends="pkg-config perl netsurf-buildsystem"
|
hostmakedepends="pkg-config perl netsurf-buildsystem"
|
||||||
@ -17,10 +17,6 @@ post_install() {
|
|||||||
sed "s|@VERSION@|${version}|" \
|
sed "s|@VERSION@|${version}|" \
|
||||||
${FILESDIR}/libutf8proc.pc.in > ${DESTDIR}/usr/lib/pkgconfig/libutf8proc.pc
|
${FILESDIR}/libutf8proc.pc.in > ${DESTDIR}/usr/lib/pkgconfig/libutf8proc.pc
|
||||||
|
|
||||||
# Fix headers
|
|
||||||
vmkdir usr/include/libutf8proc
|
|
||||||
mv ${DESTDIR}/usr/include/utf8proc.h ${DESTDIR}/usr/include/libutf8proc/
|
|
||||||
|
|
||||||
vlicense LICENSE.md
|
vlicense LICENSE.md
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user