Skip to content

Commit

Permalink
gnustep-base/gnustep-back-art: version bump
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.0
  • Loading branch information
voyageur committed Jul 20, 2016
1 parent 49f83ee commit d701508
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 0 deletions.
1 change: 1 addition & 0 deletions gnustep-base/gnustep-back-art/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ DIST gnustep-back-0.22.0.tar.gz 935034 SHA256 b9bf26346737d87160af669c3073b4eb51
DIST gnustep-back-0.23.0.tar.gz 942380 SHA256 7e897849bf0359d2401a426c75bda89117b5506910892b4eb15262edfb26bbdc SHA512 8789e738b18e4eb1996024c449c4550a392404eb71693569a4b561df22652840a06ca4681b3ec7d47ff3d3d36755a065e956de9203f380c0cc60c76bb412b99c WHIRLPOOL 7b46d1a066889f40c00aa949b65d113027b6e0689349d686db83fd68a7c3a25d03a15c6b04f6c2b4d04ab7b61454bba428d2a3cbdea87541898ce68ec41e7017
DIST gnustep-back-0.24.0.tar.gz 966735 SHA256 5fc2ed70076d1cd9d51bf3ad85c71a42bfd29e3fd7c22421cc1de739695c3d62 SHA512 d27ae170ad23ee18a5471f41ee67bcde6ee4ba3e7fa522dac72a1f7fdb363d64a15432e6abbf972089483b356959d060df91d797ab820a01ca4bd85af700bf57 WHIRLPOOL ef713f8ef84db12a75a2c1d1a56666c64edbf11ea302b1ed1f55a556eaecdbad74853ef736e665c5a2849210d7c273277c9a3d47ef5f7ca4a7544525367589e9
DIST gnustep-back-0.24.1.tar.gz 966529 SHA256 e255628e0f9be9b10359bb1be6690c50a0929bc383e6996966076492af02457e SHA512 7de422b6743d9f8c20bdc1a9a1dda06cbd7bde31eca87a41a457640ec18ca2640797071def5c111383de379537350e57917ca10a156744c7b9db421cdb2db313 WHIRLPOOL 28bd8a4c4e5ceffb06260f5ef58d5500a167825fce876bb0d0465db7926492685f45ffdb4b2d8270553acb513b866592fc333a775ca37dad7021866dd72419ea
DIST gnustep-back-0.25.0.tar.gz 974762 SHA256 4276e30e157fb450cc5144501e680e8142b484e6595e5e4f83d14225c60afa91 SHA512 38a098e7fe207c902428c05f01ebf0336b33fb9213368038c2513236255723b642fd9576524ad119ee9511c708be21c155eeaaf297e05c6ebdab8e59efe05770 WHIRLPOOL 2dc49763ecf30e695ae13f8197b140c7d4b9ce17b19364f04bbd0ed0beb626d50943210ad4f1a5baad8ae7957c6c32e5193eaf40d532aabd3f5f455b89776574
84 changes: 84 additions & 0 deletions gnustep-base/gnustep-back-art/gnustep-back-art-0.25.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

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 ~x86-solaris"
IUSE="opengl xim"

RDEPEND="${GNUSTEP_CORE_DEPEND}
=gnustep-base/gnustep-gui-${PV%.*}*
opengl? ( virtual/opengl virtual/glu )
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-libs/freetype-2.1.9
>=media-libs/libart_lgpl-2.3
>=gnustep-base/mknfonts-0.5-r1
media-fonts/dejavu
!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"
}

0 comments on commit d701508

Please sign in to comment.