diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
commit | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch) | |
tree | 4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /gnustep-base/gnustep-back-art | |
parent | e748ba9741f6540f4675c23e3e37b73e822c13a4 (diff) |
gentoo resync : 15.06.2021
Diffstat (limited to 'gnustep-base/gnustep-back-art')
-rw-r--r-- | gnustep-base/gnustep-back-art/Manifest | 2 | ||||
-rw-r--r-- | gnustep-base/gnustep-back-art/gnustep-back-art-0.29.0.ebuild | 82 |
2 files changed, 84 insertions, 0 deletions
diff --git a/gnustep-base/gnustep-back-art/Manifest b/gnustep-base/gnustep-back-art/Manifest index 12bfbca92fbf..11ac75e134e0 100644 --- a/gnustep-base/gnustep-back-art/Manifest +++ b/gnustep-base/gnustep-back-art/Manifest @@ -1,3 +1,5 @@ DIST gnustep-back-0.28.0.tar.gz 973776 BLAKE2B c82792d9c2af45a3a81e1e40c9b0afe7b4dde7846cf4e593ec2f3e816196a321efba2d0d40d14795eed01681845bc6b5d75e8828c689961b6ba2db6de5231568 SHA512 9befc654ec431fe2a23baff2bfe848d7e4f32c58ecee877ca9606ba318ba470493469e28a5b3e37ca132f0f1262219ebd2755c3da7b26fbd1b66dddb1514d25c +DIST gnustep-back-0.29.0.tar.gz 1005485 BLAKE2B c117b29ca568d3751b1aa7e0baed49d517e77fb9e7b3ab332e422cac1892b9b33d81f4cce86826e69c65ba73926ae8b7abdcf1022613680f56739f2c5a688b53 SHA512 96efd09d4cd93796fc240e160be22879b6cc600f08c615dd0d349ce9591b91b8d2afbc18332dd03861f70ebcff86de975adf352d006f2b397fcdfcf395261f7f EBUILD gnustep-back-art-0.28.0.ebuild 2060 BLAKE2B a06b864d83186e9336bb54f63b6d539f1d07de6e2737a0f7f7de6bd43d48f56a519a9f5750907d936d178340b5f188e5d8cab10c4f9b5f8c6d0fcb57cbf47e23 SHA512 aec8008e635a64c27b8a5375e0dfef2f5670d7ea9af725bf0b826e21bb6379da740d5bb1e9e029e7ce01786c2df2c48bee6b264cff7e5e2f5c6800aad94515f8 +EBUILD gnustep-back-art-0.29.0.ebuild 2064 BLAKE2B e498d45c6093e52530d4a336df1da853edc7bb17e77f41a18d1c154d6f0aad69788284cc5ff5905d32529c928c1231e0494027bb3094685f6a94cda578437367 SHA512 e1c963a5413e77c21eff3a5f0829a74343f0237e0b1d8ea2e967edda7cdb90501c5406a4c7e980a3425a45424849e1f22bfaabb7a98876392b7d8340ce300bd8 MISC metadata.xml 1189 BLAKE2B 10dfa03030e2aa7412a4432eaa2c89727873fb6d567b30b112ebdc37099d14c120712b8632f50c692bd7079577b7dc43ecd0dfc9bc2c0b5bf491d32cbafb1360 SHA512 ab320e4962fcd3abcf36b6082cdf81e3e9cbd94408fa949569589a2880737e725a002b816c455cb61136f8a54e3f45b20fbfc59a52d7707f7fc443b11bbdddbc diff --git a/gnustep-base/gnustep-back-art/gnustep-back-art-0.29.0.ebuild b/gnustep-base/gnustep-back-art/gnustep-back-art-0.29.0.ebuild new file mode 100644 index 000000000000..62331cc1831b --- /dev/null +++ b/gnustep-base/gnustep-back-art/gnustep-back-art-0.29.0.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnustep-base + +DESCRIPTION="libart_lgpl back-end component for the GNUstep GUI Library" +HOMEPAGE="http://www.gnustep.org" +SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${PV}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="opengl xim" + +RDEPEND="${GNUSTEP_CORE_DEPEND} + =gnustep-base/gnustep-gui-${PV%.*}* + >=gnustep-base/mknfonts-0.5-r1 + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXi + x11-libs/libXmu + x11-libs/libXt + x11-libs/libXft + x11-libs/libXrender + media-fonts/dejavu + >=media-libs/freetype-2.1.9 + >=media-libs/libart_lgpl-2.3 + opengl? ( virtual/opengl virtual/glu ) + + !gnustep-base/gnustep-back-cairo + !gnustep-base/gnustep-back-xlib" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/gnustep-back-${PV} + +src_configure() { + egnustep_env + + myconf="$(use_enable opengl glx)" + myconf="$myconf $(use_enable xim)" + myconf="$myconf --enable-server=x11" + myconf="$myconf --enable-graphics=art" + + econf $myconf +} + +src_compile() { + gnustep-base_src_compile + + # Create font lists for DejaVu + einfo "Generating nfonts support files" + ( + cd Fonts + export "${GS_ENV[@]}" + ${GNUSTEP_SYSTEM_TOOLS}/mknfonts \ + $(fc-list : file|grep -v '\.gz'|cut -d: -f1) \ + || die "nfonts support files creation failed" + # Trim whitepsaces + for fdir in *\ */; do + mv "$fdir" `echo $fdir | tr -d [:space:]` + done + ) +} + +src_install() { + gnustep-base_src_install + + mkdir -p "${D}/${GNUSTEP_SYSTEM_LIBRARY}/Fonts" + cp -pPR Fonts/*.nfont "${D}/${GNUSTEP_SYSTEM_LIBRARY}/Fonts" +} + +gnustep_config_script() { + echo "echo ' * setting normal font to DejaVuSans'" + echo "defaults write NSGlobalDomain NSFont DejaVuSans" + echo "echo ' * setting bold font to DejaVuSans-Bold'" + echo "defaults write NSGlobalDomain NSBoldFont DejaVuSans-Bold" + echo "echo ' * setting fixed font to DejaVuSansMono'" + echo "defaults write NSGlobalDomain NSUserFixedPitchFont DejaVuSansMono" +} |