initial media-libs/libexif exheres

This commit is contained in:
Daniel Mierswa 2008-12-27 01:43:11 +01:00
parent 0e27cccced
commit b51141d287
2 changed files with 43 additions and 0 deletions

View file

@ -1,6 +1,7 @@
app-cdr
dev-lang
dev-libs
media-libs
sys-apps
sys-libs
x11-dri

View file

@ -0,0 +1,42 @@
# Copyright (c) 2008 Daniel Mierswa <impulze@impulze.org>
# Distributed under the terms of the GNU General Public License v2
SUMMARY="The EXIF metainformation library."
DESCRIPTION="Reads and writes EXIF metainformation from and to image files."
HOMEPAGE="http://${PN}.sourceforge.net/"
DOWNLOADS="mirror://sourceforge/${PN}/${PNV}.tar.bz2"
LICENCES=""
SLOT="0"
PLATFORMS="~amd64"
LANGS="cs de en_CA es fr nl pl ru sk sv vi"
MYOPTIONS="
doc
linguas:
${LANGS}"
DEPENDENCIES="
build:
doc? ( app-doc/doxygen )
$(for lang in ${LANGS} ; do
echo "linguas:${lang}? ( sys-devel/gettext )"
done)"
DEFAULT_SRC_CONFIGURE_PARAMS=(
'--disable-nls'
"--with-doc-dir=/usr/share/doc/${PNVR}"
)
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
'doc internal-docs' 'doc docs'
)
src_configure() {
for lang in ${LANGS} ; do
option linguas:${lang} && \
DEFAULT_SRC_CONFIGURE_PARAMS+=( '--enable-nls' ) && break
done
default
}