void-packages/srcpkgs/icecat/template
2020-12-17 08:30:42 +01:00

951 lines
24 KiB
Bash

# Template file for 'icecat'
pkgname=icecat
version=78.6.0
revision=1
build_helper="rust qemu"
hostmakedepends="autoconf213 unzip zip pkg-config perl python3 yasm rust cargo
llvm clang nodejs-lts-10 cbindgen python nasm which tar"
makedepends="nss-devel libjpeg-turbo-devel gtk+-devel gtk+3-devel icu-devel
pixman-devel libevent-devel libnotify-devel libvpx-devel
libXrender-devel libXcomposite-devel libSM-devel libXt-devel rust-std
libXdamage-devel freetype-devel $(vopt_if alsa alsa-lib-devel)
$(vopt_if dbus dbus-glib-devel) $(vopt_if pulseaudio pulseaudio-devel)
$(vopt_if xscreensaver libXScrnSaver-devel)
$(vopt_if sndio sndio-devel) $(vopt_if jack jack-devel)"
depends="nss>=3.53 desktop-file-utils hicolor-icon-theme"
short_desc="GNU version of the Firefox browser"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="MPL-1.1, GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://www.gnu.org/software/${pkgname}/"
distfiles="https://distfiles.voidlinux.de/${pkgname}-${version}/${pkgname}-${version}-gnu1.tar.xz"
checksum=85e85c95cdad245f30b9ef34901552ae1be499191aa409688fee3b67e918c0d1
lib32disabled=yes
build_options="alsa jack dbus pulseaudio xscreensaver sndio wayland"
build_options_default="alsa jack dbus pulseaudio xscreensaver sndio wayland"
case $XBPS_TARGET_MACHINE in
armv[56]*) broken="required NEON extensions are not supported on armv[56]" ;;
ppc64*) ;;
ppc*) broken="xptcall bitrot" ;;
esac
CXXFLAGS="-Wno-class-memaccess -Wno-unused-function"
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
if [ "$XBPS_WORDSIZE" -eq 32 ]; then
nodebug=yes
fi
# We need this because cargo verifies checksums of all files
# in vendor crates when it builds and gives us no way to
# override or update the file sanely... so just clear out the file list
_clear_vendor_checksums() {
sed -i 's/\("files":{\)[^}]*/\1/' third_party/rust/$1/.cargo-checksum.json
}
# Function to install a language pack
# FIXME: The *.xpi files have to be signed to be accepted as plugins
# yet how do you sign a package if you don't have a signing key?
_install_langpack() {
local lang=$1
local tempdir="$(ls -d ${wrksrc}/obj-*/dist/linux-*/xpi|head -n1)"
vinstall "${tempdir}"/${sourcepkg}-${version}.${lang}.langpack.xpi \
644 usr/lib/icecat/browser/extensions
}
post_extract() {
if [ "$XBPS_TARGET_LIBC" = musl ]; then
cp "${FILESDIR}/stab.h" toolkit/crashreporter/google-breakpad/src/
fi
}
post_patch() {
_clear_vendor_checksums num-traits
_clear_vendor_checksums glslopt
}
do_build() {
local lang languages="en-US $(cat browser/locales/all-locales)"
local triplet
cp ${FILESDIR}/mozconfig .mozconfig
if [ "$XBPS_TARGET_LIBC" = musl ]; then
echo "ac_add_options --disable-jemalloc" >>.mozconfig
echo "ac_add_options --disable-gold" >>.mozconfig
echo "ac_add_options --enable-release" >>.mozconfig
fi
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*|arm*)
echo "ac_add_options --disable-elf-hack" >>.mozconfig
;;
esac
# webrtc currently fails to build on 32-bit ppc...
case "$XBPS_TARGET_MACHINE" in
ppc64*) ;;
ppc*) echo "ac_add_options --disable-webrtc" >>.mozconfig ;;
esac
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
export LDFLAGS+=" -latomic"
fi
if [ "$CROSS_BUILD" ]; then
BINDGEN_INCLUDE_FLAGS=$( $CPP -x c++ -v /dev/null -o /dev/null 2>&1 | \
sed -n '/#include <...> search starts here:/,/End of search list./p' | \
sed '1,1d;$d' | sed 's/^ /-I/' | paste -s )
export BINDGEN_CFLAGS="--target=$XBPS_CROSS_TRIPLET \
--sysroot=${XBPS_CROSS_BASE} ${BINDGEN_INCLUDE_FLAGS}"
export HOST_CC="${CC_host}"
export TARGET_CC="${CC}"
export HOST_CFLAGS="${XBPS_CFLAGS}"
export HOST_CXXFLAGS="${XBPS_CXXFLAGS}"
echo "ac_cv_sqlite_secure_delete=yes" >> .mozconfig
echo "ac_cv_sqlite_threadsafe=yes" >> .mozconfig
echo "ac_cv_sqlite_enable_fts3=yes" >> .mozconfig
echo "ac_cv_sqlite_dbstat_vtab=yes" >> .mozconfig
echo "ac_cv_sqlite_enable_unlock_notify=yes" >> .mozconfig
echo "ac_cv_prog_hostcxx_works=1" >> .mozconfig
echo "ac_add_options --target=$XBPS_CROSS_TRIPLET" >>.mozconfig
echo "ac_add_options --host=$XBPS_TRIPLET" >>.mozconfig
else
echo "ac_add_options --target=$XBPS_TRIPLET" >>.mozconfig
echo "ac_add_options --host=$XBPS_TRIPLET" >>.mozconfig
fi
mkdir -p third_party/rust/libloading/.deps
case "$XBPS_TARGET_MACHINE" in
armv7*)
export CFLAGS+=" -mfpu=neon -Wno-psabi"
export CXXFLAGS+=" -mfpu=neon -Wno-psabi"
;;
esac
# work around large debug symbols on 32-bit hosts
if [ "$XBPS_WORDSIZE" = "32" ]; then
export CFLAGS="${CFLAGS/-g/-g1}"
export CXXFLAGS="${CXXFLAGS/-g/-g1}"
export LDFLAGS+=" -Wl,--no-keep-memory"
# patch the rust debug level, this is hardcoded
sed -i "s/debug_info = '2'/debug_info = '1'/" \
build/moz.configure/toolchain.configure
fi
# FIXME: incompatible with rust 1.48 in this release
#case "$XBPS_TARGET_MACHINE" in
#aarch64*|i686*|x86_64*)
# echo "ac_add_options --enable-rust-simd" >>.mozconfig ;;
#esac
export LDFLAGS+=" -Wl,-rpath=/usr/lib/icecat"
if [ "$SOURCE_DATE_EPOCH" ]; then
export MOZ_BUILD_DATE=$(date --date "@$SOURCE_DATE_EPOCH" "+%Y%m%d%H%M%S")
fi
export MOZ_MAKE_FLAGS="${makejobs}"
export MOZ_NOSPAM=1
export MOZBUILD_STATE_PATH="${wrksrc}/mozbuild"
export MACH_USE_SYSTEM_PYTHON=1
export AS=$CC
cat >>.mozconfig <<EOF
ac_add_options $(vopt_enable alsa)
ac_add_options $(vopt_enable jack)
ac_add_options $(vopt_enable sndio)
ac_add_options $(vopt_enable dbus)
ac_add_options $(vopt_enable dbus necko-wifi)
ac_add_options $(vopt_enable pulseaudio)
ac_add_options --with-l10n-base=${wrksrc}/l10n
ac_add_options --enable-default-toolkit=$(vopt_if wayland 'cairo-gtk3-wayland' 'cairo-gtk3')
EOF
rm -f old-configure
./mach build
# Make langpacks for all languages
dir=$(ls -d obj-*/browser/locales)
cd ${wrksrc}/${dir}
for lang in ${languages[*]}; do
msg_normal "Making langpack for ${lang} ...\n"
make ${makejobs} langpack-${lang} LOCALE_MERGEDIR=.
done
}
do_install() {
export MACH_USE_SYSTEM_PYTHON=1
DESTDIR="$DESTDIR" ./mach install
vbin ${FILESDIR}/icecat-wayland
vinstall ${FILESDIR}/vendor.js 644 usr/lib/icecat/browser/defaults/preferences
vinstall ${FILESDIR}/icecat.desktop 644 usr/share/applications
for i in 16x16 22x22 24x24 32x32 48x48 256x256; do
vinstall ${wrksrc}/browser/branding/official/default${i%x*}.png 644 \
usr/share/icons/hicolor/${i}/apps icecat.png
done
vinstall ${wrksrc}/browser/branding/official/default256.png 644 \
usr/share/pixmaps icecat.png
# Use system-provided dictionaries
rm -rf ${DESTDIR}/usr/lib/icecat/{dictionaries,hyphenation}
ln -s /usr/share/hunspell ${DESTDIR}/usr/lib/icecat/dictionaries
ln -s /usr/share/hyphen ${DESTDIR}/usr/lib/icecat/hyphenation
# https://bugzilla.mozilla.org/show_bug.cgi?id=658850
ln -sf icecat ${DESTDIR}/usr/lib/icecat/icecat-bin
# Remove the development files - noone uses them
rm -rf ${DESTDIR}/usr/{include,lib/icecat-devel,share/idl}
}
icecat-i18n-ach_package() {
short_desc+=" - Acholi language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-af_package() {
short_desc+=" - Afrikaans language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-an_package() {
short_desc+=" - Aragonese language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-ar_package() {
short_desc+=" - Arabic language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-ast_package() {
short_desc+=" - Asturian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-az_package() {
short_desc+=" - Azerbaijani language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-be_package() {
short_desc+=" - Belarusian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-bg_package() {
short_desc+=" - Bulgarian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-bn_package() {
short_desc+=" - Bengali language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-br_package() {
short_desc+=" - Breton language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-bs_package() {
short_desc+=" - Bosnian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-ca_package() {
short_desc+=" - Catalan language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-cak_package() {
short_desc+=" - Kaqchikel language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-cs_package() {
short_desc+=" - Czech language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-cy_package() {
short_desc+=" - Welsh language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-da_package() {
short_desc+=" - Danish language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-de_package() {
short_desc+=" - German language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-dsb_package() {
short_desc+=" - Lower Sorbian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-el_package() {
short_desc+=" - Greek language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-en-CA_package() {
short_desc+=" - English (Canada) language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-en-GB_package() {
short_desc+=" - English (British) language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-en-US_package() {
short_desc+=" - English (US) language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-eo_package() {
short_desc+=" - Esperanto language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-es-AR_package() {
short_desc+=" - Spanish (Argentina) language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-es-CL_package() {
short_desc+=" - Spanish (Chile) language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-es-ES_package() {
short_desc+=" - Spanish (Spain) language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-es-MX_package() {
short_desc+=" - Spanish (Mexico) language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-et_package() {
short_desc+=" - Estonian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-eu_package() {
short_desc+=" - Basque language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-fa_package() {
short_desc+=" - Persian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-ff_package() {
short_desc+=" - Fulah language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-fi_package() {
short_desc+=" - Finnish language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-fr_package() {
short_desc+=" - French language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-fy-NL_package() {
short_desc+=" - Frisian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-ga-IE_package() {
short_desc+=" - Irish language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-gd_package() {
short_desc+=" - Gaelic (Scotland) language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-gl_package() {
short_desc+=" - Galician language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-gn_package() {
short_desc+=" - Guarani language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-gu-IN_package() {
short_desc+=" - Gujarati (India) language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-he_package() {
short_desc+=" - Hebrew language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-hi-IN_package() {
short_desc+=" - Hindi (India) language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-hr_package() {
short_desc+=" - Croatian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-hsb_package() {
short_desc+=" - Upper Sorbian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-hu_package() {
short_desc+=" - Hungarian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-hy-AM_package() {
short_desc+=" - Armenian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-ia_package() {
short_desc+=" - Interlingua language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-id_package() {
short_desc+=" - Indonesian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-is_package() {
short_desc+=" - Icelandic language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-it_package() {
short_desc+=" - Italian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-ja_package() {
short_desc+=" - Japanese language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-ka_package() {
short_desc+=" - Georgian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-kab_package() {
short_desc+=" - Kabyle language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-kk_package() {
short_desc+=" - Kazakh language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-km_package() {
short_desc+=" - Khmer language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-kn_package() {
short_desc+=" - Kannada language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-ko_package() {
short_desc+=" - Korean language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-lij_package() {
short_desc+=" - Ligurian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-lt_package() {
short_desc+=" - Lithuanian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-lv_package() {
short_desc+=" - Latvian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-mk_package() {
short_desc+=" - Macedonian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-mr_package() {
short_desc+=" - Marathi language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-ms_package() {
short_desc+=" - Malay language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-my_package() {
short_desc+=" - Burmese language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-nb-NO_package() {
short_desc+=" - Norwegian (Bokmål) language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-ne-NP_package() {
short_desc+=" - Nepali language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-nl_package() {
short_desc+=" - Dutch language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-nn-NO_package() {
short_desc+=" - Norwegian (Nynorsk) language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-oc_package() {
short_desc+=" - Occitan language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-pa-IN_package() {
short_desc+=" - Punjabi language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-pl_package() {
short_desc+=" - Polish language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-pt-BR_package() {
short_desc+=" - Portuguese (Brazilian) language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-pt-PT_package() {
short_desc+=" - Portuguese (Portugal) language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-rm_package() {
short_desc+=" - Romansh language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-ro_package() {
short_desc+=" - Romanian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-ru_package() {
short_desc+=" - Russian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-si_package() {
short_desc+=" - Sinhala language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-sk_package() {
short_desc+=" - Slovak language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-sl_package() {
short_desc+=" - Slovenian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-son_package() {
short_desc+=" - Songhai language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-sq_package() {
short_desc+=" - Albanian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-sr_package() {
short_desc+=" - Serbian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-sv-SE_package() {
short_desc+=" - Swedish language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-ta_package() {
short_desc+=" - Tamil language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-te_package() {
short_desc+=" - Telugu language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-th_package() {
short_desc+=" - Thai language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-tr_package() {
short_desc+=" - Turkish language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-uk_package() {
short_desc+=" - Ukrainian language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-ur_package() {
short_desc+=" - Urdu language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-uz_package() {
short_desc+=" - Uzbek language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-vi_package() {
short_desc+=" - Vietnamese language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-xh_package() {
short_desc+=" - Xhosa language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-zh-CN_package() {
short_desc+=" - Chinese (simplified) language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}
icecat-i18n-zh-TW_package() {
short_desc+=" - Chinese (traditional) language files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
_install_langpack ${pkgname#icecat-i18n-}
}
}