diff --git a/media-libs/fcft/Manifest b/media-libs/fcft/Manifest new file mode 100644 index 0000000..97090a5 --- /dev/null +++ b/media-libs/fcft/Manifest @@ -0,0 +1,4 @@ +DIST fcft-2.3.2.tar.gz 313133 BLAKE2B d0df73b581188db803e3ff55049543e31c316f5e0896fe62a4fe23b64e699c1b3d1a192f93a7fa78fe0cfa0e4ae9ca0816bfb8ec5d2579608aeeab4363e3cfe2 SHA512 b582ffb4541c7b906390ff7e43deee75554c790ac76613bb60511bdc8135fe0f1bd4c1f5056f559850aff75449e9f1c03ab6779341c6e4891e7da28c5d3c3341 +EBUILD fcft-2.3.2.ebuild 893 BLAKE2B a2a8241701919f703790b7abe9bb1144d294f123896adb248d8e1454b6ff5b04bdc33e175f28d0a146013807831733991c97c04aa5799fccf3af6883ed5d732f SHA512 49cf66f35b6b7442d2e2bc923fc37dd1c98e13d5afab1b8e2292af127b8ceac5b0e961a36c64934875881a28483702074ca4d1413ea6fd844a805734ca2dc523 +EBUILD fcft-9999.ebuild 893 BLAKE2B a2a8241701919f703790b7abe9bb1144d294f123896adb248d8e1454b6ff5b04bdc33e175f28d0a146013807831733991c97c04aa5799fccf3af6883ed5d732f SHA512 49cf66f35b6b7442d2e2bc923fc37dd1c98e13d5afab1b8e2292af127b8ceac5b0e961a36c64934875881a28483702074ca4d1413ea6fd844a805734ca2dc523 +MISC metadata.xml 318 BLAKE2B 1a3fd39a7b4d7c3574d9b2012819604b4cec9729edcb4f0e66a65f912859395fa3589645ea8bd4d7e4ecf8065bf513820c1f4d8da6aa5fabf8214ca2058d0c23 SHA512 55656aedd2a9a7af74b5c6ac07e847183b4736c585b1444a77b87cd3c809d21c83e0216fe0f971e42ed5fb0467f1561dc64b4aa199be366146a16bb26b0edbe7 diff --git a/media-libs/fcft/fcft-2.3.2.ebuild b/media-libs/fcft/fcft-2.3.2.ebuild new file mode 100644 index 0000000..ea744d7 --- /dev/null +++ b/media-libs/fcft/fcft-2.3.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +if [[ ${PV} != *9999* ]]; then + SRC_URI="https://codeberg.org/dnkl/fcft/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}" +else + inherit git-r3 + EGIT_REPO_URI="https://codeberg.org/dnkl/fcft.git" +fi + +DESCRIPTION="A simple library for font loading and glyph rasterization" +HOMEPAGE="https://codeberg.org/dnkl/fcft" +LICENSE="MIT" +SLOT="0" +IUSE="+text-shaping" + +DEPEND=" + dev-libs/tllist + media-libs/fontconfig + media-libs/freetype + text-shaping? ( media-libs/harfbuzz ) + x11-libs/pixman +" +RDEPEND="${DEPEND}" +BDEPEND=" + >=dev-util/meson-0.54.0 +" + +src_configure() { + local emesonargs=( + $(meson_feature text-shaping) + ) + meson_src_configure +} + +src_install() { + meson_src_install + mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" +} diff --git a/media-libs/fcft/fcft-9999.ebuild b/media-libs/fcft/fcft-9999.ebuild new file mode 100644 index 0000000..ea744d7 --- /dev/null +++ b/media-libs/fcft/fcft-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +if [[ ${PV} != *9999* ]]; then + SRC_URI="https://codeberg.org/dnkl/fcft/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}" +else + inherit git-r3 + EGIT_REPO_URI="https://codeberg.org/dnkl/fcft.git" +fi + +DESCRIPTION="A simple library for font loading and glyph rasterization" +HOMEPAGE="https://codeberg.org/dnkl/fcft" +LICENSE="MIT" +SLOT="0" +IUSE="+text-shaping" + +DEPEND=" + dev-libs/tllist + media-libs/fontconfig + media-libs/freetype + text-shaping? ( media-libs/harfbuzz ) + x11-libs/pixman +" +RDEPEND="${DEPEND}" +BDEPEND=" + >=dev-util/meson-0.54.0 +" + +src_configure() { + local emesonargs=( + $(meson_feature text-shaping) + ) + meson_src_configure +} + +src_install() { + meson_src_install + mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" +} diff --git a/media-libs/fcft/metadata.xml b/media-libs/fcft/metadata.xml new file mode 100644 index 0000000..96b10f8 --- /dev/null +++ b/media-libs/fcft/metadata.xml @@ -0,0 +1,11 @@ + + + + +flewkey@2a03.party +Ryan Fox + + +Support text shaping using HarfBuzz + +