Skip to content

Commit

Permalink
texlive: create libsynctex sub-package.
Browse files Browse the repository at this point in the history
Other packages can link against this library, and they don't need to
pull in the whole texlive package.
  • Loading branch information
ericonr committed Aug 16, 2020
1 parent 01f8642 commit 7c0f52d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -3973,6 +3973,7 @@ libkpathsea.so.6 texlive-20200406_1
libtexluajit.so.2 texlive-LuaTeX-20200406_1
libtexlua53.so.5 texlive-LuaTeX-20200406_1
libptexenc.so.1 texlive-20200406_1
libsynctex.so.2 libsynctex-20200406_3
libdolphinvcs.so.5 dolphin-20.04.3_1
libcglm.so.0 cglm-0.7.6_1
libfcft.so.3 fcft-2.2.2_1
Expand Down
9 changes: 8 additions & 1 deletion srcpkgs/texlive/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'texlive'
pkgname=texlive
version=20200406
revision=2
revision=3
wrksrc="texlive-${version}-source"
build_wrksrc="build"
build_style=gnu-configure
Expand Down Expand Up @@ -335,6 +335,13 @@ texlive-Xdvi_package() {
}
}

libsynctex_package() {
short_desc+=" - libsynctex"
pkg_install() {
vmove usr/lib/libsynctex.so.*
}
}

texlive-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
Expand Down

0 comments on commit 7c0f52d

Please sign in to comment.