From feb835ee2ee97864be3925f67142a19e6e5db482 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Sun, 16 Aug 2020 01:09:40 -0300 Subject: [PATCH] texlive: create libsynctex sub-package. Other packages can link against this library, and they don't need to pull in the whole texlive package. [ci skip] Closes: #24300 [via git-merge-pr] --- common/shlibs | 1 + srcpkgs/libsynctex | 1 + srcpkgs/texlive/template | 7 +++++++ 3 files changed, 9 insertions(+) create mode 120000 srcpkgs/libsynctex diff --git a/common/shlibs b/common/shlibs index 993b3d4c18b..a7126bc0a11 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3972,6 +3972,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 diff --git a/srcpkgs/libsynctex b/srcpkgs/libsynctex new file mode 120000 index 00000000000..c6cca627ba9 --- /dev/null +++ b/srcpkgs/libsynctex @@ -0,0 +1 @@ +texlive \ No newline at end of file diff --git a/srcpkgs/texlive/template b/srcpkgs/texlive/template index 0f7eaf24514..b472c31d752 100644 --- a/srcpkgs/texlive/template +++ b/srcpkgs/texlive/template @@ -338,6 +338,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"