diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-17 04:04:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-17 04:04:27 +0100 |
commit | 8796aaedb3257bbe4d80b0033408b2210b2259d6 (patch) | |
tree | 1ffee2ca4a87bd5dba43077259c000f9086fbfc8 /x11-libs | |
parent | 61a1cada8ceb208845fa604b982216b0a7b099cb (diff) |
gentoo auto-resync : 17:10:2024 - 04:04:26
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/Manifest.gz | bin | 17876 -> 17874 bytes | |||
-rw-r--r-- | x11-libs/gl2ps/Manifest | 1 | ||||
-rw-r--r-- | x11-libs/gl2ps/gl2ps-1.4.2-r1.ebuild | 54 |
3 files changed, 55 insertions, 0 deletions
diff --git a/x11-libs/Manifest.gz b/x11-libs/Manifest.gz Binary files differindex b5741672ef1e..90d204fcccd1 100644 --- a/x11-libs/Manifest.gz +++ b/x11-libs/Manifest.gz diff --git a/x11-libs/gl2ps/Manifest b/x11-libs/gl2ps/Manifest index f2adbc9ef5b9..ab142b855ef1 100644 --- a/x11-libs/gl2ps/Manifest +++ b/x11-libs/gl2ps/Manifest @@ -1,4 +1,5 @@ AUX gl2ps-1.4.2-cmake.patch 1959 BLAKE2B 28725bdca4ec50c4cdb19100d30d3af4fe5705709b0aad92c79ca9d732da862170d922e037da29a43e174bf16b773d9ec73c2034a5f67803dd9e3c97dbc2f4d5 SHA512 a76a7649e8b2b62de6669f1bf1d3f4797708ae659ba8cdf9b3da21319dbc56035876d1b233c5b8934ee93a6b3d1b6562376734c6ef1da8764910a30b8849fe17 DIST gl2ps-1.4.2.tgz 301134 BLAKE2B 43c93f93d09dd7a6af0711819647f5f82c0853a80822dbc600b7502f2c86612f5cb2edc31729c67abbab44cc8fec7aa1fa7e13f0d115b0d79c7a7d45fa1a3079 SHA512 46652e1b3825ace61dbd77c4b0bf451e7671c248eb18bbd3369e2fac00056ea4cd5d2578561984313c239e3b02f78b9d9a76d963c935af65a13bc2abfc538620 +EBUILD gl2ps-1.4.2-r1.ebuild 1207 BLAKE2B bf839ce7740368be322ec95bcb95290be6a2ba7327eb673671acaff02034b370a5411f07c88ad8b97d23568a8772449d2ed84d846b8765ba0ed73aafb1406419 SHA512 3e5f4963739552d5ae62ef885dddbee1ca5c8413fee3932b81373f2a18472271a03a928229d267eb83ee2ccd22e4a77c789d98a4e79a723d8b04cd4e1df8523e EBUILD gl2ps-1.4.2.ebuild 1182 BLAKE2B 11401014d92ec04d8aa447320608da82a4cba53a080871a27998758f23b104b1ecbe6f807ef707d21a59947d3b6f56f924bb9d9dd6461d8ed1b5c5f49f85cf1a SHA512 fac3705e3bdbc93485c4a0a7d69660b47680ed030e229f9239ecdd41a9e185218ef0f5c6d01852bf2c902ab93648e6da3fc276c5b4b42acf669da274417230a1 MISC metadata.xml 723 BLAKE2B 0223a2e0e304553ad5e16e22903ce5670b4136a444019b21bae423c8581ca6e779e0013096d0ea454838ead573282ba25dfd49d2bd010728a1ffd49465771d59 SHA512 0f9381190163456996ae79eea45bfc51294d53bf71c9ef5ec1dd140194f913a2d7c826a6135c35b0e889373c0ba0b2e59d691f84ccf8c96fafb35aa64ad431d5 diff --git a/x11-libs/gl2ps/gl2ps-1.4.2-r1.ebuild b/x11-libs/gl2ps/gl2ps-1.4.2-r1.ebuild new file mode 100644 index 000000000000..457bb278a4fe --- /dev/null +++ b/x11-libs/gl2ps/gl2ps-1.4.2-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake + +DESCRIPTION="OpenGL to PostScript printing library" +HOMEPAGE="https://www.geuz.org/gl2ps/" +SRC_URI="https://geuz.org/${PN}/src/${P}.tgz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="doc png zlib" + +RDEPEND=" + media-libs/libglvnd + png? ( media-libs/libpng:0= ) + zlib? ( sys-libs/zlib ) +" +DEPEND="${RDEPEND} + doc? ( + dev-tex/tth + dev-texlive/texlive-latex + dev-texlive/texlive-latexrecommended + ) +" + +PATCHES=( "${FILESDIR}"/${PN}-1.4.2-cmake.patch ) + +src_prepare() { + cmake_src_prepare + sed '/^install.*TODO\.txt/d' -i "${S}"/CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" + -DENABLE_DOC="$(usex doc)" + -DENABLE_PNG="$(usex png)" + -DENABLE_ZLIB="$(usex zlib)" + -DOpenGL_GL_PREFERENCE=GLVND + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + if [[ ${CHOST} == *-darwin* ]] ; then + install_name_tool \ + -id "${EPREFIX}"/usr/$(get_libdir)/libgl2ps.dylib \ + "${D}${EPREFIX}"/usr/$(get_libdir)/libgl2ps.dylib || die + fi +} |