parent
8fdafde43f
commit
8aa3810d33
@ -1,2 +1,3 @@
|
||||
DIST winetricks-20170327.tar.gz 190864 SHA256 ad381386be95f5f2c34a69a6d1d77f3d41d86f883b8bed7ac4699947cf13e97d SHA512 b859ed73ccc3d62aad74a95deb087fd87d153c50b9c4abaa959579d131cdbb37870f3ab2e1495605f58ccd0caf26a5fb4ed858a85ef03ecf5137b9f685295bd5 WHIRLPOOL c5047766517c6bfcab994023339a89c13f101ede1f15050c86bcbaa076e2d895704b991ff5d8628c9eacde70227f4fa4a179664ecfb29a08344f7db42a1787b5
|
||||
DIST winetricks-20170517.tar.gz 637815 SHA256 6699e0169c06d11c5467ae6440d8634575602af2f77430e31a781b2dc1790805 SHA512 ea48658763c45c856e30755c03daf60cf9ba9a46c3e0f88a517ef65549bf2aa2279ea873955c405f5a582c4c2765c4b7c59124fe5d9778eae59746ed7590f2bc WHIRLPOOL 9c93a0f69c234610add35b39b4ca9b128b3d0436bd9015e45bd4577657310cc0e39b7cd4afaef4e62baccb1ca8168d22f90d6932a3af4c815db6629205e5992e
|
||||
DIST winetricks-gentoo-2012.11.24.tar.bz2 6398 SHA256 dded8c294cc5c2e71e4a5d1531ab165178cf3d2d1d890d0656368c2e499bfeb9 SHA512 59c93b73f3a7b2d11aefcde2ff66659ff1de21ad4b5f232f4b60572f3a48b15a6c49f369b1696862bf1b33fde190bf5598945e9536fb41ddec42d8def4d2be2a WHIRLPOOL 268da9e06712a678fbbcfff8eac1fca364b5e46f0a9c48a591eb88f03260b1a55f203eb2908bfe1f0a534b77c866127ff6f7049b0e43fe8abeaaa26fe55de75b
|
||||
|
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit gnome2-utils eutils
|
||||
|
||||
if [[ ${PV} == "99999999" ]] ; then
|
||||
EGIT_REPO_URI="git://github.com/Winetricks/${PN}.git"
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://github.com/Winetricks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
|
||||
wtg=winetricks-gentoo-2012.11.24
|
||||
|
||||
SRC_URI="${SRC_URI}
|
||||
gtk? ( https://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )
|
||||
kde? ( https://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )"
|
||||
|
||||
DESCRIPTION="Easy way to install DLLs needed to work around problems in Wine"
|
||||
HOMEPAGE="http://winetricks.org http://wiki.winehq.org/winetricks"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
IUSE="gtk kde rar"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-arch/cabextract
|
||||
app-arch/p7zip
|
||||
app-arch/unzip
|
||||
net-misc/wget
|
||||
x11-misc/xdg-utils
|
||||
|| (
|
||||
app-emulation/wine
|
||||
virtual/wine
|
||||
)
|
||||
gtk? ( gnome-extra/zenity )
|
||||
kde? ( kde-apps/kdialog )
|
||||
rar? ( app-arch/unrar )"
|
||||
|
||||
# Uses a non-standard "Wine" category, which is provided by app-emulation/wine; #451552
|
||||
QA_DESKTOP_FILE="usr/share/applications/winetricks.desktop"
|
||||
|
||||
# Tests require network access and run Wine, which is unreliable from a portage environment.
|
||||
RESTRICT="test"
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "99999999" ]] ; then
|
||||
git-r3_src_unpack
|
||||
if use gtk || use kde; then
|
||||
unpack ${wtg}.tar.bz2
|
||||
fi
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
if use gtk || use kde; then
|
||||
cd "${WORKDIR}/${wtg}" || die
|
||||
domenu winetricks.desktop
|
||||
insinto /usr/share/icons/hicolor/scalable/apps
|
||||
doins wine-winetricks.svg
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if use gtk || use kde; then
|
||||
gnome2_icon_savelist
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use gtk || use kde; then
|
||||
gnome2_icon_cache_update
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use gtk || use kde; then
|
||||
gnome2_icon_cache_update
|
||||
fi
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
DIST ffmpeg-2.8.10.tar.bz2 8585304 SHA256 d1ce1a73503dce6e2b1e208cb93a2a8a7e89f9c64357ddc3e4da3cab33dea9c9 SHA512 1ca8b0060361c49de201afc463bcd7c9340f09bbd116dff2539653bc36411d60cdf667874d2ec51664e141ee7a7be8bebc94e158687cb97db6bdfa40f00ec193 WHIRLPOOL 4ff9271290c138ad5caa50835da9fd6685fabf5a589cb6c068cfff6698ded948d93e9d40656dca3b516f9e591119d204e6283d57f7d2f0747a4f7ef9b322ebce
|
||||
DIST ffmpeg-2.8.11.tar.bz2 8582471 SHA256 9987e0f6b1f66311390f807a0c18ad9c90652b5097cff17b3dcbeabdd89f8d32 SHA512 60749897dccde1ff2840be9679f6e10118c7313bbeb1b07bb36acf7f311010f484259df9a4a43e60373726de9d6b54675e1961cc7b40646107142f8f42ea1601 WHIRLPOOL 4b71d63a1bbd63ebaa90b3c581f5d2c38e1a74c37044ad80fbf44b857d3d76722d3833da53575aa744779d9dd9a3dc0e41e9706611ba0899ab23c91ad17caa5f
|
||||
DIST ffmpeg-3.2.4.tar.bz2 9612274 SHA256 c0fa3593a2e9e96ace3c1757900094437ad96d1d6ca19f057c378b5f394496a4 SHA512 ba5004d0f2659faa139c7dbf2f0fc6bab1d4e017d919f4ac271a5d2e8e4a3478909176e3a4d1ad33ddf2f62ab28dd9e00ce9be1399efb7cb3276dde79134cdaa WHIRLPOOL e97a19541f990f86b8adbdc3fd20115258e5644b98a5c7f4e075f8f1320881da33fb9be969d8a5e20d79eea4c63b1c9510841b5cf0d5b479408ff231d3ba69cc
|
||||
DIST ffmpeg-3.2.5.tar.bz2 9619556 SHA256 9ca9f24a442d5a5f0c127106daab5e08e30468e34f97c936cce6be9b114275ae SHA512 304a10c9bafce163d2bfe79fcf989bdd919d6361cb188acf3ebba32094df1ba23e66468a11f789392589e4f1f6c9e9dd7edfaadf999b92ee8540301723fd6501 WHIRLPOOL f0cc3355b2f5d8129221451dce7c2b4dcd9e80ba43c53f97a1931849d6d5eb0b882d70cd3397409f37f103e7237c2f5f04082acbe8d3a2b4827add793fde6d8d
|
||||
DIST ffmpeg-3.3.1.tar.bz2 9936376 SHA256 fcb2cd7b77fcb66a00abccd5a04e34342a02cab9f89626f28cf1abca715b6730 SHA512 49d9d37738153904c2eda984cdae1bff13dc26caee44bd58625c8e87d05731861b61db9aa0ccec2d5cfce44d8f781fd40a04c30a47d61d7c886d8a886591e8a7 WHIRLPOOL 7829dcfa340a299d3b286c53d2877ef404b3019299dece8e0ebba780792fc9999f58dcdd1370e0c52da7a92ac7e286c6aadc9385087ea5410cd5df64fb7ba430
|
||||
DIST ffmpeg-3.3.tar.bz2 9930192 SHA256 21e08647c9e740a4d3b85bf455b31d079fe0faba9555fa9329230e8541cf6bdc SHA512 2e6f06966362a70afa1f8ff3ba1d35896cd120d09633a4aa3d7190b2007c2a8537f944dada7b1fe26af844d17f5ecfd7ea92ac815b5bf54f5cacd7d90c963d70 WHIRLPOOL 0d5b0b45fd1c018e43e962cb5f0fd32d333caf1ef351029435267ce21232d548fb1c841046668f03c3721a703d3cf8f699e3da16e4e866ffa0fe1e883ff95f1f
|
||||
|
@ -0,0 +1,460 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# Subslot: libavutil major.libavcodec major.libavformat major
|
||||
# Since FFmpeg ships several libraries, subslot is kind of limited here.
|
||||
# Most consumers will use those three libraries, if a "less used" library
|
||||
# changes its soname, consumers will have to be rebuilt the old way
|
||||
# (preserve-libs).
|
||||
# If, for example, a package does not link to libavformat and only libavformat
|
||||
# changes its ABI then this package will be rebuilt needlessly. Hence, such a
|
||||
# package is free _not_ to := depend on FFmpeg but I would strongly encourage
|
||||
# doing so since such a case is unlikely.
|
||||
FFMPEG_SUBSLOT=55.57.57
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="git://source.ffmpeg.org/ffmpeg.git"
|
||||
fi
|
||||
|
||||
inherit eutils flag-o-matic multilib multilib-minimal toolchain-funcs ${SCM}
|
||||
|
||||
DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec"
|
||||
HOMEPAGE="http://ffmpeg.org/"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
else # Release
|
||||
SRC_URI="http://ffmpeg.org/releases/${P/_/-}.tar.bz2"
|
||||
fi
|
||||
FFMPEG_REVISION="${PV#*_p}"
|
||||
|
||||
SLOT="0/${FFMPEG_SUBSLOT}"
|
||||
LICENSE="
|
||||
!gpl? ( LGPL-2.1 )
|
||||
gpl? ( GPL-2 )
|
||||
amr? (
|
||||
gpl? ( GPL-3 )
|
||||
!gpl? ( LGPL-3 )
|
||||
)
|
||||
gmp? (
|
||||
gpl? ( GPL-3 )
|
||||
!gpl? ( LGPL-3 )
|
||||
)
|
||||
encode? (
|
||||
amrenc? (
|
||||
gpl? ( GPL-3 )
|
||||
!gpl? ( LGPL-3 )
|
||||
)
|
||||
)
|
||||
samba? ( GPL-3 )
|
||||
"
|
||||
if [ "${PV#9999}" = "${PV}" ] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
# Options to use as use_enable in the foo[:bar] form.
|
||||
# This will feed configure with $(use_enable foo bar)
|
||||
# or $(use_enable foo foo) if no :bar is set.
|
||||
# foo is added to IUSE.
|
||||
FFMPEG_FLAG_MAP=(
|
||||
+bzip2:bzlib cpudetection:runtime-cpudetect debug gcrypt gnutls gmp
|
||||
+gpl +hardcoded-tables +iconv lzma +network openssl +postproc
|
||||
samba:libsmbclient sdl:ffplay sdl:sdl2 vaapi vdpau X:xlib xcb:libxcb
|
||||
xcb:libxcb-shm xcb:libxcb-xfixes +zlib
|
||||
# libavdevice options
|
||||
cdio:libcdio iec61883:libiec61883 ieee1394:libdc1394 libcaca openal
|
||||
opengl
|
||||
# indevs
|
||||
libv4l:libv4l2 pulseaudio:libpulse
|
||||
# decoders
|
||||
amr:libopencore-amrwb amr:libopencore-amrnb fdk:libfdk-aac
|
||||
jpeg2k:libopenjpeg bluray:libbluray celt:libcelt gme:libgme gsm:libgsm
|
||||
mmal modplug:libmodplug opus:libopus libilbc librtmp ssh:libssh
|
||||
schroedinger:libschroedinger speex:libspeex vorbis:libvorbis vpx:libvpx
|
||||
zvbi:libzvbi
|
||||
# libavfilter options
|
||||
bs2b:libbs2b chromaprint ebur128:libebur128 flite:libflite frei0r
|
||||
fribidi:libfribidi fontconfig ladspa libass truetype:libfreetype
|
||||
rubberband:librubberband zimg:libzimg
|
||||
# libswresample options
|
||||
libsoxr
|
||||
# Threads; we only support pthread for now but ffmpeg supports more
|
||||
+threads:pthreads
|
||||
)
|
||||
|
||||
# Same as above but for encoders, i.e. they do something only with USE=encode.
|
||||
FFMPEG_ENCODER_FLAG_MAP=(
|
||||
amrenc:libvo-amrwbenc mp3:libmp3lame
|
||||
kvazaar:libkvazaar nvenc:nvenc
|
||||
openh264:libopenh264 snappy:libsnappy theora:libtheora twolame:libtwolame
|
||||
wavpack:libwavpack webp:libwebp x264:libx264 x265:libx265 xvid:libxvid
|
||||
)
|
||||
|
||||
IUSE="
|
||||
alsa doc +encode jack oss pic static-libs test v4l
|
||||
${FFMPEG_FLAG_MAP[@]%:*}
|
||||
${FFMPEG_ENCODER_FLAG_MAP[@]%:*}
|
||||
"
|
||||
|
||||
# Strings for CPU features in the useflag[:configure_option] form
|
||||
# if :configure_option isn't set, it will use 'useflag' as configure option
|
||||
ARM_CPU_FEATURES=( armv5te armv6 armv6t2 neon armvfp:vfp )
|
||||
MIPS_CPU_FEATURES=( mipsdspr1 mipsdspr2 mipsfpu )
|
||||
PPC_CPU_FEATURES=( altivec )
|
||||
X86_CPU_FEATURES_RAW=( 3dnow:amd3dnow 3dnowext:amd3dnowext aes:aesni avx:avx avx2:avx2 fma3:fma3 fma4:fma4 mmx:mmx mmxext:mmxext sse:sse sse2:sse2 sse3:sse3 ssse3:ssse3 sse4_1:sse4 sse4_2:sse42 xop:xop )
|
||||
X86_CPU_FEATURES=( ${X86_CPU_FEATURES_RAW[@]/#/cpu_flags_x86_} )
|
||||
X86_CPU_REQUIRED_USE="
|
||||
cpu_flags_x86_avx2? ( cpu_flags_x86_avx )
|
||||
cpu_flags_x86_fma4? ( cpu_flags_x86_avx )
|
||||
cpu_flags_x86_fma3? ( cpu_flags_x86_avx )
|
||||
cpu_flags_x86_xop? ( cpu_flags_x86_avx )
|
||||
cpu_flags_x86_avx? ( cpu_flags_x86_sse4_2 )
|
||||
cpu_flags_x86_aes? ( cpu_flags_x86_sse4_2 )
|
||||
cpu_flags_x86_sse4_2? ( cpu_flags_x86_sse4_1 )
|
||||
cpu_flags_x86_sse4_1? ( cpu_flags_x86_ssse3 )
|
||||
cpu_flags_x86_ssse3? ( cpu_flags_x86_sse3 )
|
||||
cpu_flags_x86_sse3? ( cpu_flags_x86_sse2 )
|
||||
cpu_flags_x86_sse2? ( cpu_flags_x86_sse )
|
||||
cpu_flags_x86_sse? ( cpu_flags_x86_mmxext )
|
||||
cpu_flags_x86_mmxext? ( cpu_flags_x86_mmx )
|
||||
cpu_flags_x86_3dnowext? ( cpu_flags_x86_3dnow )
|
||||
cpu_flags_x86_3dnow? ( cpu_flags_x86_mmx )
|
||||
"
|
||||
|
||||
IUSE="${IUSE}
|
||||
${ARM_CPU_FEATURES[@]%:*}
|
||||
${MIPS_CPU_FEATURES[@]%:*}
|
||||
${PPC_CPU_FEATURES[@]%:*}
|
||||
${X86_CPU_FEATURES[@]%:*}
|
||||
"
|
||||
|
||||
CPU_REQUIRED_USE="
|
||||
${X86_CPU_REQUIRED_USE}
|
||||
"
|
||||
|
||||
# "$(tc-arch):XXX" form where XXX_CPU_FEATURES are the cpu features that apply to
|
||||
# $(tc-arch).
|
||||
CPU_FEATURES_MAP="
|
||||
arm:ARM
|
||||
arm64:ARM
|
||||
mips:MIPS
|
||||
ppc:PPC
|
||||
ppc64:PPC
|
||||
x86:X86
|
||||
amd64:X86
|
||||
"
|
||||
|
||||
FFTOOLS=( aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher )
|
||||
IUSE="${IUSE} ${FFTOOLS[@]/#/+fftools_}"
|
||||
|
||||
RDEPEND="
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
|
||||
amr? ( >=media-libs/opencore-amr-0.1.3-r1[${MULTILIB_USEDEP}] )
|
||||
bluray? ( >=media-libs/libbluray-0.3.0-r1:=[${MULTILIB_USEDEP}] )
|
||||
bs2b? ( >=media-libs/libbs2b-3.1.0-r1[${MULTILIB_USEDEP}] )
|
||||
bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
|
||||
cdio? ( >=dev-libs/libcdio-paranoia-0.90_p1-r1[${MULTILIB_USEDEP}] )
|
||||
celt? ( >=media-libs/celt-0.11.1-r1[${MULTILIB_USEDEP}] )
|
||||
chromaprint? ( >=media-libs/chromaprint-1.2-r1[${MULTILIB_USEDEP}] )
|
||||
ebur128? ( >=media-libs/libebur128-1.1.0[${MULTILIB_USEDEP}] )
|
||||
encode? (
|
||||
amrenc? ( >=media-libs/vo-amrwbenc-0.1.2-r1[${MULTILIB_USEDEP}] )
|
||||
kvazaar? ( media-libs/kvazaar[${MULTILIB_USEDEP}] )
|
||||
mp3? ( >=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}] )
|
||||
nvenc? ( media-video/nvidia_video_sdk )
|
||||
openh264? ( >=media-libs/openh264-1.4.0-r1[${MULTILIB_USEDEP}] )
|
||||
snappy? ( >=app-arch/snappy-1.1.2-r1[${MULTILIB_USEDEP}] )
|
||||
theora? (
|
||||
>=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}]
|
||||
>=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
twolame? ( >=media-sound/twolame-0.3.13-r1[${MULTILIB_USEDEP}] )
|
||||
wavpack? ( >=media-sound/wavpack-4.60.1-r1[${MULTILIB_USEDEP}] )
|
||||
webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )
|
||||
x264? ( >=media-libs/x264-0.0.20130506:=[${MULTILIB_USEDEP}] )
|
||||
x265? ( >=media-libs/x265-1.6:=[${MULTILIB_USEDEP}] )
|
||||
xvid? ( >=media-libs/xvid-1.3.2-r1[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
fdk? ( >=media-libs/fdk-aac-0.1.3:=[${MULTILIB_USEDEP}] )
|
||||
flite? ( >=app-accessibility/flite-1.4-r4[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] )
|
||||
frei0r? ( media-plugins/frei0r-plugins )
|
||||
fribidi? ( >=dev-libs/fribidi-0.19.6[${MULTILIB_USEDEP}] )
|
||||
gcrypt? ( >=dev-libs/libgcrypt-1.6:0=[${MULTILIB_USEDEP}] )
|
||||
gme? ( >=media-libs/game-music-emu-0.6.0[${MULTILIB_USEDEP}] )
|
||||
gmp? ( >=dev-libs/gmp-6:0=[${MULTILIB_USEDEP}] )
|
||||
gnutls? ( >=net-libs/gnutls-2.12.23-r6:=[${MULTILIB_USEDEP}] )
|
||||
gsm? ( >=media-sound/gsm-1.0.13-r1[${MULTILIB_USEDEP}] )
|
||||
iconv? ( >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] )
|
||||
iec61883? (
|
||||
>=media-libs/libiec61883-1.2.0-r1[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/libavc1394-0.5.4-r1[${MULTILIB_USEDEP}]
|
||||
)
|
||||
ieee1394? (
|
||||
>=media-libs/libdc1394-2.2.1[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}]
|
||||
)
|
||||
jack? ( virtual/jack[${MULTILIB_USEDEP}] )
|
||||
jpeg2k? ( >=media-libs/openjpeg-2:2[${MULTILIB_USEDEP}] )
|
||||
libass? ( >=media-libs/libass-0.10.2:=[${MULTILIB_USEDEP}] )
|
||||
libcaca? ( >=media-libs/libcaca-0.99_beta18-r1[${MULTILIB_USEDEP}] )
|
||||
libilbc? ( >=media-libs/libilbc-2[${MULTILIB_USEDEP}] )
|
||||
libsoxr? ( >=media-libs/soxr-0.1.0[${MULTILIB_USEDEP}] )
|
||||
libv4l? ( >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}] )
|
||||
lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] )
|
||||
mmal? ( media-libs/raspberrypi-userland )
|
||||
modplug? ( >=media-libs/libmodplug-0.8.8.4-r1[${MULTILIB_USEDEP}] )
|
||||
openal? ( >=media-libs/openal-1.15.1[${MULTILIB_USEDEP}] )
|
||||
opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
|
||||
openssl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
|
||||
opus? ( >=media-libs/opus-1.0.2-r2[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
|
||||
librtmp? ( >=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}] )
|
||||
rubberband? ( >=media-libs/rubberband-1.8.1-r1[${MULTILIB_USEDEP}] )
|
||||
samba? ( >=net-fs/samba-3.6.23-r1[${MULTILIB_USEDEP}] )
|
||||
schroedinger? ( >=media-libs/schroedinger-1.0.11-r1[${MULTILIB_USEDEP}] )
|
||||
sdl? ( media-libs/libsdl2[sound,video,${MULTILIB_USEDEP}] )
|
||||
speex? ( >=media-libs/speex-1.2_rc1-r1[${MULTILIB_USEDEP}] )
|
||||
ssh? ( >=net-libs/libssh-0.5.5[${MULTILIB_USEDEP}] )
|
||||
truetype? ( >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}] )
|
||||
vaapi? ( >=x11-libs/libva-1.2.1-r1[${MULTILIB_USEDEP}] )
|
||||
vdpau? ( >=x11-libs/libvdpau-0.7[${MULTILIB_USEDEP}] )
|
||||
vorbis? (
|
||||
>=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}]
|
||||
>=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
vpx? ( >=media-libs/libvpx-1.4.0:=[${MULTILIB_USEDEP}] )
|
||||
X? (
|
||||
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
|
||||
!xcb? ( >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}] )
|
||||
>=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}]
|
||||
)
|
||||
xcb? ( >=x11-libs/libxcb-1.4[${MULTILIB_USEDEP}] )
|
||||
zimg? ( media-libs/zimg[${MULTILIB_USEDEP}] )
|
||||
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
zvbi? ( >=media-libs/zvbi-0.2.35[${MULTILIB_USEDEP}] )
|
||||
!media-video/qt-faststart
|
||||
postproc? ( !media-libs/libpostproc )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/make-3.81
|
||||
doc? ( sys-apps/texinfo )
|
||||
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
|
||||
ladspa? ( >=media-libs/ladspa-sdk-1.13-r2[${MULTILIB_USEDEP}] )
|
||||
cpu_flags_x86_mmx? ( >=dev-lang/yasm-1.2 )
|
||||
test? ( net-misc/wget sys-devel/bc )
|
||||
v4l? ( sys-kernel/linux-headers )
|
||||
"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20140508-r3
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
|
||||
# Code requiring FFmpeg to be built under gpl license
|
||||
GPL_REQUIRED_USE="
|
||||
postproc? ( gpl )
|
||||
frei0r? ( gpl )
|
||||
cdio? ( gpl )
|
||||
samba? ( gpl )
|
||||
encode? (
|
||||
x264? ( gpl )
|
||||
x265? ( gpl )
|
||||
xvid? ( gpl )
|
||||
X? ( !xcb? ( gpl ) )
|
||||
)
|
||||
"
|
||||
REQUIRED_USE="
|
||||
libv4l? ( v4l )
|
||||
fftools_cws2fws? ( zlib )
|
||||
test? ( encode )
|
||||
${GPL_REQUIRED_USE}
|
||||
${CPU_REQUIRED_USE}"
|
||||
RESTRICT="
|
||||
gpl? ( openssl? ( bindist ) fdk? ( bindist ) )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${P/_/-}
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/libavutil/avconfig.h
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
if [[ "${PV%_p*}" != "${PV}" ]] ; then # Snapshot
|
||||
export revision=git-N-${FFMPEG_REVISION}
|
||||
fi
|
||||
default
|
||||
|
||||
# the version script on Solaris causes invalid symbol version problems
|
||||
# we don't want their hacky workarounds, we're having a GNU ld
|
||||
sed -i -e 's/sunos)/sunos) network_extralibs="-lsocket -lnsl"; add_cppflags -D__EXTENSIONS__; enable pic; disable symver ;; no-sunos)/' configure || die
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=( ${EXTRA_FFMPEG_CONF} )
|
||||
|
||||
local ffuse=( "${FFMPEG_FLAG_MAP[@]}" )
|
||||
use openssl && use gpl && myconf+=( --enable-nonfree )
|
||||
use samba && myconf+=( --enable-version3 )
|
||||
|
||||
# Encoders
|
||||
if use encode ; then
|
||||
ffuse+=( "${FFMPEG_ENCODER_FLAG_MAP[@]}" )
|
||||
|
||||
# Licensing.
|
||||
if use amrenc ; then
|
||||
myconf+=( --enable-version3 )
|
||||
fi
|
||||
else
|
||||
myconf+=( --disable-encoders )
|
||||
fi
|
||||
|
||||
# Indevs
|
||||
use v4l || myconf+=( --disable-indev=v4l2 --disable-outdev=v4l2 )
|
||||
for i in alsa oss jack ; do
|
||||
use ${i} || myconf+=( --disable-indev=${i} )
|
||||
done
|
||||
use xcb || ffuse+=( X:x11grab )
|
||||
|
||||
# Outdevs
|
||||
for i in alsa oss sdl ; do
|
||||
use ${i} || myconf+=( --disable-outdev=${i} )
|
||||
done
|
||||
|
||||
# Decoders
|
||||
use amr && myconf+=( --enable-version3 )
|
||||
use gmp && myconf+=( --enable-version3 )
|
||||
use fdk && use gpl && myconf+=( --enable-nonfree )
|
||||
|
||||
for i in "${ffuse[@]#+}" ; do
|
||||
myconf+=( $(use_enable ${i%:*} ${i#*:}) )
|
||||
done
|
||||
|
||||
# (temporarily) disable non-multilib deps
|
||||
if ! multilib_is_native_abi; then
|
||||
for i in frei0r ; do
|
||||
myconf+=( --disable-${i} )
|
||||
done
|
||||
fi
|
||||
|
||||
# CPU features
|
||||
for i in ${CPU_FEATURES_MAP} ; do
|
||||
if [ "$(tc-arch)" = "${i%:*}" ] ; then
|
||||
local var="${i#*:}_CPU_FEATURES[@]"
|
||||
for j in ${!var} ; do
|
||||
use ${j%:*} || myconf+=( --disable-${j#*:} )
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
||||
if use pic ; then
|
||||
myconf+=( --enable-pic )
|
||||
# disable asm code if PIC is required
|
||||
# as the provided asm decidedly is not PIC for x86.
|
||||
[[ ${ABI} == x86 ]] && myconf+=( --disable-asm )
|
||||
fi
|
||||
[[ ${ABI} == x32 ]] && myconf+=( --disable-asm ) #427004
|
||||
|
||||
# Try to get cpu type based on CFLAGS.
|
||||
# Bug #172723
|
||||
# We need to do this so that features of that CPU will be better used
|
||||
# If they contain an unknown CPU it will not hurt since ffmpeg's configure
|
||||
# will just ignore it.
|
||||
for i in $(get-flag mcpu) $(get-flag march) ; do
|
||||
[[ ${i} = native ]] && i="host" # bug #273421
|
||||
myconf+=( --cpu=${i} )
|
||||
break
|
||||
done
|
||||
|
||||
# LTO support, bug #566282
|
||||
is-flagq "-flto*" && myconf+=( "--enable-lto" )
|
||||
|
||||
# Mandatory configuration
|
||||
myconf=(
|
||||
--enable-avfilter
|
||||
--enable-avresample
|
||||
--disable-stripping
|
||||
"${myconf[@]}"
|
||||
)
|
||||
|
||||
# cross compile support
|
||||
if tc-is-cross-compiler ; then
|
||||
myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
|
||||
case ${CHOST} in
|
||||
*freebsd*)
|
||||
myconf+=( --target-os=freebsd )
|
||||
;;
|
||||
*mingw32*)
|
||||
myconf+=( --target-os=mingw32 )
|
||||
;;
|
||||
*linux*)
|
||||
myconf+=( --target-os=linux )
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# doc
|
||||
myconf+=(
|
||||
$(multilib_native_use_enable doc)
|
||||
$(multilib_native_use_enable doc htmlpages)
|
||||
$(multilib_native_enable manpages)
|
||||
)
|
||||
|
||||
set -- "${S}/configure" \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
--shlibdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}/html" \
|
||||
--mandir="${EPREFIX}/usr/share/man" \
|
||||
--enable-shared \
|
||||
--cc="$(tc-getCC)" \
|
||||
--cxx="$(tc-getCXX)" \
|
||||
--ar="$(tc-getAR)" \
|
||||
--optflags="${CFLAGS}" \
|
||||
$(use_enable static-libs static) \
|
||||
"${myconf[@]}"
|
||||
echo "${@}"
|
||||
"${@}" || die
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake V=1
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
for i in "${FFTOOLS[@]}" ; do
|
||||
if use fftools_${i} ; then
|
||||
emake V=1 tools/${i}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake V=1 DESTDIR="${D}" install install-doc
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
for i in "${FFTOOLS[@]}" ; do
|
||||
if use fftools_${i} ; then
|
||||
dobin tools/${i}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc Changelog README.md CREDITS doc/*.txt doc/APIchanges
|
||||
[ -f "RELEASE_NOTES" ] && dodoc "RELEASE_NOTES"
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
LD_LIBRARY_PATH="${BUILD_DIR}/libpostproc:${BUILD_DIR}/libswscale:${BUILD_DIR}/libswresample:${BUILD_DIR}/libavcodec:${BUILD_DIR}/libavdevice:${BUILD_DIR}/libavfilter:${BUILD_DIR}/libavformat:${BUILD_DIR}/libavutil:${BUILD_DIR}/libavresample" \
|
||||
emake V=1 fate
|
||||
}
|
@ -1 +1 @@
|
||||
Wed, 17 May 2017 06:09:16 +0000
|
||||
Wed, 17 May 2017 08:09:17 +0000
|
||||
|
@ -1 +1 @@
|
||||
Wed, 17 May 2017 06:09:16 +0000
|
||||
Wed, 17 May 2017 08:09:17 +0000
|
||||
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=install postinst postrm preinst unpack
|
||||
DEPEND=>=sys-apps/sed-4
|
||||
DESCRIPTION=Easy way to install DLLs needed to work around problems in Wine
|
||||
EAPI=6
|
||||
HOMEPAGE=http://winetricks.org http://wiki.winehq.org/winetricks
|
||||
IUSE=gtk kde rar
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=LGPL-2.1+
|
||||
RDEPEND=app-arch/cabextract app-arch/p7zip app-arch/unzip net-misc/wget x11-misc/xdg-utils || ( app-emulation/wine virtual/wine ) gtk? ( gnome-extra/zenity ) kde? ( kde-apps/kdialog ) rar? ( app-arch/unrar )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/Winetricks/winetricks/archive/20170517.tar.gz -> winetricks-20170517.tar.gz gtk? ( https://dev.gentoo.org/~tetromino/distfiles/wine/winetricks-gentoo-2012.11.24.tar.bz2 ) kde? ( https://dev.gentoo.org/~tetromino/distfiles/wine/winetricks-gentoo-2012.11.24.tar.bz2 )
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea gnome2-utils 8a5e0bf2b8031478ecfeaec753ef4560 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils b9389dfad0ee8f8e0b2a41b79fcf7120
|
||||
_md5_=2b038b410ddaea76e6c624254830a313
|
@ -1,13 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare test unpack
|
||||
DEPEND=gtk? ( dev-ml/lablgtk:= ) x11-libs/cairo >=dev-ml/findlib-1.0.4-r1 >=dev-lang/ocaml-3.12:=[ocamlopt?] dev-ml/ocamlbuild
|
||||
DEPEND=gtk? ( dev-ml/lablgtk:= ) x11-libs/cairo[svg(+)] >=dev-ml/findlib-1.0.4-r1 >=dev-lang/ocaml-3.12:=[ocamlopt?] dev-ml/ocamlbuild
|
||||
DESCRIPTION=OCaml Binding to Cairo
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/Chris00/ocaml-cairo
|
||||
IUSE=gtk +ocamlopt debug doc
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=LGPL-3-with-linking-exception
|
||||
RDEPEND=gtk? ( dev-ml/lablgtk:= ) x11-libs/cairo >=dev-lang/ocaml-3.12:=[ocamlopt?]
|
||||
RDEPEND=gtk? ( dev-ml/lablgtk:= ) x11-libs/cairo[svg(+)] >=dev-lang/ocaml-3.12:=[ocamlopt?]
|
||||
SLOT=0/0.5
|
||||
SRC_URI=https://github.com/Chris00/ocaml-cairo/releases/download/0.5/cairo2-0.5.tar.gz -> ocaml-cairo-0.5.tar.gz
|
||||
_eclasses_=base df2aa567b3f0595aae0d0923889f7631 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea findlib 45d6030075064a68da8d7143726a1150 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e oasis 9256ed89af74c3365ec888c00bfdfe43 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee
|
||||
_md5_=e398e5844839839cc8bae61044949bda
|
||||
_md5_=cfb314e28d4a1ba4719fb56785be5058
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=configure install postinst preinst prepare setup
|
||||
DEPEND=sys-libs/zlib dev-libs/libpcre >=dev-libs/cyrus-sasl-2.1.13 dev-libs/jansson afs? ( net-fs/openafs ) berkdb? ( >=sys-libs/db-3.2:* ) clamav? ( app-antivirus/clamav ) http? ( dev-libs/libxml2 dev-libs/libical ) kerberos? ( virtual/krb5 ) mysql? ( >=virtual/mysql-5.5 ) nntp? ( !net-nntp/leafnode ) pam? ( virtual/pam >=net-mail/mailbase-1 ) postgres? ( dev-db/postgresql:* ) snmp? ( >=net-analyzer/net-snmp-5.2.2-r1 ) sqlite? ( dev-db/sqlite:3 ) ssl? ( >=dev-libs/openssl-1.0.1e:0[-bindist] ) tcpd? ( >=sys-apps/tcp-wrappers-7.6 snmp? ( net-analyzer/net-snmp[tcpd=] ) ) >=app-portage/elt-patches-20170317 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 ssl? ( || ( dev-libs/openssl:0 dev-libs/libressl:0 ) )
|
||||
DESCRIPTION=The Cyrus IMAP Server
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.cyrusimap.org/
|
||||
IUSE=afs berkdb clamav http kerberos mysql nntp pam perl postgres replication +server sieve snmp sqlite ssl static-libs tcpd ssl
|
||||
KEYWORDS=~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86
|
||||
LICENSE=BSD-with-attribution
|
||||
RDEPEND=sys-libs/zlib dev-libs/libpcre >=dev-libs/cyrus-sasl-2.1.13 dev-libs/jansson afs? ( net-fs/openafs ) berkdb? ( >=sys-libs/db-3.2:* ) clamav? ( app-antivirus/clamav ) http? ( dev-libs/libxml2 dev-libs/libical ) kerberos? ( virtual/krb5 ) mysql? ( >=virtual/mysql-5.5 ) nntp? ( !net-nntp/leafnode ) pam? ( virtual/pam >=net-mail/mailbase-1 ) postgres? ( dev-db/postgresql:* ) snmp? ( >=net-analyzer/net-snmp-5.2.2-r1 ) sqlite? ( dev-db/sqlite:3 ) ssl? ( >=dev-libs/openssl-1.0.1e:0[-bindist] ) tcpd? ( >=sys-apps/tcp-wrappers-7.6 snmp? ( net-analyzer/net-snmp[tcpd=] ) ) !mail-mta/courier !net-mail/bincimap !net-mail/courier-imap !net-mail/uw-imap !net-mail/cyrus-imap-admin
|
||||
REQUIRED_USE=afs? ( kerberos )
|
||||
SLOT=0
|
||||
SRC_URI=ftp://ftp.cyrusimap.org/cyrus-imapd/cyrus-imapd-2.5.7.tar.gz
|
||||
_eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea flag-o-matic 61cad4fb5d800b29d484b27cb033f59b libtool e32ea84bf82cf8987965b574672dba93 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e pam 3e788d86170dfcd5b06824d898315e18 ssl-cert 68c8dc51fe1bb63d933af89d431e9132 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee user e4b567c44272a719fabf53f0f885d3f7
|
||||
_md5_=b940570f202b2077d97f7037479219f0
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=configure install postinst preinst prepare setup
|
||||
DEPEND=sys-libs/zlib dev-libs/libpcre >=dev-libs/cyrus-sasl-2.1.13 dev-libs/jansson afs? ( net-fs/openafs ) berkdb? ( >=sys-libs/db-3.2:* ) clamav? ( app-antivirus/clamav ) http? ( dev-libs/libxml2 dev-libs/libical ) kerberos? ( virtual/krb5 ) mysql? ( >=virtual/mysql-5.5 ) nntp? ( !net-nntp/leafnode ) pam? ( virtual/pam >=net-mail/mailbase-1 ) postgres? ( dev-db/postgresql:* ) snmp? ( >=net-analyzer/net-snmp-5.2.2-r1 ) sqlite? ( dev-db/sqlite:3 ) ssl? ( >=dev-libs/openssl-1.0.1e:0[-bindist] ) tcpd? ( >=sys-apps/tcp-wrappers-7.6 snmp? ( net-analyzer/net-snmp[tcpd=] ) ) >=app-portage/elt-patches-20170317 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 ssl? ( || ( dev-libs/openssl:0 dev-libs/libressl:0 ) )
|
||||
DESCRIPTION=The Cyrus IMAP Server
|
||||
EAPI=6
|
||||
HOMEPAGE=http://www.cyrusimap.org/
|
||||
IUSE=afs berkdb clamav http kerberos mysql nntp pam perl postgres replication +server sieve snmp sqlite ssl static-libs tcpd ssl
|
||||
KEYWORDS=~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86
|
||||
LICENSE=BSD-with-attribution
|
||||
RDEPEND=sys-libs/zlib dev-libs/libpcre >=dev-libs/cyrus-sasl-2.1.13 dev-libs/jansson afs? ( net-fs/openafs ) berkdb? ( >=sys-libs/db-3.2:* ) clamav? ( app-antivirus/clamav ) http? ( dev-libs/libxml2 dev-libs/libical ) kerberos? ( virtual/krb5 ) mysql? ( >=virtual/mysql-5.5 ) nntp? ( !net-nntp/leafnode ) pam? ( virtual/pam >=net-mail/mailbase-1 ) postgres? ( dev-db/postgresql:* ) snmp? ( >=net-analyzer/net-snmp-5.2.2-r1 ) sqlite? ( dev-db/sqlite:3 ) ssl? ( >=dev-libs/openssl-1.0.1e:0[-bindist] ) tcpd? ( >=sys-apps/tcp-wrappers-7.6 snmp? ( net-analyzer/net-snmp[tcpd=] ) ) !mail-mta/courier !net-mail/bincimap !net-mail/courier-imap !net-mail/uw-imap !net-mail/cyrus-imap-admin
|
||||
REQUIRED_USE=afs? ( kerberos )
|
||||
SLOT=0
|
||||
SRC_URI=ftp://ftp.cyrusimap.org/cyrus-imapd/cyrus-imapd-2.5.8.tar.gz
|
||||
_eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea flag-o-matic 61cad4fb5d800b29d484b27cb033f59b libtool e32ea84bf82cf8987965b574672dba93 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e pam 3e788d86170dfcd5b06824d898315e18 ssl-cert 68c8dc51fe1bb63d933af89d431e9132 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee user e4b567c44272a719fabf53f0f885d3f7
|
||||
_md5_=f1e1704e4df55373779054c88171a02c
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=configure install postinst preinst prepare setup
|
||||
DEPEND=sys-libs/zlib dev-libs/libpcre >=dev-libs/cyrus-sasl-2.1.13 dev-libs/jansson afs? ( net-fs/openafs ) berkdb? ( >=sys-libs/db-3.2:* ) clamav? ( app-antivirus/clamav ) http? ( dev-libs/libxml2 dev-libs/libical ) kerberos? ( virtual/krb5 ) mysql? ( >=virtual/mysql-5.5 ) nntp? ( !net-nntp/leafnode ) pam? ( virtual/pam >=net-mail/mailbase-1 ) postgres? ( dev-db/postgresql:* ) snmp? ( >=net-analyzer/net-snmp-5.2.2-r1 ) sqlite? ( dev-db/sqlite:3 ) ssl? ( >=dev-libs/openssl-1.0.1e:0[-bindist] ) tcpd? ( >=sys-apps/tcp-wrappers-7.6 snmp? ( net-analyzer/net-snmp[tcpd=] ) ) >=app-portage/elt-patches-20170317 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 ssl? ( || ( dev-libs/openssl:0 dev-libs/libressl:0 ) )
|
||||
DESCRIPTION=The Cyrus IMAP Server
|
||||
EAPI=6
|
||||
HOMEPAGE=http://www.cyrusimap.org/
|
||||
IUSE=afs berkdb clamav http kerberos mysql nntp pam perl postgres replication +server sieve snmp sqlite ssl static-libs tcpd ssl
|
||||
KEYWORDS=~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86
|
||||
LICENSE=BSD-with-attribution
|
||||
RDEPEND=sys-libs/zlib dev-libs/libpcre >=dev-libs/cyrus-sasl-2.1.13 dev-libs/jansson afs? ( net-fs/openafs ) berkdb? ( >=sys-libs/db-3.2:* ) clamav? ( app-antivirus/clamav ) http? ( dev-libs/libxml2 dev-libs/libical ) kerberos? ( virtual/krb5 ) mysql? ( >=virtual/mysql-5.5 ) nntp? ( !net-nntp/leafnode ) pam? ( virtual/pam >=net-mail/mailbase-1 ) postgres? ( dev-db/postgresql:* ) snmp? ( >=net-analyzer/net-snmp-5.2.2-r1 ) sqlite? ( dev-db/sqlite:3 ) ssl? ( >=dev-libs/openssl-1.0.1e:0[-bindist] ) tcpd? ( >=sys-apps/tcp-wrappers-7.6 snmp? ( net-analyzer/net-snmp[tcpd=] ) ) !mail-mta/courier !net-mail/bincimap !net-mail/courier-imap !net-mail/uw-imap !net-mail/cyrus-imap-admin
|
||||
REQUIRED_USE=afs? ( kerberos ) http? ( sqlite )
|
||||
SLOT=0
|
||||
SRC_URI=ftp://ftp.cyrusimap.org/cyrus-imapd/cyrus-imapd-2.5.9.tar.gz
|
||||
_eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea flag-o-matic 61cad4fb5d800b29d484b27cb033f59b libtool e32ea84bf82cf8987965b574672dba93 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e pam 3e788d86170dfcd5b06824d898315e18 ssl-cert 68c8dc51fe1bb63d933af89d431e9132 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee user e4b567c44272a719fabf53f0f885d3f7
|
||||
_md5_=9837d2cda3199f7d6ace6fcaef611bcc
|
@ -0,0 +1,11 @@
|
||||
DEFINED_PHASES=install
|
||||
DEPEND=>=dev-libs/glib-2.20:= >=x11-libs/gtk+-3.20:3= >=xfce-base/libxfce4ui-4.12:=[gtk3(+)] >=xfce-base/xfce4-panel-4.12:= dev-util/intltool sys-devel/gettext virtual/pkgconfig
|
||||
DESCRIPTION=A panel plugin for showing information about cpufreq settings
|
||||
EAPI=6
|
||||
HOMEPAGE=https://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin
|
||||
KEYWORDS=~amd64 ~arm ~ppc ~ppc64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=dev-libs/glib-2.20:= >=x11-libs/gtk+-3.20:3= >=xfce-base/libxfce4ui-4.12:=[gtk3(+)] >=xfce-base/xfce4-panel-4.12:=
|
||||
SLOT=0
|
||||
SRC_URI=mirror://xfce/src/panel-plugins/xfce4-cpufreq-plugin/1.1/xfce4-cpufreq-plugin-1.1.90.tar.bz2
|
||||
_md5_=436dd237509f0a628560a74014cc8dd4
|
@ -1 +1 @@
|
||||
Wed, 17 May 2017 06:09:16 +0000
|
||||
Wed, 17 May 2017 08:09:17 +0000
|
||||
|
@ -1 +1 @@
|
||||
Wed May 17 06:09:16 UTC 2017
|
||||
Wed May 17 08:09:17 UTC 2017
|
||||
|
@ -1 +1 @@
|
||||
Wed, 17 May 2017 06:30:01 +0000
|
||||
Wed, 17 May 2017 08:30:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
c90dc4b44be2a42bb16c29c2f4d795ea959c28b9 1494997616 2017-05-17T05:06:56+00:00
|
||||
819a75efd79255da6643bd965452255c23373d51 1495007279 2017-05-17T07:47:59+00:00
|
||||
|
@ -1 +1 @@
|
||||
1495001101 Wed 17 May 2017 06:05:01 AM UTC
|
||||
1495008301 Wed 17 May 2017 08:05:01 AM UTC
|
||||
|
@ -1 +1 @@
|
||||
Wed, 17 May 2017 06:09:16 +0000
|
||||
Wed, 17 May 2017 08:09:17 +0000
|
||||
|
@ -1,177 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils multilib pam ssl-cert user toolchain-funcs
|
||||
|
||||
MY_P=${P/_/}
|
||||
|
||||
DESCRIPTION="The Cyrus IMAP Server"
|
||||
HOMEPAGE="http://www.cyrusimap.org/"
|
||||
SRC_URI="ftp://ftp.cyrusimap.org/cyrus-imapd/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-with-attribution"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="afs berkdb clamav http kerberos mysql nntp pam perl postgres \
|
||||
replication +server sieve snmp sqlite ssl static-libs tcpd"
|
||||
|
||||
# virtual/mysql-5.5 added for the --variable= option below
|
||||
DEPEND="sys-libs/zlib
|
||||
dev-libs/libpcre
|
||||
>=dev-libs/cyrus-sasl-2.1.13
|
||||
dev-libs/jansson
|
||||
afs? ( net-fs/openafs )
|
||||
berkdb? ( >=sys-libs/db-3.2:* )
|
||||
clamav? ( app-antivirus/clamav )
|
||||
http? ( dev-libs/libxml2 dev-libs/libical )
|
||||
kerberos? ( virtual/krb5 )
|
||||
mysql? ( >=virtual/mysql-5.5 )
|
||||
nntp? ( !net-nntp/leafnode )
|
||||
pam? (
|
||||
virtual/pam
|
||||
>=net-mail/mailbase-1
|
||||
)
|
||||
postgres? ( dev-db/postgresql:* )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2.2-r1 )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
ssl? ( >=dev-libs/openssl-1.0.1e:0[-bindist] )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 snmp? ( net-analyzer/net-snmp[tcpd=] ) )"
|
||||
|
||||
# all blockers really needed?
|
||||
RDEPEND="${DEPEND}
|
||||
!mail-mta/courier
|
||||
!net-mail/bincimap
|
||||
!net-mail/courier-imap
|
||||
!net-mail/uw-imap
|
||||
!net-mail/cyrus-imap-admin"
|
||||
|
||||
REQUIRED_USE="afs? ( kerberos )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewuser cyrus -1 -1 /usr/cyrus mail
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-db.patch"
|
||||
# Fix master(8)->cyrusmaster(8) manpage.
|
||||
for i in `grep -rl -e 'master\.8' -e 'master(8)' "${S}"` ; do
|
||||
sed -i -e 's:master\.8:cyrusmaster.8:g' \
|
||||
-e 's:master(8):cyrusmaster(8):g' \
|
||||
"${i}" || die "sed failed" || die "sed failed"
|
||||
done
|
||||
mv man/master.8 man/cyrusmaster.8 || die "mv failed"
|
||||
sed -i -e "s:MASTER:CYRUSMASTER:g" \
|
||||
-e "s:Master:Cyrusmaster:g" \
|
||||
-e "s:master:cyrusmaster:g" \
|
||||
man/cyrusmaster.8 || die "sed failed"
|
||||
|
||||
# lock.h to afs/lock.h
|
||||
sed -i -e '/lock.h/s:lock.h:afs/lock.h:' \
|
||||
ptclient/afskrb.c || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
if use afs ; then
|
||||
myconf+=" --with-afs-libdir=/usr/$(get_libdir)"
|
||||
myconf+=" --with-afs-incdir=/usr/include/afs"
|
||||
fi
|
||||
econf \
|
||||
--enable-murder \
|
||||
--enable-netscapehack \
|
||||
--enable-idled \
|
||||
--enable-event-notification \
|
||||
--enable-autocreate \
|
||||
--enable-pcre \
|
||||
--with-service-path=/usr/$(get_libdir)/cyrus \
|
||||
--with-cyrus-user=cyrus \
|
||||
--with-cyrus-group=mail \
|
||||
--with-com_err=yes \
|
||||
--with-sasl \
|
||||
--without-krb \
|
||||
--without-krbdes \
|
||||
--with-zlib \
|
||||
$(use_enable afs) \
|
||||
$(use_enable afs krb5afspts) \
|
||||
$(use_with berkdb bdb) \
|
||||
$(use_with clamav) \
|
||||
$(use_enable nntp) \
|
||||
$(use_enable http) \
|
||||
$(use_enable replication) \
|
||||
$(use_enable kerberos gssapi) \
|
||||
$(use_with mysql) \
|
||||
$(use_with postgres pgsql) \
|
||||
$(use_with perl) \
|
||||
$(use_with sqlite) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable server) \
|
||||
$(use_enable sieve) \
|
||||
$(use_with snmp) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with tcpd libwrap) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" INSTALLDIRS=vendor install
|
||||
|
||||
dodoc README*
|
||||
dohtml doc/*.html
|
||||
docinto text
|
||||
dodoc doc/text/*
|
||||
cp doc/cyrusv2.mc "${D}/usr/share/doc/${PF}/html"
|
||||
cp -r contrib tools "${D}/usr/share/doc/${PF}"
|
||||
rm -f doc/text/Makefile*
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}/cyrus.conf" "${FILESDIR}/imapd.conf"
|
||||
|
||||
# turn off sieve if not installed
|
||||
if ! use sieve; then
|
||||
sed -i -e "/sieve/s/^/#/" "${D}/etc/cyrus.conf" || die
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}/cyrus.rc6" cyrus
|
||||
newconfd "${FILESDIR}/cyrus.confd" cyrus
|
||||
newpamd "${FILESDIR}/cyrus.pam-include" sieve
|
||||
|
||||
for subdir in imap/{,db,log,msg,proc,socket,sieve} spool/imap/{,stage.} ; do
|
||||
keepdir "/var/${subdir}"
|
||||
fowners cyrus:mail "/var/${subdir}"
|
||||
fperms 0750 "/var/${subdir}"
|
||||
done
|
||||
for subdir in imap/{user,quota,sieve} spool/imap ; do
|
||||
for i in a b c d e f g h i j k l m n o p q r s t v u w x y z ; do
|
||||
keepdir "/var/${subdir}/${i}"
|
||||
fowners cyrus:mail "/var/${subdir}/${i}"
|
||||
fperms 0750 "/var/${subdir}/${i}"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if ! has_version ${CATEGORY}/${PN} ; then
|
||||
elog "For correct logging add the following to /etc/syslog.conf:"
|
||||
elog " local6.* /var/log/imapd.log"
|
||||
elog " auth.debug /var/log/auth.log"
|
||||
echo
|
||||
|
||||
elog "You have to add user cyrus to the sasldb2. Do this with:"
|
||||
elog " saslpasswd2 cyrus"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# do not install server.{key,pem) if they exist.
|
||||
if use ssl ; then
|
||||
if [ ! -f "${ROOT}"etc/ssl/cyrus/server.key ]; then
|
||||
install_cert /etc/ssl/cyrus/server
|
||||
chown cyrus:mail "${ROOT}"etc/ssl/cyrus/server.{key,pem}
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,176 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit autotools multilib pam ssl-cert user toolchain-funcs
|
||||
|
||||
MY_P=${P/_/}
|
||||
|
||||
DESCRIPTION="The Cyrus IMAP Server"
|
||||
HOMEPAGE="http://www.cyrusimap.org/"
|
||||
SRC_URI="ftp://ftp.cyrusimap.org/cyrus-imapd/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-with-attribution"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="afs berkdb clamav http kerberos mysql nntp pam perl postgres \
|
||||
replication +server sieve snmp sqlite ssl static-libs tcpd"
|
||||
|
||||
# virtual/mysql-5.5 added for the --variable= option below
|
||||
DEPEND="sys-libs/zlib
|
||||
dev-libs/libpcre
|
||||
>=dev-libs/cyrus-sasl-2.1.13
|
||||
dev-libs/jansson
|
||||
afs? ( net-fs/openafs )
|
||||
berkdb? ( >=sys-libs/db-3.2:* )
|
||||
clamav? ( app-antivirus/clamav )
|
||||
http? ( dev-libs/libxml2 dev-libs/libical )
|
||||
kerberos? ( virtual/krb5 )
|
||||
mysql? ( >=virtual/mysql-5.5 )
|
||||
nntp? ( !net-nntp/leafnode )
|
||||
pam? (
|
||||
virtual/pam
|
||||
>=net-mail/mailbase-1
|
||||
)
|
||||
postgres? ( dev-db/postgresql:* )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2.2-r1 )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
ssl? ( >=dev-libs/openssl-1.0.1e:0[-bindist] )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 snmp? ( net-analyzer/net-snmp[tcpd=] ) )"
|
||||
|
||||
# all blockers really needed?
|
||||
RDEPEND="${DEPEND}
|
||||
!mail-mta/courier
|
||||
!net-mail/bincimap
|
||||
!net-mail/courier-imap
|
||||
!net-mail/uw-imap
|
||||
!net-mail/cyrus-imap-admin"
|
||||
|
||||
REQUIRED_USE="afs? ( kerberos )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewuser cyrus -1 -1 /usr/cyrus mail
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply -p0 "${FILESDIR}/${PN}-db.patch"
|
||||
# Fix master(8)->cyrusmaster(8) manpage.
|
||||
for i in `grep -rl -e 'master\.8' -e 'master(8)' "${S}"` ; do
|
||||
sed -i -e 's:master\.8:cyrusmaster.8:g' \
|
||||
-e 's:master(8):cyrusmaster(8):g' \
|
||||
"${i}" || die "sed failed" || die "sed failed"
|
||||
done
|
||||
mv man/master.8 man/cyrusmaster.8 || die "mv failed"
|
||||
sed -i -e "s:MASTER:CYRUSMASTER:g" \
|
||||
-e "s:Master:Cyrusmaster:g" \
|
||||
-e "s:master:cyrusmaster:g" \
|
||||
man/cyrusmaster.8 || die "sed failed"
|
||||
|
||||
# lock.h to afs/lock.h
|
||||
sed -i -e '/lock.h/s:lock.h:afs/lock.h:' \
|
||||
ptclient/afskrb.c || die
|
||||
|
||||
eapply_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
if use afs ; then
|
||||
myconf+=" --with-afs-libdir=/usr/$(get_libdir)"
|
||||
myconf+=" --with-afs-incdir=/usr/include/afs"
|
||||
fi
|
||||
econf \
|
||||
--enable-murder \
|
||||
--enable-netscapehack \
|
||||
--enable-idled \
|
||||
--enable-event-notification \
|
||||
--enable-autocreate \
|
||||
--enable-pcre \
|
||||
--with-service-path=/usr/$(get_libdir)/cyrus \
|
||||
--with-cyrus-user=cyrus \
|
||||
--with-cyrus-group=mail \
|
||||
--with-com_err=yes \
|
||||
--with-sasl \
|
||||
--without-krb \
|
||||
--without-krbdes \
|
||||
--with-zlib \
|
||||
$(use_enable afs) \
|
||||
$(use_enable afs krb5afspts) \
|
||||
$(use_with berkdb bdb) \
|
||||
$(use_with clamav) \
|
||||
$(use_enable nntp) \
|
||||
$(use_enable http) \
|
||||
$(use_enable replication) \
|
||||
$(use_enable kerberos gssapi) \
|
||||
$(use_with mysql) \
|
||||
$(use_with postgres pgsql) \
|
||||
$(use_with perl) \
|
||||
$(use_with sqlite) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable server) \
|
||||
$(use_enable sieve) \
|
||||
$(use_with snmp) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with tcpd libwrap) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" INSTALLDIRS=vendor install
|
||||
|
||||
dodoc README*
|
||||
dodoc -r doc
|
||||
cp doc/cyrusv2.mc "${D}/usr/share/doc/${PF}/html"
|
||||
cp -r contrib tools "${D}/usr/share/doc/${PF}"
|
||||
rm -f doc/text/Makefile*
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}/cyrus.conf" "${FILESDIR}/imapd.conf"
|
||||
|
||||
# turn off sieve if not installed
|
||||
if ! use sieve; then
|
||||
sed -i -e "/sieve/s/^/#/" "${D}/etc/cyrus.conf" || die
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}/cyrus.rc6" cyrus
|
||||
newconfd "${FILESDIR}/cyrus.confd" cyrus
|
||||
newpamd "${FILESDIR}/cyrus.pam-include" sieve
|
||||
|
||||
for subdir in imap/{,db,log,msg,proc,socket,sieve} spool/imap/{,stage.} ; do
|
||||
keepdir "/var/${subdir}"
|
||||
fowners cyrus:mail "/var/${subdir}"
|
||||
fperms 0750 "/var/${subdir}"
|
||||
done
|
||||
for subdir in imap/{user,quota,sieve} spool/imap ; do
|
||||
for i in a b c d e f g h i j k l m n o p q r s t v u w x y z ; do
|
||||
keepdir "/var/${subdir}/${i}"
|
||||
fowners cyrus:mail "/var/${subdir}/${i}"
|
||||
fperms 0750 "/var/${subdir}/${i}"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if ! has_version ${CATEGORY}/${PN} ; then
|
||||
elog "For correct logging add the following to /etc/syslog.conf:"
|
||||
elog " local6.* /var/log/imapd.log"
|
||||
elog " auth.debug /var/log/auth.log"
|
||||
echo
|
||||
|
||||
elog "You have to add user cyrus to the sasldb2. Do this with:"
|
||||
elog " saslpasswd2 cyrus"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# do not install server.{key,pem) if they exist.
|
||||
if use ssl ; then
|
||||
if [ ! -f "${ROOT}"etc/ssl/cyrus/server.key ]; then
|
||||
install_cert /etc/ssl/cyrus/server
|
||||
chown cyrus:mail "${ROOT}"etc/ssl/cyrus/server.{key,pem}
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,177 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit autotools multilib pam ssl-cert user toolchain-funcs
|
||||
|
||||
MY_P=${P/_/}
|
||||
|
||||
DESCRIPTION="The Cyrus IMAP Server"
|
||||
HOMEPAGE="http://www.cyrusimap.org/"
|
||||
SRC_URI="ftp://ftp.cyrusimap.org/cyrus-imapd/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-with-attribution"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="afs berkdb clamav http kerberos mysql nntp pam perl postgres \
|
||||
replication +server sieve snmp sqlite ssl static-libs tcpd"
|
||||
|
||||
# virtual/mysql-5.5 added for the --variable= option below
|
||||
DEPEND="sys-libs/zlib
|
||||
dev-libs/libpcre
|
||||
>=dev-libs/cyrus-sasl-2.1.13
|
||||
dev-libs/jansson
|
||||
afs? ( net-fs/openafs )
|
||||
berkdb? ( >=sys-libs/db-3.2:* )
|
||||
clamav? ( app-antivirus/clamav )
|
||||
http? ( dev-libs/libxml2 dev-libs/libical )
|
||||
kerberos? ( virtual/krb5 )
|
||||
mysql? ( >=virtual/mysql-5.5 )
|
||||
nntp? ( !net-nntp/leafnode )
|
||||
pam? (
|
||||
virtual/pam
|
||||
>=net-mail/mailbase-1
|
||||
)
|
||||
postgres? ( dev-db/postgresql:* )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2.2-r1 )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
ssl? ( >=dev-libs/openssl-1.0.1e:0[-bindist] )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 snmp? ( net-analyzer/net-snmp[tcpd=] ) )"
|
||||
|
||||
# all blockers really needed?
|
||||
RDEPEND="${DEPEND}
|
||||
!mail-mta/courier
|
||||
!net-mail/bincimap
|
||||
!net-mail/courier-imap
|
||||
!net-mail/uw-imap
|
||||
!net-mail/cyrus-imap-admin"
|
||||
|
||||
REQUIRED_USE="afs? ( kerberos )
|
||||
http? ( sqlite )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewuser cyrus -1 -1 /usr/cyrus mail
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply -p0 "${FILESDIR}/${PN}-db.patch"
|
||||
# Fix master(8)->cyrusmaster(8) manpage.
|
||||
for i in `grep -rl -e 'master\.8' -e 'master(8)' "${S}"` ; do
|
||||
sed -i -e 's:master\.8:cyrusmaster.8:g' \
|
||||
-e 's:master(8):cyrusmaster(8):g' \
|
||||
"${i}" || die "sed failed" || die "sed failed"
|
||||
done
|
||||
mv man/master.8 man/cyrusmaster.8 || die "mv failed"
|
||||
sed -i -e "s:MASTER:CYRUSMASTER:g" \
|
||||
-e "s:Master:Cyrusmaster:g" \
|
||||
-e "s:master:cyrusmaster:g" \
|
||||
man/cyrusmaster.8 || die "sed failed"
|
||||
|
||||
# lock.h to afs/lock.h
|
||||
sed -i -e '/lock.h/s:lock.h:afs/lock.h:' \
|
||||
ptclient/afskrb.c || die
|
||||
|
||||
eapply_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
if use afs ; then
|
||||
myconf+=" --with-afs-libdir=/usr/$(get_libdir)"
|
||||
myconf+=" --with-afs-incdir=/usr/include/afs"
|
||||
fi
|
||||
econf \
|
||||
--enable-murder \
|
||||
--enable-netscapehack \
|
||||
--enable-idled \
|
||||
--enable-event-notification \
|
||||
--enable-autocreate \
|
||||
--enable-pcre \
|
||||
--with-service-path=/usr/$(get_libdir)/cyrus \
|
||||
--with-cyrus-user=cyrus \
|
||||
--with-cyrus-group=mail \
|
||||
--with-com_err=yes \
|
||||
--with-sasl \
|
||||
--without-krb \
|
||||
--without-krbdes \
|
||||
--with-zlib \
|
||||
$(use_enable afs) \
|
||||
$(use_enable afs krb5afspts) \
|
||||
$(use_with berkdb bdb) \
|
||||
$(use_with clamav) \
|
||||
$(use_enable nntp) \
|
||||
$(use_enable http) \
|
||||
$(use_enable replication) \
|
||||
$(use_enable kerberos gssapi) \
|
||||
$(use_with mysql) \
|
||||
$(use_with postgres pgsql) \
|
||||
$(use_with perl) \
|
||||
$(use_with sqlite) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable server) \
|
||||
$(use_enable sieve) \
|
||||
$(use_with snmp) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with tcpd libwrap) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" INSTALLDIRS=vendor install
|
||||
|
||||
dodoc README*
|
||||
dodoc -r doc
|
||||
cp doc/cyrusv2.mc "${D}/usr/share/doc/${PF}/html"
|
||||
cp -r contrib tools "${D}/usr/share/doc/${PF}"
|
||||
rm -f doc/text/Makefile*
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}/cyrus.conf" "${FILESDIR}/imapd.conf"
|
||||
|
||||
# turn off sieve if not installed
|
||||
if ! use sieve; then
|
||||
sed -i -e "/sieve/s/^/#/" "${D}/etc/cyrus.conf" || die
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}/cyrus.rc6" cyrus
|
||||
newconfd "${FILESDIR}/cyrus.confd" cyrus
|
||||
newpamd "${FILESDIR}/cyrus.pam-include" sieve
|
||||
|
||||
for subdir in imap/{,db,log,msg,proc,socket,sieve} spool/imap/{,stage.} ; do
|
||||
keepdir "/var/${subdir}"
|
||||
fowners cyrus:mail "/var/${subdir}"
|
||||
fperms 0750 "/var/${subdir}"
|
||||
done
|
||||
for subdir in imap/{user,quota,sieve} spool/imap ; do
|
||||
for i in a b c d e f g h i j k l m n o p q r s t v u w x y z ; do
|
||||
keepdir "/var/${subdir}/${i}"
|
||||
fowners cyrus:mail "/var/${subdir}/${i}"
|
||||
fperms 0750 "/var/${subdir}/${i}"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if ! has_version ${CATEGORY}/${PN} ; then
|
||||
elog "For correct logging add the following to /etc/syslog.conf:"
|
||||
elog " local6.* /var/log/imapd.log"
|
||||
elog " auth.debug /var/log/auth.log"
|
||||
echo
|
||||
|
||||
elog "You have to add user cyrus to the sasldb2. Do this with:"
|
||||
elog " saslpasswd2 cyrus"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# do not install server.{key,pem) if they exist.
|
||||
if use ssl ; then
|
||||
if [ ! -f "${ROOT}"etc/ssl/cyrus/server.key ]; then
|
||||
install_cert /etc/ssl/cyrus/server
|
||||
chown cyrus:mail "${ROOT}"etc/ssl/cyrus/server.{key,pem}
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST xfce4-cpufreq-plugin-1.1.3.tar.bz2 369419 SHA256 74a162c7e101db0495d5da147aba1f404c33544f04e8c34d7d1d705668102d33 SHA512 fe67abc120c0715b653258abbafab19386289ce0a373e5053e544484219c3b05aafe1e84a23721f6603043db5aac24dc1230f2e7d4974ec483d5120aca11ca25 WHIRLPOOL 15b637c013f57ab8b08db2701eb228c5cee03a0b616be89d229464fed32e885aa3410b1a6a25ad414d1d632c10e88dcf4c6029dc22b836276f1dbd25e92cc3e4
|
||||
DIST xfce4-cpufreq-plugin-1.1.90.tar.bz2 366569 SHA256 dd4ae6aa6cc15be4d280d790f412daab832a00840632ef486b63c42dd1f14daa SHA512 23a70603181c69c25fd55d523f29526b88252203f087132f271cf47376d5d04c5b81615d2aba4c2641c886497323d88301ca0a285b9c0894b0051e913cc9a70e WHIRLPOOL eddab6df9490068d1a02e601c17e5fc0257317e070444a4f7818161dea57589eaa233600cf8272f1d5a2966d51fbf6d2e102fadff60ef20db8167e1f2a6d6279
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="A panel plugin for showing information about cpufreq settings"
|
||||
HOMEPAGE="https://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
|
||||
SRC_URI="mirror://xfce/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.20:=
|
||||
>=x11-libs/gtk+-3.20:3=
|
||||
>=xfce-base/libxfce4ui-4.12:=[gtk3(+)]
|
||||
>=xfce-base/xfce4-panel-4.12:="
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
Loading…
Reference in new issue