diff --git a/media-fonts/roboto/roboto-1.2.recipe b/media-fonts/roboto/roboto-1.2.recipe new file mode 100644 index 000000000..fb110102a --- /dev/null +++ b/media-fonts/roboto/roboto-1.2.recipe @@ -0,0 +1,50 @@ +SUMMARY="The Android Roboto font." +DESCRIPTION=" + The Android design language relies on traditional typographic tools such as + scale, space, rhythm, and alignment with an underlying grid. Successful + deployment of these tools is essential to help users quickly understand a + screen of information. To support such use of typography, Ice Cream Sandwich + introduced a new type family named Roboto, created specifically for the + requirements of UI and high-resolution screens. + The current TextView framework offers Roboto in thin, light, regular and + bold weights, along with an italic style for each weight. The framework also + offers the Roboto Condensed variant in regular and bold weights, along with + an italic style for each weight. + " +HOMEPAGE="http://www.google.com/fonts/specimen/Roboto" +SRC_URI="http://developer.android.com/downloads/design/roboto-1.2.zip" +CHECKSUM_MD5="45bfbcd71a74d73c6d2c97994abb7e00" +LICENSE="Apache v2" +COPYRIGHT="2013 Christian Robertson" +REVISION="1" +ARCHITECTURES="any" +DISABLE_SOURCE_PACKAGE=yes +PROVIDES=" + Roboto=$portVersion + " +REQUIRES=" " +BUILD_REQUIRES=" " +BUILD_PREREQUIRES=" + coreutils + " +SOURCE_DIR="" + +BUILD() +{ + true +} + +INSTALL() +{ + FONTDIR=$fontsDir/roboto + mkdir -p ${FONTDIR} + + cd Roboto_v$portVersion + + cd Roboto + cp *.ttf ${FONTDIR} + + cd .. + cd RobotoCondensed + cp *.ttf ${FONTDIR} +}