parent
ff0e80bf8e
commit
f905a01dff
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit fdo-mime gnome2-utils qmake-utils
|
||||
|
||||
DESCRIPTION="A fullscreen and distraction-free word processor"
|
||||
HOMEPAGE="http://gottcode.org/focuswriter/"
|
||||
SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-3 GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
app-text/hunspell:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtmultimedia:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtsingleapplication[qt5,X]
|
||||
dev-qt/qtwidgets:5
|
||||
sys-libs/zlib
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-qt/qtconcurrent:5
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
DOCS=( ChangeLog CREDITS NEWS README )
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-1.6.0-unbundle-qtsingleapplication.patch" )
|
||||
|
||||
src_configure() {
|
||||
eqmake5 PREFIX="${EPREFIX}/usr"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,11 +1,7 @@
|
||||
DIST q4wine-1.0-r3.tar.bz2 889308 SHA256 9f1319dd0baff3834a3938e0a048c1529cb9ea521158370176b706fce0d4d2ff SHA512 df10a2fbf6874f4c4e02dd9c43031453a46c76f03d83321f2d6e9544d0540dd07da1bc9246767c5c91ce17d67d5d236227294efaed9de09f3d5a18afbd60b224 WHIRLPOOL 51b5b4cfc157da6b99154269ef4ef9f38ff91f861864158b789352505af485d8b523a21c6d4b59544804ed3c15cb1c6c756db3f3203c8e3ba55c8396c3630df3
|
||||
DIST q4wine-1.2-r2.tar.bz2 690922 SHA256 44bac78060233504d0db945533e5da4a92bf8b4ca4ef87928032d14451e42160 SHA512 c47fc3adc756ea4bc33dc10f6de03e0a0e72258d1b4b238930136653a7938869d221ce08f6fcafcd5f012583b28227cf827505a59ee5322e9ab90c2c819fd7cb WHIRLPOOL 564eb944097528248f340ac59462f63bec22211d554ad26f125d46382a30ee2a8b7c8d00dd8874fabe92ae939f6bcf13665158957e0e8dad26e077018e495c0d
|
||||
DIST q4wine-1.3.1.tar.bz2 2863956 SHA256 ba890c8b049cffa261dc0db54ace4d983adcec21cab972e54afb60d9f4fb5ea9 SHA512 ec21d5f05fe322d9632013952c57731a10779fcd578293a7be7515eb3e83bd30bfb3252f795d25cd9da6d4abed54a5de28a32ebea9b300b8eacb39cdea5fd0ef WHIRLPOOL 78d2f2915bd58e0e45b92b6449f670e27ae1eae88de650330292b92cfa794250c27e890c8e042b0464aec9b11d8b40e2bcbb4012ce3c5bad5f4d97e882887442
|
||||
DIST q4wine-1.3.tar.bz2 2819219 SHA256 bb6c0f936cbbb9158982596fb82c2e7a228f07d81af430245197f64c0702423a SHA512 e38cd8c389ec9eb2915b4efb786ba799d61e6c95ec042a746165a2f50de2fc545be2798afe98223aa8410b76ed77e267c99f0ff8f9366f010d2b145ccd8ed34a WHIRLPOOL 581d460f6d84e2ec7ce272352d4db3ae22f06befefbf34bfef72e8bb77cd18c8d8056bcf53389e4f7c1c9265d42c13a6f84704b9a1c8b34977f7d47076084594
|
||||
EBUILD q4wine-1.0-r3.ebuild 1280 SHA256 30251c349b58e156b42ecb3172c5ef99581aea0f7337a375346a509e0df78256 SHA512 f4e699ebdef218bb940887edb6c8b457832ddc19b26eca92cd3d8eb3055caf6c61cc02e5ecd0b19f182c98ed016f2ecb9475eaaaebd68e6845b80d071e32b530 WHIRLPOOL e46c0f4cf8618a6d95b969b5559fb17d29f079c6171cef968bb9476e20a3f7262cc19a10d831de879096cff9ec06b06d836663655bdb74d108daffa1c497e3a4
|
||||
EBUILD q4wine-1.2_p2.ebuild 1706 SHA256 afb26735481b0729f3215f8ae338f33330491a1c5d94fa1f7031521f2b5068ec SHA512 bc587b2362c9c1b48e908f5f05efd8b0083ca29d62f28525ac4431cd1c627f57275528b651c928567c00410144aef5c0854e6c1fd8b8d11e10e8043fbeade9f9 WHIRLPOOL d0f8aeeb61232643f1c5c6a5a2fa6133786fa946d91bbe31cf53291165f140fdeefe0d3c21bffe014be683026f831c060b1e8ca93b0dad2dd24aa40712237f40
|
||||
EBUILD q4wine-1.3.1.ebuild 1389 SHA256 9e0df74608a3ba1b13226cd3373787adbf33f144567d2c4d22b2adee70badbb9 SHA512 96e8a5a6c7a5c97b3e3004ed784b2a960a11659671399306451a780f7a60d3fc0df0edeb70d32231412922a177c21ff2620b48056a6b447f5eca222ff02b22b1 WHIRLPOOL 08fe6c0b2ddb94d576104957df9a46d86d5806fec29393f556ebe3a051b40009ab3ec0d2cd873bd6412f933e891b48bff42f245368b6377019904d6fe6bc860c
|
||||
EBUILD q4wine-1.3.ebuild 1389 SHA256 9e0df74608a3ba1b13226cd3373787adbf33f144567d2c4d22b2adee70badbb9 SHA512 96e8a5a6c7a5c97b3e3004ed784b2a960a11659671399306451a780f7a60d3fc0df0edeb70d32231412922a177c21ff2620b48056a6b447f5eca222ff02b22b1 WHIRLPOOL 08fe6c0b2ddb94d576104957df9a46d86d5806fec29393f556ebe3a051b40009ab3ec0d2cd873bd6412f933e891b48bff42f245368b6377019904d6fe6bc860c
|
||||
DIST q4wine-1.3.3.tar.bz2 2863508 SHA256 7f821dea698f122277062878743759d1f7adec289311ac30d2b40c28f184bb14 SHA512 95c98bd3eed14550e1215b84b5fc8f3b493329390fb942b3029331ea93cbff58eb9ed3100be1cb70aa02505ba5c4a91092f8f18347ed75d2112668925a0f4c28 WHIRLPOOL df7eaae98edf85f487770f165d627820e45f5ce465876405a2adcac234c06770113d821efba01d81d4b0bb39eb9e484786e963c514ed0125e5290751f779cd3f
|
||||
EBUILD q4wine-1.3.1.ebuild 1387 SHA256 0b9788ab06a3660c8641f4b9965f4ad465f7a8c5ada170682f01df9876165f9a SHA512 723290a23572315d6667d8102dbd41d6d1a269d1dd2d39a8a6524b317d31c9911bbc4bec5ac6cd9131abe691513f7d3a0648e7514d628abfeb2c6e4b689e6462 WHIRLPOOL 8968fdcd024eea85eef9dfd69ba8c7e32d37a81816bd48e8481a87612bd05caf83b9589493e439bb9802c30876b192ce02016819ad02d3b075e7479e13b32def
|
||||
EBUILD q4wine-1.3.3.ebuild 1426 SHA256 d2843b6dc3eea4dea9b1098caec63b719848fafbc3dd75baa0a2048df9b7e758 SHA512 f2ff3b460acdc10146a340707024457760c91560e88b89b9ed4880d5706b3e129fcd4ae1b5c657b2605a96d950024d6ed1fddb4d9e063ec08a71eba637eee2a5 WHIRLPOOL 0dbcf9bb979673549886ccd1365c1f5c97a3ab9c6d6a94a53d847581aa64a09ae2ec02274c67526f43107615785980c6999bad48c678f330db1f8c3d60df55c0
|
||||
MISC ChangeLog 3352 SHA256 7ff0e20ec17d5808a2b025ac61ca9e773ed1df10a049112b0a04baf81e3fc72d SHA512 d4824ec5d9540e48b14935e9544156909f2a6a07cd04d05450e376fdfb71445ddabedc8cf2930e51bc18283e0e1c4abe0702fffd21b77de022b5aa0285c30e11 WHIRLPOOL f4db58f37d72e09662365861ff35af831f025bef8b070055625852220fec2211e0598835571daab4b8aed96d9c7510aa2a63f0e2be6415665aa7baecc8e22141
|
||||
MISC ChangeLog-2015 8105 SHA256 a5c519786b2b30b8f835e59c4c993ce6c97217462ce6781b6e28ea811b825654 SHA512 6816f628a05f6585c6a8702df9fefdb5f4a44337e99277b67a06e8add794280b41d910be64f22457e8d43cd39d18043bed72ccabbbf122c5e4308d87ae4d59e5 WHIRLPOOL 6a71154bf7a8ee6dbb778fe185d0f951af56e4df30630604a833453360fe17e710444f84034fa537aadf64bef3dc645b4872e538f647e98a3c6091239b2c4298
|
||||
MISC metadata.xml 977 SHA256 facdcfbc0aeaf1bef48eea8d2d05ae1343f1e40e458d68659f36bb25675376fb SHA512 7f5b906287b14bc98254c5cc908c80c816c558602deeed8b6aa70cd1a451a84eb6fb3dcd6e702f6d03edf174c2a797924811b566f8148abab4f0c05b6e9dd3d5 WHIRLPOOL bd22197fc87cb597141821fa98da7110f1565f75dd08bdcf600afe250ed5d0c891a3ae49fe214d21e1a8bcb46e25c7e8ce6c2c7f1ed3adf951f5427517e23523
|
||||
MISC metadata.xml 752 SHA256 0570985626daa16b1a8889a350cc35087bb866c50d8ced50d70f05d7e4744c05 SHA512 ccd0facc9545646763dccfe146cc12bea33818a15c99a23930c684114c0a62fd93969611aa5f0a340dff709e09e203cd0e63490ca147b3253e5977216d1d74bd WHIRLPOOL 9aeaf13e0262dfba9f211c7b6c1bd6c13a299bdd2b77b20f95458b8e71425782587c285349c5893d973dca8063221be5dee11c8ebcb6f81441cede145ddd0484
|
||||
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
LANGS="cs de en es fa he it ru uk pl pt af"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Qt4 GUI configuration tool for Wine"
|
||||
HOMEPAGE="http://q4wine.brezblock.org.ua/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/${PN}%20${PV}/${PF}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug +icoutils +wineappdb -dbus gnome kde"
|
||||
|
||||
for x in ${LANGS}; do
|
||||
IUSE+=" linguas_${x}"
|
||||
done
|
||||
|
||||
DEPEND="dev-qt/qtgui:4
|
||||
dev-qt/qtsql:4[sqlite]
|
||||
dev-util/cmake"
|
||||
|
||||
RDEPEND="dev-qt/qtgui:4
|
||||
dev-qt/qtsql:4[sqlite]
|
||||
app-admin/sudo
|
||||
app-emulation/wine
|
||||
>=sys-apps/which-2.19
|
||||
icoutils? ( >=media-gfx/icoutils-0.26.0 )
|
||||
sys-fs/fuseiso
|
||||
kde? ( kde-apps/kdesu:4 )
|
||||
gnome? ( x11-libs/gksu )
|
||||
dbus? ( dev-qt/qtdbus:4 )"
|
||||
|
||||
DOCS="README AUTHORS ChangeLog"
|
||||
|
||||
S="${WORKDIR}/${PF}"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs="${mycmakeargs} \
|
||||
$(cmake-utils_use debug DEBUG) \
|
||||
$(cmake-utils_use_with icoutils ICOUTILS) \
|
||||
$(cmake-utils_use_with wineappdb WINEAPPDB) \
|
||||
$(cmake-utils_use_with dbus DBUS)"
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
for x in ${LANGS}; do
|
||||
if ! has ${x} ${LINGUAS}; then
|
||||
find "${D}" -name "${PN}_${x}*.qm" -exec rm {} \;
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PLOCALES="af_ZA cs_CZ de_DE en_US es_ES fa_IR he_IL it_IT pl_PL pt_BR ru_RU uk_UA"
|
||||
PLOCALE_BACKUP="en_US"
|
||||
|
||||
inherit cmake-utils l10n
|
||||
|
||||
DESCRIPTION="Qt4 GUI configuration tool for Wine"
|
||||
HOMEPAGE="http://q4wine.brezblock.org.ua/"
|
||||
|
||||
# Upstream names the package PV-rX. We change that to
|
||||
# PV_pX so we can use portage revisions.
|
||||
MY_PV="${PV/_p/-r}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/${PN}%20${MY_PV}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+dbus debug +icoutils qt5 +wineappdb"
|
||||
|
||||
DEPEND="
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtsingleapplication[qt5(+),X]
|
||||
dev-qt/qtsql:5[sqlite]
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
dbus? ( dev-qt/qtdbus:5 )
|
||||
)
|
||||
!qt5? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtsingleapplication[qt4(+),X]
|
||||
dev-qt/qtsql:4[sqlite]
|
||||
dbus? ( dev-qt/qtdbus:4 )
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
app-admin/sudo
|
||||
app-emulation/wine
|
||||
>=sys-apps/which-2.19
|
||||
sys-fs/fuseiso
|
||||
icoutils? ( >=media-gfx/icoutils-0.26.0 )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README )
|
||||
|
||||
src_configure() {
|
||||
local enabled_linguas
|
||||
construct_LINGUAS() {
|
||||
local current_locale="$(echo ${1} | tr '[:upper:]' '[:lower:]')"
|
||||
enabled_linguas="${enabled_linguas};${current_locale}"
|
||||
}
|
||||
l10n_for_each_locale_do construct_LINGUAS
|
||||
local mycmakeargs=(
|
||||
-DLINGUAS="${enabled_linguas}"
|
||||
-DWITH_SYSTEM_SINGLEAPP=ON
|
||||
$(cmake-utils_use debug)
|
||||
$(cmake-utils_use qt5)
|
||||
$(cmake-utils_use_with dbus)
|
||||
$(cmake-utils_use_with icoutils)
|
||||
$(cmake-utils_use_with wineappdb)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,9 +1,10 @@
|
||||
AUX PyQt5-5.7-qt-5.6.2.patch 609 SHA256 2d00ed318719b2f1f43993266587c1318aa0a9d4d8992cd4a015bd82229f4c68 SHA512 4af8a01b7cbd5cda5dc7ca7ad2f414b5c850d55c239510c8edf2b5921da45bee5b430adf679ce3469a0027ffe3cd94f6b3e2583985c6047cecf78cfbfec8f297 WHIRLPOOL fbc614c7b2f5712a7a3cc229f9f3e6b18b9d711a1d1c3c884364833b6712d4ca9c7be4d03728b0714802c1a027798f096427ceeb924632ccdba8d7fe4826e60a
|
||||
DIST PyQt-gpl-5.5.1.tar.gz 3705749 SHA256 0a70ef94fbffcf674b0dde024aae2a2a7a3f5a8c42806109ff7df2c941bd8386 SHA512 ed9a4f30a50c0879f25b6a0841247f3f0de86942b55c1de9efea963bfbf64ee963a9e5c09be036ff2dec76164863b3b6235e45e8662776425f15378fa0abeab4 WHIRLPOOL 199a36ff1ee3689a76d0aae9d2bee586f9de3a0e3cf23c5b625c1f62b5f19311450afd9d009cbdb4f5be63ba024326c63ff0e6c9ea515216c686db9d8e07bcb3
|
||||
DIST PyQt5_gpl-5.6.1.dev1604271126.tar.xz 2300884 SHA256 2a9ac535ac921bcd3678e33655bb3842a14f4cf6836eb29f32d0a62335ea061b SHA512 281d48cd8a875c454e970d6cecb0af2a2299f2ea6d062de599736d613c413dbab67072c80a80d490980eacf18bb35819b94255cd5891abbf6e291101bcd5b578 WHIRLPOOL e8255192a318529307b67992cdd12f9c9d4983099c1cece82761140bf3615fc36e1db52a9a795645c8ca93e21b801826802fd1b0fb3cf867c0f80d380a45c279
|
||||
DIST PyQt5_gpl-5.7.tar.gz 3729111 SHA256 892693ba5f79989abb2061dad2d5c4e6f127e9dd3240f73f8220c7152cd35b05 SHA512 b22fd40f967776c25de9f5fb37a3308df15599f257e4deab23ec3072d4c8f2dceb8aadc2869d1ab7a5068992e86320969b694cf6da3312ddedae54fd388873ec WHIRLPOOL bddc2f4818a8179020b827572e808f87d64fed3c220903b4d879d76581346728592e4dbf6679cc240c5ac2d736d4b1264de35e770e89dc1b01e41e82e6bf82cd
|
||||
EBUILD PyQt5-5.5.1.ebuild 5188 SHA256 adfb12555e527a78c870701d2300863c2c1ab385e8d2833bb48f1572bb81dbd7 SHA512 4336a6b472848266147cb1613cb0635ec110c322b99b3513c95f210ef926b383d88184b167d432a6515507cd2ba1b37ec5b9a44df0f2989513483c03d38b172c WHIRLPOOL b1dfa28be671e28d5ad77c120f902f730f85b740ff3403c8b4a43c1f9f6490080c8313b9da77c7b84f1b09cefb6c21f7b69d5e9ac099db8f522628114242239a
|
||||
EBUILD PyQt5-5.6.1_pre1604271126.ebuild 5211 SHA256 d94ef2f1e160ec9352f05f657d4b9f2995a4564db84bf80811bd6f0a5f71713d SHA512 072322c7c01cf6e726649c0e62a4d3431bf6ba533f654c653a4787a686339545ca07baaa1a17ba0dc6dd2f6204dd452eaa3dec3bc0c3387c929c3463c3a64c24 WHIRLPOOL 404b158e10ed651c6c42a83a39bff09b831dcb955a76245e964410526afdf00f3018995fb4b4d41253e4070812f312ea4e11f7c6e462677fd0173254cb5556ee
|
||||
EBUILD PyQt5-5.7.ebuild 5657 SHA256 ccfb9534963f67b903248484c4490f943fc48efffa1a1d50cf18528b9abcf8d5 SHA512 3ec6fabe7bfbe8a8c50f31b799cea929061ab0ee9b5e60d739f83b8b4aaa2252d5de840a6186461d640733d3cd84e40f0333590beeec0513f5e4afeba41eba6a WHIRLPOOL 69011c2dbf6668329f50a4da7db5f61c29a618d7f032326dc66c09c62a1cd94570f2fa385192c3635ea8107c9d68f799b0cd09ba069effff81b73c363d93f7fc
|
||||
EBUILD PyQt5-5.7.ebuild 5703 SHA256 dad6eb8b7ee1e34f503e94ab0decf3947e8a48118c4eba8299ba29c112825658 SHA512 164052fc3c05862d2e30dc84208a99d3dd131b464de972c64427b2fd2840ee433ad9e0093964199f4d4754c033368b921363fe99a6dc0555a913d97d839d656d WHIRLPOOL a52c06f6a0634354e42fd5752c7e3c09d5375c07d871517f4314964a150de6cfd0a6579c17088eebd3370dedff8c9c4bb2b5fdfd50e7537d9a1d98515df56654
|
||||
MISC ChangeLog 5550 SHA256 a630ccb69c7655dbb2f5b11780f25fc2ced439bedc9c8231010c0b88e42a9391 SHA512 c2c73c6457c2c169c5d0176fc7a25c2d13bc2175ef72a6d61ae5b0b6754a1e0fa75b01c3555f0e34ad64a96d4683a1b35187156f677f20ff0b70c5b8d33c83f5 WHIRLPOOL ae0dd7396583ff4934a4f69458ed757f939708bd9fab6fc20ce131ddc65b3a5193d7709df92e0c713c2c2d02112366a3178b203322a3013edccb64550db30b97
|
||||
MISC ChangeLog-2015 2530 SHA256 c0f5fb7e518d57246a272e1850019d5c6b17295aeb6be532c3ea0531993066ce SHA512 e84858c3d2dfc44e35eca767822dbdf42396f0df1c2b6676bfcd624be232ec4ead7daadc71dcadf204ac10bd91dddf0c37decea272f3e6130ae2b36aad6cb18f WHIRLPOOL 67f2ecb4cd02db99f6ffc1e0e1bb404c5067015cb85846704e285122c5074b286103ecaf9ef17e9874afad4784d18492808f192e60e363438f375408c1af45cd
|
||||
MISC metadata.xml 2458 SHA256 76c968147d7a2e8135e38306261729f31498e340584f4442b119b0a46b5f3bd0 SHA512 8554c97aeb873a2a7e1d50b8aacc3638a87fdc0fdc367d61123b63bd506b1376873d88a967773e8f1050f0e8c35ae180d61c7eb2c213c345e5b17a3c0e4c7df8 WHIRLPOOL 2731d8a5af652bc6b372b12ed8ee714487abc542a2a1673a80b97110f800f453fcbd648124742a17463da6abb586359601016b70b2006bd8d68604e031b4bf5d
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- a/sip/QtCore/QtCoremod.sip
|
||||
+++ b/sip/QtCore/QtCoremod.sip
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
%Module(name=PyQt5.QtCore, call_super_init=True, default_VirtualErrorHandler=PyQt5, keyword_arguments="Optional", version=1)
|
||||
|
||||
-%Timeline {Qt_5_0_0 Qt_5_0_1 Qt_5_0_2 Qt_5_1_0 Qt_5_1_1 Qt_5_2_0 Qt_5_2_1 Qt_5_3_0 Qt_5_3_1 Qt_5_3_2 Qt_5_4_0 Qt_5_4_1 Qt_5_4_2 Qt_5_5_0 Qt_5_5_1 Qt_5_6_0 Qt_5_6_1 Qt_5_7_0}
|
||||
+%Timeline {Qt_5_0_0 Qt_5_0_1 Qt_5_0_2 Qt_5_1_0 Qt_5_1_1 Qt_5_2_0 Qt_5_2_1 Qt_5_3_0 Qt_5_3_1 Qt_5_3_2 Qt_5_4_0 Qt_5_4_1 Qt_5_4_2 Qt_5_5_0 Qt_5_5_1 Qt_5_6_0 Qt_5_6_1 Qt_5_6_2 Qt_5_7_0}
|
||||
|
||||
%Platforms {WS_X11 WS_WIN WS_MACX}
|
||||
|
@ -0,0 +1,457 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
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="~amd64 ~mips ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
|
||||
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
|
||||
}
|
||||
|
||||
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
|
||||
}
|
@ -0,0 +1,347 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic multilib multilib-minimal toolchain-funcs
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
: ${EGIT_REPO_URI:="git://git.libav.org/libav.git"}
|
||||
if [[ ${PV%9999} != "" ]] ; then
|
||||
: ${EGIT_BRANCH:="release/${PV%.9999}"}
|
||||
fi
|
||||
inherit git-r3
|
||||
fi
|
||||
|
||||
DESCRIPTION="Complete solution to record, convert and stream audio and video"
|
||||
HOMEPAGE="https://libav.org/"
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
SRC_URI=""
|
||||
elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot
|
||||
SRC_URI="https://dev.gentoo.org/~lu_zero/libav/${P}.tar.xz"
|
||||
else # Official release
|
||||
SRC_URI="https://libav.org/releases/${P}.tar.xz"
|
||||
fi
|
||||
# 9999 does not have fate-*.tar.xz
|
||||
[[ ${PV%9999} != "" ]] && SRC_URI+=" test? ( https://dev.gentoo.org/~lu_zero/libav/fate-${PV%%.*}.tar.xz )"
|
||||
|
||||
LICENSE="LGPL-2.1 gpl? ( GPL-3 )"
|
||||
SLOT="0/11"
|
||||
[[ ${PV} == *9999 ]] || \
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="aac alsa amr bs2b +bzip2 cdio cpudetection custom-cflags debug doc +encode faac fdk
|
||||
frei0r fontconfig +gpl gsm +hardcoded-tables ieee1394 jack jpeg2k libressl mp3
|
||||
+network openssl opus oss pic pulseaudio rtmp schroedinger sdl speex ssl
|
||||
static-libs test theora threads tools truetype twolame v4l vaapi vdpau vorbis vpx X
|
||||
wavpack webp x264 x265 xvid +zlib"
|
||||
|
||||
# String for CPU features in the useflag[:configure_option] form
|
||||
# if :configure_option isn't set, it will use 'useflag' as configure option
|
||||
CPU_FEATURES="altivec armv5te armv6 armv6t2 armvfp:vfp neon"
|
||||
X86_CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext mmx mmxext sse sse2 sse3 ssse3 sse4_1:sse4 sse4_2:sse42 avx xop fma3 fma4 avx2"
|
||||
for i in ${X86_CPU_FEATURES} ; do
|
||||
CPU_FEATURES+=" cpu_flags_x86_${i%:*}:${i#*:}"
|
||||
done
|
||||
for i in ${CPU_FEATURES} ; do
|
||||
IUSE+=" ${i%:*}"
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
!media-video/ffmpeg:0
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
|
||||
amr? ( >=media-libs/opencore-amr-0.1.3-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}] )
|
||||
encode? (
|
||||
aac? ( >=media-libs/vo-aacenc-0.1.3[${MULTILIB_USEDEP}] )
|
||||
amr? ( >=media-libs/vo-amrwbenc-0.1.2-r1[${MULTILIB_USEDEP}] )
|
||||
faac? ( >=media-libs/faac-1.28-r3[${MULTILIB_USEDEP}] )
|
||||
mp3? ( >=media-sound/lame-3.99.5-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}] )
|
||||
vorbis? (
|
||||
>=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}]
|
||||
>=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )
|
||||
wavpack? ( >=media-sound/wavpack-4.60.1-r1[${MULTILIB_USEDEP}] )
|
||||
x264? ( >=media-libs/x264-0.0.20130506:=[${MULTILIB_USEDEP}] )
|
||||
x265? ( >=media-libs/x265-1.2:=[${MULTILIB_USEDEP}] )
|
||||
xvid? ( >=media-libs/xvid-1.3.2-r1[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
fdk? ( >=media-libs/fdk-aac-0.1.2[${MULTILIB_USEDEP}] )
|
||||
frei0r? ( media-plugins/frei0r-plugins )
|
||||
gsm? ( >=media-sound/gsm-1.0.13-r1[${MULTILIB_USEDEP}] )
|
||||
ieee1394? (
|
||||
>=media-libs/libdc1394-2.2.1[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}]
|
||||
)
|
||||
jack? ( >=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}] )
|
||||
jpeg2k? ( >=media-libs/openjpeg-1.5.0:0[${MULTILIB_USEDEP}] )
|
||||
opus? ( >=media-libs/opus-1.0.2-r2[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
|
||||
rtmp? ( >=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}] )
|
||||
ssl? (
|
||||
openssl? (
|
||||
!libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
|
||||
libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
!openssl? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
sdl? ( >=media-libs/libsdl-1.2.15-r4[sound,video,${MULTILIB_USEDEP}] )
|
||||
schroedinger? ( >=media-libs/schroedinger-1.0.11-r1[${MULTILIB_USEDEP}] )
|
||||
speex? ( >=media-libs/speex-1.2_rc1-r1[${MULTILIB_USEDEP}] )
|
||||
truetype? ( >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( >=media-libs/fontconfig-2.10[${MULTILIB_USEDEP}] )
|
||||
vaapi? ( >=x11-libs/libva-1.2.1-r1[${MULTILIB_USEDEP}] )
|
||||
vdpau? ( >=x11-libs/libvdpau-0.7[${MULTILIB_USEDEP}] )
|
||||
vpx? ( >=media-libs/libvpx-1.2.0_pre20130625[${MULTILIB_USEDEP}] )
|
||||
X? (
|
||||
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
|
||||
)
|
||||
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/make-3.81
|
||||
doc? ( app-text/texi2html )
|
||||
ieee1394? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
cpu_flags_x86_mmx? ( dev-lang/yasm )
|
||||
rtmp? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
schroedinger? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
ssl? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
test? ( sys-devel/bc )
|
||||
truetype? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
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(-)] )"
|
||||
|
||||
# faac can't be binary distributed
|
||||
# openssl support marked as nonfree
|
||||
# faac and aac are concurent implementations
|
||||
# amr and aac require at least lgpl3
|
||||
# x264 requires gpl2
|
||||
REQUIRED_USE="
|
||||
rtmp? ( network )
|
||||
amr? ( gpl ) aac? ( gpl ) x264? ( gpl ) X? ( gpl ) cdio? ( gpl ) x265? ( gpl )
|
||||
test? ( encode zlib )
|
||||
fontconfig? ( truetype )
|
||||
"
|
||||
RESTRICT="faac? ( bindist ) fdk? ( bindist ) openssl? ( bindist )"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/libavutil/avconfig.h
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
[[ ${PV} == *9999 ]] && git-r3_src_unpack
|
||||
# 9999 does not have fate-*.tar.xz
|
||||
[[ ${PV%9999} != "" ]] && default_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
|
||||
epatch "${FILESDIR}"/libav-11.3-libvpx-1.5.0.patch #565696
|
||||
|
||||
# if we have snapshot then we need to hardcode the version
|
||||
if [[ ${PV%_p*} != ${PV} ]]; then
|
||||
sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/version.sh" || die
|
||||
fi
|
||||
|
||||
TOOLS=( aviocat graph2dot ismindex pktdumper qt-faststart trasher )
|
||||
use zlib && TOOLS+=( cws2fws )
|
||||
|
||||
MAKEOPTS+=" V=1"
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=( ${EXTRA_LIBAV_CONF} )
|
||||
local uses i
|
||||
|
||||
# 9999 does not have fate-*.tar.xz
|
||||
[[ ${PV%9999} != "" ]] && use test && myconf+=( --samples="${WORKDIR}/fate" )
|
||||
|
||||
myconf+=(
|
||||
$(use_enable gpl)
|
||||
$(use_enable gpl version3)
|
||||
# It is a security concern and removed in the next version
|
||||
--disable-protocol=concat
|
||||
)
|
||||
|
||||
# enabled by default
|
||||
uses="debug doc network zlib"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=( --disable-${i} )
|
||||
done
|
||||
use bzip2 || myconf+=( --disable-bzlib )
|
||||
use sdl || myconf+=( --disable-avplay )
|
||||
|
||||
if use ssl; then
|
||||
use openssl && myconf+=( --enable-openssl --enable-nonfree ) \
|
||||
|| myconf+=( --enable-gnutls )
|
||||
fi
|
||||
|
||||
use custom-cflags && myconf+=( --disable-optimizations )
|
||||
use cpudetection && myconf+=( --enable-runtime-cpudetect )
|
||||
|
||||
use vdpau || myconf+=( --disable-vdpau )
|
||||
|
||||
use vaapi && myconf+=( --enable-vaapi )
|
||||
|
||||
# Encoders
|
||||
if use encode; then
|
||||
use faac && myconf+=( --enable-nonfree )
|
||||
use mp3 && myconf+=( --enable-libmp3lame )
|
||||
use amr && myconf+=( --enable-libvo-amrwbenc )
|
||||
use aac && myconf+=( --enable-libvo-aacenc )
|
||||
uses="faac theora twolame vorbis wavpack webp x264 x265 xvid"
|
||||
for i in ${uses}; do
|
||||
use ${i} && myconf+=( --enable-lib${i} )
|
||||
done
|
||||
else
|
||||
myconf+=( --disable-encoders )
|
||||
fi
|
||||
|
||||
# libavdevice options
|
||||
use cdio && myconf+=( --enable-libcdio )
|
||||
use ieee1394 && myconf+=( --enable-libdc1394 )
|
||||
use pulseaudio && myconf+=( --enable-libpulse )
|
||||
|
||||
# Indevs
|
||||
# v4l1 is gone since linux-headers-2.6.38
|
||||
myconf+=( --disable-indev=v4l )
|
||||
use v4l || myconf+=( --disable-indev=v4l2 )
|
||||
for i in alsa oss jack; do
|
||||
use ${i} || myconf+=( --disable-indev=${i} )
|
||||
done
|
||||
use X && myconf+=( --enable-x11grab )
|
||||
# Outdevs
|
||||
for i in alsa oss ; do
|
||||
use ${i} || myconf+=( --disable-outdev=${i} )
|
||||
done
|
||||
# libavfilter options
|
||||
use bs2b && myconf+=( --enable-libbs2b )
|
||||
multilib_is_native_abi && use frei0r && myconf+=( --enable-frei0r )
|
||||
use truetype && myconf+=( --enable-libfreetype )
|
||||
use fontconfig && myconf+=( --enable-libfontconfig )
|
||||
|
||||
# Threads; we only support pthread for now
|
||||
use threads && myconf+=( --enable-pthreads )
|
||||
|
||||
# Decoders
|
||||
use amr && myconf+=( --enable-libopencore-amrwb --enable-libopencore-amrnb )
|
||||
use fdk && myconf+=( --enable-nonfree --enable-libfdk-aac )
|
||||
uses="gsm opus rtmp schroedinger speex vpx"
|
||||
for i in ${uses}; do
|
||||
use ${i} && myconf+=( --enable-lib${i} )
|
||||
done
|
||||
use jpeg2k && myconf+=( --enable-libopenjpeg )
|
||||
|
||||
# CPU features
|
||||
for i in ${CPU_FEATURES}; do
|
||||
use ${i%:*} || myconf+=( --disable-${i#*:} )
|
||||
done
|
||||
|
||||
# pass the right -mfpu as extra
|
||||
use neon && append-cflags -mfpu=neon
|
||||
|
||||
# disable mmx accelerated code if PIC is required
|
||||
# as the provided asm decidedly is not PIC for x86.
|
||||
if use pic && [[ ${ABI} == x86 ]]; then
|
||||
myconf+=( --disable-mmx --disable-mmxext )
|
||||
fi
|
||||
|
||||
# Option to force building pic
|
||||
use pic && myconf+=( --enable-pic )
|
||||
|
||||
# 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
|
||||
|
||||
# Misc stuff
|
||||
use hardcoded-tables && myconf+=( --enable-hardcoded-tables )
|
||||
|
||||
# Specific workarounds for too-few-registers arch...
|
||||
if [[ ${ABI} == x86 ]]; then
|
||||
local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
|
||||
filter-flags -fforce-addr -momit-leaf-frame-pointer
|
||||
append-flags -fomit-frame-pointer
|
||||
is-flag -O? || append-flags -O2
|
||||
if use debug; then
|
||||
# no need to warn about debug if not using debug flag
|
||||
ewarn ""
|
||||
ewarn "Debug information will be almost useless as the frame pointer is omitted."
|
||||
ewarn "This makes debugging harder, so crashes that has no fixed behavior are"
|
||||
ewarn "difficult to fix. Please have that in mind."
|
||||
ewarn ""
|
||||
fi
|
||||
fi
|
||||
|
||||
set -- "${S}"/configure \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--shlibdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--mandir="${EPREFIX}"/usr/share/man \
|
||||
--enable-shared \
|
||||
--cc="$(tc-getCC)" \
|
||||
--ar="$(tc-getAR)" \
|
||||
--optflags="${CFLAGS}" \
|
||||
--extra-cflags="${CFLAGS}" \
|
||||
$(use_enable static-libs static) \
|
||||
"${myconf[@]}"
|
||||
echo "${@}"
|
||||
"${@}" || die
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake
|
||||
|
||||
if use tools; then
|
||||
tc-export CC
|
||||
|
||||
emake ${TOOLS[@]/#/tools/}
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install install-man
|
||||
use doc && dodoc doc/*.html
|
||||
|
||||
if use tools; then
|
||||
dobin ${TOOLS[@]/#/tools/}
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc Changelog README.md INSTALL
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
local _libs="$(for i in lib*/;do echo -n "${BUILD_DIR}/${i%/}:";done)"
|
||||
einfo "LD_LIBRARY_PATH is set to \"${_libs}\""
|
||||
LD_LIBRARY_PATH="${_libs}" emake -k -j1 fate
|
||||
}
|
@ -1 +1 @@
|
||||
Fri, 28 Oct 2016 10:43:57 +0000
|
||||
Fri, 28 Oct 2016 13:43:22 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 28 Oct 2016 10:43:57 +0000
|
||||
Fri, 28 Oct 2016 13:43:22 +0000
|
||||
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=configure install postinst postrm preinst
|
||||
DEPEND=app-text/hunspell:= dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtmultimedia:5 dev-qt/qtprintsupport:5 dev-qt/qtsingleapplication[qt5,X] dev-qt/qtwidgets:5 sys-libs/zlib dev-qt/qtconcurrent:5 virtual/pkgconfig >=sys-apps/sed-4
|
||||
DESCRIPTION=A fullscreen and distraction-free word processor
|
||||
EAPI=6
|
||||
HOMEPAGE=http://gottcode.org/focuswriter/
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=LGPL-3 GPL-3
|
||||
RDEPEND=app-text/hunspell:= dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtmultimedia:5 dev-qt/qtprintsupport:5 dev-qt/qtsingleapplication[qt5,X] dev-qt/qtwidgets:5 sys-libs/zlib
|
||||
SLOT=0
|
||||
SRC_URI=http://gottcode.org/focuswriter/focuswriter-1.6.2-src.tar.bz2
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 fdo-mime 92d07846ea8ea54172f8c0112a47ae3d gnome2-utils c6dcdf3a2c22b578b16adb945dc85c35 multilib 165fc17c38d1b11dac2008280dab6e80 qmake-utils 0a242e7177789b0028b4045f336dd4db toolchain-funcs 1b1da0c45c555989dc5d832b54880783 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
||||
_md5_=e2582b77b7eb104ec1c0dc9cdb186d5c
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-qt/qtgui:4 dev-qt/qtsql:4[sqlite] dev-util/cmake sys-devel/make >=dev-util/cmake-2.8.12
|
||||
DESCRIPTION=Qt4 GUI configuration tool for Wine
|
||||
EAPI=4
|
||||
HOMEPAGE=http://q4wine.brezblock.org.ua/
|
||||
IUSE=debug +icoutils +wineappdb -dbus gnome kde linguas_cs linguas_de linguas_en linguas_es linguas_fa linguas_he linguas_it linguas_ru linguas_uk linguas_pl linguas_pt linguas_af
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=dev-qt/qtgui:4 dev-qt/qtsql:4[sqlite] app-admin/sudo app-emulation/wine >=sys-apps/which-2.19 icoutils? ( >=media-gfx/icoutils-0.26.0 ) sys-fs/fuseiso kde? ( kde-apps/kdesu:4 ) gnome? ( x11-libs/gksu ) dbus? ( dev-qt/qtdbus:4 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/q4wine/q4wine/q4wine%201.0/q4wine-1.0-r3.tar.bz2
|
||||
_eclasses_=cmake-utils f3d38665b0a86e08ba3a5473cdbfafd3 eutils b83a2420b796f7c6eff682679d08fe25 flag-o-matic 8632fcd33a047954f007dee9a137bdcc multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=d25affbca7e488c28da15f5e4fd44369
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtsingleapplication[qt5(+),X] dev-qt/qtsql:5[sqlite] dev-qt/qtwidgets:5 dev-qt/qtxml:5 dbus? ( dev-qt/qtdbus:5 ) ) !qt5? ( dev-qt/qtcore:4 dev-qt/qtgui:4 dev-qt/qtsingleapplication[qt4(+),X] dev-qt/qtsql:4[sqlite] dbus? ( dev-qt/qtdbus:4 ) ) sys-devel/make >=dev-util/cmake-2.8.12
|
||||
DESCRIPTION=Qt4 GUI configuration tool for Wine
|
||||
EAPI=5
|
||||
HOMEPAGE=http://q4wine.brezblock.org.ua/
|
||||
IUSE=+dbus debug +icoutils qt5 +wineappdb linguas_af_ZA linguas_cs_CZ linguas_de_DE linguas_en_US linguas_es_ES linguas_fa_IR linguas_he_IL linguas_it_IT linguas_pl_PL linguas_pt_BR linguas_ru_RU linguas_uk_UA
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtsingleapplication[qt5(+),X] dev-qt/qtsql:5[sqlite] dev-qt/qtwidgets:5 dev-qt/qtxml:5 dbus? ( dev-qt/qtdbus:5 ) ) !qt5? ( dev-qt/qtcore:4 dev-qt/qtgui:4 dev-qt/qtsingleapplication[qt4(+),X] dev-qt/qtsql:4[sqlite] dbus? ( dev-qt/qtdbus:4 ) ) app-admin/sudo app-emulation/wine >=sys-apps/which-2.19 sys-fs/fuseiso icoutils? ( >=media-gfx/icoutils-0.26.0 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/q4wine/q4wine/q4wine%201.2-r2/q4wine-1.2-r2.tar.bz2
|
||||
_eclasses_=cmake-utils f3d38665b0a86e08ba3a5473cdbfafd3 eutils b83a2420b796f7c6eff682679d08fe25 flag-o-matic 8632fcd33a047954f007dee9a137bdcc l10n e26ea0642846685782f1813642e7ff0f multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=c7f89134f9fd889990d442692de53730
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtsingleapplication[qt5,X] dev-qt/qtsql:5[sqlite] dev-qt/qtwidgets:5 dev-qt/qtxml:5 dbus? ( dev-qt/qtdbus:5 ) ) !qt5? ( dev-qt/qtcore:4 dev-qt/qtgui:4 dev-qt/qtsingleapplication[qt4,X] dev-qt/qtsql:4[sqlite] dbus? ( dev-qt/qtdbus:4 ) ) qt5? ( dev-qt/linguist-tools:5 ) sys-devel/make >=dev-util/cmake-2.8.12
|
||||
DESCRIPTION=Qt GUI configuration tool for Wine
|
||||
EAPI=6
|
||||
HOMEPAGE=http://q4wine.brezblock.org.ua/
|
||||
IUSE=+dbus debug +ico +iso qt5 +wineappdb
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtsingleapplication[qt5,X] dev-qt/qtsql:5[sqlite] dev-qt/qtwidgets:5 dev-qt/qtxml:5 dbus? ( dev-qt/qtdbus:5 ) ) !qt5? ( dev-qt/qtcore:4 dev-qt/qtgui:4 dev-qt/qtsingleapplication[qt4,X] dev-qt/qtsql:4[sqlite] dbus? ( dev-qt/qtdbus:4 ) ) app-admin/sudo >=sys-apps/which-2.19 ico? ( >=media-gfx/icoutils-0.26.0 ) iso? ( sys-fs/fuseiso )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/q4wine/q4wine-1.3.tar.bz2
|
||||
_eclasses_=cmake-utils f3d38665b0a86e08ba3a5473cdbfafd3 eutils b83a2420b796f7c6eff682679d08fe25 flag-o-matic 8632fcd33a047954f007dee9a137bdcc multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=36ebead6e420478980fca7391a6bde45
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare test
|
||||
DEPEND=dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtsingleapplication[qt5,X] dev-qt/qtsql:5[sqlite] dev-qt/qtwidgets:5 dev-qt/qtxml:5 dbus? ( dev-qt/qtdbus:5 ) dev-qt/linguist-tools:5 sys-devel/make >=dev-util/cmake-2.8.12 >=sys-apps/sed-4
|
||||
DESCRIPTION=Qt GUI configuration tool for Wine
|
||||
EAPI=6
|
||||
HOMEPAGE=http://q4wine.brezblock.org.ua/
|
||||
IUSE=+dbus debug +ico +iso +wineappdb
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtsingleapplication[qt5,X] dev-qt/qtsql:5[sqlite] dev-qt/qtwidgets:5 dev-qt/qtxml:5 dbus? ( dev-qt/qtdbus:5 ) app-admin/sudo >=sys-apps/which-2.19 ico? ( >=media-gfx/icoutils-0.26.0 ) iso? ( sys-fs/fuseiso )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/q4wine/q4wine-1.3.3.tar.bz2
|
||||
_eclasses_=cmake-utils f3d38665b0a86e08ba3a5473cdbfafd3 eutils b83a2420b796f7c6eff682679d08fe25 fdo-mime 92d07846ea8ea54172f8c0112a47ae3d flag-o-matic 8632fcd33a047954f007dee9a137bdcc gnome2-utils c6dcdf3a2c22b578b16adb945dc85c35 multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
||||
_md5_=d2de4b3c8eabc7c6db4afed5fb2c7fc6
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=install prepare setup
|
||||
DEPEND=|| ( virtual/jre:1.8 virtual/jre:1.7 )
|
||||
DESCRIPTION=A high-throughput distributed messaging system
|
||||
EAPI=5
|
||||
HOMEPAGE=http://kafka.apache.org/
|
||||
IUSE=internal-zookeeper
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=|| ( virtual/jre:1.8 virtual/jre:1.7 )
|
||||
RESTRICT=mirror
|
||||
SLOT=0
|
||||
SRC_URI=mirror://apache/kafka/0.10.1.0/kafka_2.11-0.10.1.0.tgz
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 user 80aaa71614ced86f02ee1a513821dc87
|
||||
_md5_=744d3f84ca3729a50e8649f95462eb4d
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=install postinst postrm prepare setup
|
||||
DEPEND=|| ( =dev-lang/python-2.7* =dev-lang/python-2.6* ) || ( =dev-lang/python-2.7*[sqlite] =dev-lang/python-2.6*[sqlite] )
|
||||
DESCRIPTION=Binary newsgrabber with web-interface
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.sabnzbd.org/
|
||||
IUSE=+rar +ssl unzip +yenc
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=GPL-2 BSD LGPL-2 MIT BSD-1
|
||||
RDEPEND=>=app-arch/par2cmdline-0.4 >=dev-python/cheetah-2.0.1 dev-python/configobj dev-python/feedparser dev-python/gntp dev-python/pythonutils net-misc/wget rar? ( || ( app-arch/unrar app-arch/rar ) ) ssl? ( dev-python/pyopenssl ) unzip? ( >=app-arch/unzip-5.5.2 ) yenc? ( dev-python/yenc ) || ( =dev-lang/python-2.7* =dev-lang/python-2.6* ) || ( =dev-lang/python-2.7*[sqlite] =dev-lang/python-2.6*[sqlite] )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/sabnzbdplus/SABnzbd-0.7.16-src.tar.gz
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 multilib 165fc17c38d1b11dac2008280dab6e80 python efc1c55fc44c5b7272fc2ffba73c3e6f toolchain-funcs 1b1da0c45c555989dc5d832b54880783 user 80aaa71614ced86f02ee1a513821dc87
|
||||
_md5_=8c0347179d69dbb9e9e5a9258d29173b
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=install postinst postrm prepare setup
|
||||
DEPEND=|| ( =dev-lang/python-2.7* =dev-lang/python-2.6* ) || ( =dev-lang/python-2.7*[sqlite] =dev-lang/python-2.6*[sqlite] )
|
||||
DESCRIPTION=Binary newsgrabber with web-interface
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.sabnzbd.org/
|
||||
IUSE=+rar +ssl unzip +yenc
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=GPL-2 BSD LGPL-2 MIT BSD-1
|
||||
RDEPEND=>=app-arch/par2cmdline-0.4 >=dev-python/cheetah-2.0.1 dev-python/configobj dev-python/feedparser dev-python/gntp dev-python/pythonutils net-misc/wget rar? ( || ( app-arch/unrar app-arch/rar ) ) ssl? ( dev-python/pyopenssl ) unzip? ( >=app-arch/unzip-5.5.2 ) yenc? ( dev-python/yenc ) || ( =dev-lang/python-2.7* =dev-lang/python-2.6* ) || ( =dev-lang/python-2.7*[sqlite] =dev-lang/python-2.6*[sqlite] )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/sabnzbdplus/SABnzbd-0.7.17-src.tar.gz
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 multilib 165fc17c38d1b11dac2008280dab6e80 python efc1c55fc44c5b7272fc2ffba73c3e6f toolchain-funcs 1b1da0c45c555989dc5d832b54880783 user 80aaa71614ced86f02ee1a513821dc87
|
||||
_md5_=8c0347179d69dbb9e9e5a9258d29173b
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=install postinst postrm prepare setup
|
||||
DEPEND=|| ( =dev-lang/python-2.7* =dev-lang/python-2.6* ) || ( =dev-lang/python-2.7*[sqlite] =dev-lang/python-2.6*[sqlite] )
|
||||
DESCRIPTION=Binary newsgrabber with web-interface
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.sabnzbd.org/
|
||||
IUSE=+rar +ssl unzip +yenc
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=GPL-2 BSD LGPL-2 MIT BSD-1
|
||||
RDEPEND=>=app-arch/par2cmdline-0.4 >=dev-python/cheetah-2.0.1 dev-python/configobj dev-python/feedparser dev-python/gntp dev-python/pythonutils net-misc/wget rar? ( || ( app-arch/unrar app-arch/rar ) ) ssl? ( dev-python/pyopenssl ) unzip? ( >=app-arch/unzip-5.5.2 ) yenc? ( dev-python/yenc ) || ( =dev-lang/python-2.7* =dev-lang/python-2.6* ) || ( =dev-lang/python-2.7*[sqlite] =dev-lang/python-2.6*[sqlite] )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/sabnzbdplus/SABnzbd-0.7.18-src.tar.gz
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 multilib 165fc17c38d1b11dac2008280dab6e80 python efc1c55fc44c5b7272fc2ffba73c3e6f toolchain-funcs 1b1da0c45c555989dc5d832b54880783 user 80aaa71614ced86f02ee1a513821dc87
|
||||
_md5_=8c0347179d69dbb9e9e5a9258d29173b
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=install postinst postrm prepare setup
|
||||
DEPEND=|| ( =dev-lang/python-2.7* =dev-lang/python-2.6* ) || ( =dev-lang/python-2.7*[sqlite] =dev-lang/python-2.6*[sqlite] )
|
||||
DESCRIPTION=Binary newsgrabber with web-interface
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.sabnzbd.org/
|
||||
IUSE=+rar +ssl unzip +yenc
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=GPL-2 BSD LGPL-2 MIT BSD-1
|
||||
RDEPEND=>=app-arch/par2cmdline-0.4 >=dev-python/cheetah-2.0.1 dev-python/configobj dev-python/feedparser dev-python/gntp dev-python/pythonutils net-misc/wget rar? ( || ( app-arch/unrar app-arch/rar ) ) ssl? ( dev-python/pyopenssl ) unzip? ( >=app-arch/unzip-5.5.2 ) yenc? ( dev-python/yenc ) || ( =dev-lang/python-2.7* =dev-lang/python-2.6* ) || ( =dev-lang/python-2.7*[sqlite] =dev-lang/python-2.6*[sqlite] )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/sabnzbdplus/SABnzbd-0.7.19-src.tar.gz
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 multilib 165fc17c38d1b11dac2008280dab6e80 python efc1c55fc44c5b7272fc2ffba73c3e6f toolchain-funcs 1b1da0c45c555989dc5d832b54880783 user 80aaa71614ced86f02ee1a513821dc87
|
||||
_md5_=8c0347179d69dbb9e9e5a9258d29173b
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=install postinst postrm prepare setup
|
||||
DEPEND=|| ( =dev-lang/python-2.7* =dev-lang/python-2.6* ) || ( =dev-lang/python-2.7*[sqlite] =dev-lang/python-2.6*[sqlite] ) virtual/pkgconfig
|
||||
DESCRIPTION=Binary newsgrabber with web-interface
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.sabnzbd.org/
|
||||
IUSE=+rar +ssl unzip +yenc
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=GPL-2 BSD LGPL-2 MIT BSD-1
|
||||
RDEPEND=>=app-arch/par2cmdline-0.4 >=dev-python/cheetah-2.0.1 dev-python/configobj dev-python/feedparser dev-python/gntp dev-python/pythonutils net-misc/wget rar? ( || ( app-arch/unrar app-arch/rar ) ) ssl? ( dev-python/pyopenssl ) unzip? ( >=app-arch/unzip-5.5.2 ) yenc? ( dev-python/yenc ) || ( =dev-lang/python-2.7* =dev-lang/python-2.6* ) || ( =dev-lang/python-2.7*[sqlite] =dev-lang/python-2.6*[sqlite] )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/sabnzbdplus/SABnzbd-0.7.20-src.tar.gz
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 multilib 165fc17c38d1b11dac2008280dab6e80 python efc1c55fc44c5b7272fc2ffba73c3e6f systemd 5b6ca8b2fc1307ca593223f327342c96 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 user 80aaa71614ced86f02ee1a513821dc87
|
||||
_md5_=de29aeba236b447afec95685e940c9a2
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=install postinst postrm prepare setup
|
||||
DEPEND==dev-lang/python-2.7* =dev-lang/python-2.7*[sqlite] virtual/pkgconfig
|
||||
DESCRIPTION=Binary newsgrabber with web-interface
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.sabnzbd.org/
|
||||
IUSE=+rar +ssl unzip +yenc
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=GPL-2 BSD LGPL-2 MIT BSD-1
|
||||
RDEPEND=>=app-arch/par2cmdline-0.4 >=dev-python/cheetah-2.0.1 dev-python/configobj dev-python/feedparser dev-python/gntp dev-python/pythonutils dev-python/rarfile net-misc/wget rar? ( || ( app-arch/unrar app-arch/rar ) ) ssl? ( dev-python/pyopenssl ) unzip? ( >=app-arch/unzip-5.5.2 ) yenc? ( dev-python/yenc ) =dev-lang/python-2.7* =dev-lang/python-2.7*[sqlite]
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/sabnzbdplus/SABnzbd-1.0.3-src.tar.gz
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 multilib 165fc17c38d1b11dac2008280dab6e80 python efc1c55fc44c5b7272fc2ffba73c3e6f systemd 5b6ca8b2fc1307ca593223f327342c96 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 user 80aaa71614ced86f02ee1a513821dc87 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=cadd2d64799b711121d27cd200a9f979
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile install postinst postrm preinst setup test unpack
|
||||
DEPEND=!build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 )
|
||||
DESCRIPTION=Full sources including the Gentoo patchset for the 4.1 kernel tree
|
||||
EAPI=5
|
||||
HOMEPAGE=https://dev.gentoo.org/~mpagano/genpatches
|
||||
IUSE=experimental symlink build
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
||||
LICENSE=GPL-2 freedist
|
||||
RDEPEND=!build? ( >=sys-libs/ncurses-5.2 sys-devel/make dev-lang/perl sys-devel/bc )
|
||||
RESTRICT=binchecks strip
|
||||
SLOT=4.1.35
|
||||
SRC_URI=mirror://kernel/linux/kernel/v4.x/linux-4.1.tar.xz mirror://gentoo/genpatches-4.1-40.base.tar.xz mirror://gentoo/genpatches-4.1-40.extras.tar.xz experimental? ( mirror://gentoo/genpatches-4.1-40.experimental.tar.xz )
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 f31f3b95b5d8f120e14f0b7aafbd8b47 multilib 165fc17c38d1b11dac2008280dab6e80 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 d142329ab093dd20c1dd0edb5f094108 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=cb717e73ef81e0a27b33a1efa28d3c1d
|
@ -1 +1 @@
|
||||
Fri, 28 Oct 2016 10:43:57 +0000
|
||||
Fri, 28 Oct 2016 13:43:22 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri Oct 28 10:39:46 UTC 2016
|
||||
Fri Oct 28 13:39:32 UTC 2016
|
||||
|
@ -1 +1 @@
|
||||
Fri, 28 Oct 2016 11:00:01 +0000
|
||||
Fri, 28 Oct 2016 14:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1477651201 Fri 28 Oct 2016 10:40:01 AM UTC
|
||||
1477662001 Fri 28 Oct 2016 01:40:01 PM UTC
|
||||
|
@ -1 +1 @@
|
||||
Fri, 28 Oct 2016 10:43:57 +0000
|
||||
Fri, 28 Oct 2016 13:43:22 +0000
|
||||
|
@ -0,0 +1,12 @@
|
||||
# Configuration variables for the zabbix jmx proxy
|
||||
|
||||
|
||||
# LISTEN_IP="0.0.0.0"
|
||||
# LISTEN_PORT=10052
|
||||
# START_POLLERS=5
|
||||
# TIMEOUT=3
|
||||
|
||||
# uncomment to enable remote monitoring of the standard JMX objects on the Zabbix Java Gateway itself
|
||||
# JAVA_OPTIONS="$JAVA_OPTIONS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=12345
|
||||
# -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
|
||||
|
@ -0,0 +1,33 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
LISTEN_IP=${LISTEN_IP:-127.0.0.1}
|
||||
LISTEN_PORT=${LISTEN_PORT:-10052}
|
||||
START_POLLERS=${START_POLLERS:-5}
|
||||
TIMEOUT=${TIMEOUT:-3}
|
||||
|
||||
PID_FILE="/run/zabbix-jmx-proxy"
|
||||
|
||||
|
||||
start() {
|
||||
ZABBIX_OPTIONS="-Dzabbix.pidFile=$PID_FILE \
|
||||
-Dzabbix.listenIP=$LISTEN_IP \
|
||||
-Dzabbix.listenPort=$LISTEN_PORT \
|
||||
-Dzabbix.startPollers=$START_POLLERS \
|
||||
-Dzabbix.timeout=$TIMEOUT \
|
||||
-Dsun.rmi.transport.tcp.responseTimeout=${TIMEOUT}000"
|
||||
|
||||
JAVA_OPTIONS="-server $JAVA_OPTIONS -Dlogback.configurationFile=logback-console.xml"
|
||||
|
||||
cd /opt/zabbix_java
|
||||
|
||||
CLASSPATH="lib"
|
||||
for jar in lib/*.jar bin/*.jar; do
|
||||
CLASSPATH="$CLASSPATH:$jar"
|
||||
done
|
||||
|
||||
start-stop-daemon -m --background --pidfile $PID_FILE -- java $JAVA_OPTIONS -classpath $CLASSPATH $ZABBIX_OPTIONS com.zabbix.gateway.JavaGateway
|
||||
}
|
||||
|
||||
stop() {
|
||||
start-stop-daemon --stop --pidfile $PID_FILE
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="A high-throughput distributed messaging system"
|
||||
HOMEPAGE="http://kafka.apache.org/"
|
||||
|
||||
# pick recommended scala version
|
||||
SCALA_VERSION=2.11
|
||||
MY_PN="kafka"
|
||||
MY_P="${MY_PN}_${SCALA_VERSION}-${PV}"
|
||||
SRC_URI="mirror://apache/kafka/${PV}/${MY_P}.tgz"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="internal-zookeeper"
|
||||
|
||||
RDEPEND="
|
||||
|| ( virtual/jre:1.8 virtual/jre:1.7 )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
INSTALL_DIR="/opt/${MY_PN}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup kafka
|
||||
enewuser kafka -1 /bin/sh /var/lib/kafka kafka
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's:/tmp/zookeeper:/var/lib/kafka/zookeeper:' "config/zookeeper.properties" || die
|
||||
sed -i -e 's:/tmp/kafka-logs:/var/lib/kafka/logs:' "config/server.properties" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/kafka
|
||||
doins config/zookeeper.properties config/server.properties
|
||||
if use "internal-zookeeper"; then
|
||||
keepdir /var/lib/kafka/zookeeper
|
||||
newinitd "${FILESDIR}/${MY_PN}-zookeeper.init.d" "${MY_PN}-zookeeper"
|
||||
fi
|
||||
|
||||
keepdir /var/lib/kafka
|
||||
fowners -R kafka:kafka /var/lib/kafka
|
||||
|
||||
keepdir /var/log/kafka
|
||||
fowners -R kafka:kafka /var/log/kafka
|
||||
|
||||
newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
|
||||
|
||||
dodir "${INSTALL_DIR}"
|
||||
cp -pRP bin config libs "${ED}/${INSTALL_DIR}" || die
|
||||
keepdir "${INSTALL_DIR}/logs"
|
||||
fowners -R kafka:kafka "${INSTALL_DIR}"
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
From 75608455ab239c8dd05280e858f10026a31a5eac Mon Sep 17 00:00:00 2001
|
||||
From: Justin Bronder <jsbronder@gmail.com>
|
||||
Date: Thu, 3 Jan 2013 04:10:37 -0500
|
||||
Subject: [PATCH 1/4] use system configobj and feedparser
|
||||
|
||||
---
|
||||
sabnzbd/config.py | 4 +++-
|
||||
sabnzbd/rss.py | 3 ++-
|
||||
2 files changed, 5 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/sabnzbd/config.py b/sabnzbd/config.py
|
||||
index 3bf777a..3e6551a 100644
|
||||
--- a/sabnzbd/config.py
|
||||
+++ b/sabnzbd/config.py
|
||||
@@ -24,10 +24,12 @@ import re
|
||||
import logging
|
||||
import threading
|
||||
import shutil
|
||||
+
|
||||
+import configobj
|
||||
+
|
||||
import sabnzbd.misc
|
||||
from sabnzbd.constants import CONFIG_VERSION, NORMAL_PRIORITY, DEFAULT_PRIORITY, MAX_WIN_DFOLDER
|
||||
from sabnzbd.utils import listquote
|
||||
-from sabnzbd.utils import configobj
|
||||
from sabnzbd.decorators import synchronized
|
||||
|
||||
CONFIG_LOCK = threading.Lock()
|
||||
diff --git a/sabnzbd/rss.py b/sabnzbd/rss.py
|
||||
index 67ff94b..8b7d8c1 100644
|
||||
--- a/sabnzbd/rss.py
|
||||
+++ b/sabnzbd/rss.py
|
||||
@@ -26,6 +26,8 @@ import threading
|
||||
import urllib
|
||||
import os
|
||||
|
||||
+import feedparser
|
||||
+
|
||||
import sabnzbd
|
||||
from sabnzbd.constants import *
|
||||
from sabnzbd.decorators import synchronized
|
||||
@@ -36,7 +38,6 @@ from sabnzbd.misc import cat_convert, sanitize_foldername, wildcard_to_re, cat_t
|
||||
import sabnzbd.emailer as emailer
|
||||
from sabnzbd.encoding import unicoder, xml_name
|
||||
|
||||
-import sabnzbd.utils.feedparser as feedparser
|
||||
|
||||
__RSS = None # Global pointer to RSS-scanner instance
|
||||
|
||||
--
|
||||
2.4.10
|
||||
|
@ -1,31 +0,0 @@
|
||||
From 14eabdcd495be61bb14ecc8152058f92bd71a2db Mon Sep 17 00:00:00 2001
|
||||
From: Justin Bronder <jsbronder@gmail.com>
|
||||
Date: Mon, 24 Jun 2013 19:03:17 -0400
|
||||
Subject: [PATCH 2/4] growler: support >=gntp-1.0
|
||||
|
||||
Fixes Gentoo bug https://bugs.gentoo.org/show_bug.cgi?id=474540
|
||||
---
|
||||
sabnzbd/growler.py | 7 ++++++-
|
||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/sabnzbd/growler.py b/sabnzbd/growler.py
|
||||
index 34d73c4..cd1ce91 100644
|
||||
--- a/sabnzbd/growler.py
|
||||
+++ b/sabnzbd/growler.py
|
||||
@@ -37,7 +37,12 @@ import sabnzbd.cfg
|
||||
from sabnzbd.encoding import unicoder
|
||||
from sabnzbd.constants import NOTIFY_KEYS
|
||||
|
||||
-from gntp import GNTPRegister
|
||||
+try:
|
||||
+ # <= version 0.6
|
||||
+ from gntp import GNTPRegister
|
||||
+except ImportError:
|
||||
+ # >= version 1.0
|
||||
+ from gntp.core import GNTPRegister
|
||||
from gntp.notifier import GrowlNotifier
|
||||
try:
|
||||
import Growl
|
||||
--
|
||||
2.4.10
|
||||
|
@ -1,34 +0,0 @@
|
||||
From 93f2759ce13c3e93e4fe64bf632249d96eddb41b Mon Sep 17 00:00:00 2001
|
||||
From: Justin Bronder <jsbronder@gmail.com>
|
||||
Date: Tue, 14 Jun 2016 08:38:54 -0400
|
||||
Subject: [PATCH 3/4] cfg: disable growl by default
|
||||
|
||||
---
|
||||
sabnzbd/cfg.py | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/sabnzbd/cfg.py b/sabnzbd/cfg.py
|
||||
index 9d362df..a90cc03 100644
|
||||
--- a/sabnzbd/cfg.py
|
||||
+++ b/sabnzbd/cfg.py
|
||||
@@ -286,7 +286,7 @@ acenter_prio_queue_done = OptionBool('acenter', 'acenter_prio_queue_done', True)
|
||||
acenter_prio_other = OptionBool('acenter', 'acenter_prio_other', False)
|
||||
|
||||
# [ntfosd]
|
||||
-ntfosd_enable = OptionBool('ntfosd', 'ntfosd_enable', not sabnzbd.WIN32 and not sabnzbd.DARWIN)
|
||||
+ntfosd_enable = OptionBool('ntfosd', 'ntfosd_enable', False)
|
||||
ntfosd_prio_startup = OptionBool('ntfosd', 'ntfosd_prio_startup', True)
|
||||
ntfosd_prio_download = OptionBool('ntfosd', 'ntfosd_prio_download', False)
|
||||
ntfosd_prio_pp = OptionBool('ntfosd', 'ntfosd_prio_pp', False)
|
||||
@@ -299,7 +299,7 @@ ntfosd_prio_queue_done = OptionBool('ntfosd', 'ntfosd_prio_queue_done', True)
|
||||
ntfosd_prio_other = OptionBool('ntfosd', 'ntfosd_prio_other', False)
|
||||
|
||||
# [growl]
|
||||
-growl_enable = OptionBool('growl', 'growl_enable', sabnzbd.DARWIN and sabnzbd.DARWIN_VERSION < 8)
|
||||
+growl_enable = OptionBool('growl', 'growl_enable', False)
|
||||
growl_server = OptionStr('growl', 'growl_server')
|
||||
growl_password = OptionPassword('growl', 'growl_password')
|
||||
growl_prio_startup = OptionBool('growl', 'growl_prio_startup', True)
|
||||
--
|
||||
2.4.10
|
||||
|
@ -1,68 +0,0 @@
|
||||
From 33ce1a3e3cce21feedc88cddf708173f826c57cb Mon Sep 17 00:00:00 2001
|
||||
From: Justin Bronder <jsbronder@gmail.com>
|
||||
Date: Tue, 14 Jun 2016 08:43:37 -0400
|
||||
Subject: [PATCH 4/4] use system rarfile
|
||||
|
||||
---
|
||||
sabnzbd/assembler.py | 3 ++-
|
||||
sabnzbd/dirscanner.py | 3 ++-
|
||||
sabnzbd/newsunpack.py | 3 ++-
|
||||
3 files changed, 6 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/sabnzbd/assembler.py b/sabnzbd/assembler.py
|
||||
index 7c4beb8..142678d 100644
|
||||
--- a/sabnzbd/assembler.py
|
||||
+++ b/sabnzbd/assembler.py
|
||||
@@ -34,6 +34,8 @@ except:
|
||||
import md5
|
||||
new_md5 = md5.new
|
||||
|
||||
+from rarfile import RarFile, is_rarfile
|
||||
+
|
||||
import sabnzbd
|
||||
from sabnzbd.misc import get_filepath, sanitize_filename, get_unique_filename, renamer, \
|
||||
set_permissions, flag_file, long_path, clip_path
|
||||
@@ -42,7 +44,6 @@ import sabnzbd.cfg as cfg
|
||||
from sabnzbd.articlecache import ArticleCache
|
||||
from sabnzbd.postproc import PostProcessor
|
||||
import sabnzbd.downloader
|
||||
-from sabnzbd.utils.rarfile import RarFile, is_rarfile
|
||||
from sabnzbd.encoding import unicoder, is_utf8
|
||||
from sabnzbd.rating import Rating
|
||||
|
||||
diff --git a/sabnzbd/dirscanner.py b/sabnzbd/dirscanner.py
|
||||
index 6ada4bf..7a31920 100644
|
||||
--- a/sabnzbd/dirscanner.py
|
||||
+++ b/sabnzbd/dirscanner.py
|
||||
@@ -27,9 +27,10 @@ import gzip
|
||||
import bz2
|
||||
import threading
|
||||
|
||||
+from rarfile import RarFile, is_rarfile
|
||||
+
|
||||
import sabnzbd
|
||||
from sabnzbd.constants import *
|
||||
-from sabnzbd.utils.rarfile import is_rarfile, RarFile
|
||||
from sabnzbd.newsunpack import is_sevenfile, SevenZip
|
||||
import sabnzbd.nzbstuff as nzbstuff
|
||||
import sabnzbd.misc as misc
|
||||
diff --git a/sabnzbd/newsunpack.py b/sabnzbd/newsunpack.py
|
||||
index 6906aed..940879f 100644
|
||||
--- a/sabnzbd/newsunpack.py
|
||||
+++ b/sabnzbd/newsunpack.py
|
||||
@@ -28,10 +28,11 @@ from time import time
|
||||
import binascii
|
||||
import shutil
|
||||
|
||||
+from rarfile import RarFile, is_rarfile
|
||||
+
|
||||
import sabnzbd
|
||||
from sabnzbd.encoding import TRANS, UNTRANS, unicode2local, name_fixer, \
|
||||
reliable_unpack_names, unicoder, platform_encode, deunicode
|
||||
-from sabnzbd.utils.rarfile import RarFile, is_rarfile
|
||||
from sabnzbd.misc import format_time_string, find_on_path, make_script_path, int_conv, \
|
||||
flag_file, real_path, globber, globber_full, short_path
|
||||
from sabnzbd.tvsort import SeriesSorter
|
||||
--
|
||||
2.4.10
|
||||
|
@ -1,15 +0,0 @@
|
||||
diff --git a/sabnzbd/cfg.py b/sabnzbd/cfg.py
|
||||
index 39e418b..509a962 100644
|
||||
--- a/sabnzbd/cfg.py
|
||||
+++ b/sabnzbd/cfg.py
|
||||
@@ -238,8 +238,8 @@ no_ipv6 = OptionBool('misc', 'no_ipv6', False)
|
||||
|
||||
growl_server = OptionStr('growl', 'growl_server')
|
||||
growl_password = OptionPassword('growl', 'growl_password')
|
||||
-growl_enable = OptionBool('growl', 'growl_enable', not sabnzbd.DARWIN_ML)
|
||||
-ntfosd_enable = OptionBool('growl', 'ntfosd_enable', not sabnzbd.WIN32 and not sabnzbd.DARWIN)
|
||||
+growl_enable = OptionBool('growl', 'growl_enable', 0)
|
||||
+ntfosd_enable = OptionBool('growl', 'ntfosd_enable', 0)
|
||||
ncenter_enable = OptionBool('growl', 'ncenter_enable', sabnzbd.DARWIN)
|
||||
notify_classes = OptionList('growl', 'notify_classes', NOTIFY_KEYS)
|
||||
|
@ -1,33 +0,0 @@
|
||||
From 96b4891d2323cb44f479bc94d1410348b1468298 Mon Sep 17 00:00:00 2001
|
||||
From: Justin Bronder <jsbronder@gmail.com>
|
||||
Date: Mon, 24 Jun 2013 19:03:17 -0400
|
||||
Subject: [PATCH] growler: support >=gntp-1.0
|
||||
|
||||
Fixes Gentoo bug https://bugs.gentoo.org/show_bug.cgi?id=474540
|
||||
---
|
||||
sabnzbd/growler.py | 9 ++++++++-
|
||||
1 file changed, 8 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/sabnzbd/growler.py b/sabnzbd/growler.py
|
||||
index d250703..f39bb44 100644
|
||||
--- a/sabnzbd/growler.py
|
||||
+++ b/sabnzbd/growler.py
|
||||
@@ -31,7 +31,14 @@ import sabnzbd
|
||||
import sabnzbd.cfg
|
||||
from sabnzbd.encoding import unicoder, latin1
|
||||
from sabnzbd.constants import NOTIFY_KEYS
|
||||
-from gntp import GNTPRegister
|
||||
+
|
||||
+try:
|
||||
+ # <= version 0.6
|
||||
+ from gntp import GNTPRegister
|
||||
+except ImportError:
|
||||
+ # >= version 1.0
|
||||
+ from gntp.core import GNTPRegister
|
||||
+
|
||||
from gntp.notifier import GrowlNotifier
|
||||
try:
|
||||
import Growl
|
||||
--
|
||||
1.8.1.5
|
||||
|
@ -1,12 +0,0 @@
|
||||
--- sabnzbd/newsunpack.py.orig 2013-07-07 13:29:12.000000000 +0200
|
||||
+++ sabnzbd/newsunpack.py 2013-08-02 20:16:22.286697000 +0200
|
||||
@@ -966,7 +966,7 @@
|
||||
|
||||
# Append the wildcard for this set
|
||||
wildcard = '%s*' % os.path.join(os.path.split(parfile)[0], setname)
|
||||
- if single or len(globber(wildcard, None)) < 2:
|
||||
+ if len(globber(wildcard, None)) < 2:
|
||||
# Support bizarre naming conventions
|
||||
wildcard = os.path.join(os.path.split(parfile)[0], '*')
|
||||
command.append(wildcard)
|
||||
|
@ -1,99 +1,71 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
RUNDIR=/var/run/sabnzbd
|
||||
PIDFILE="/run/sabnzbd/sabnzbd.pid"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
need net
|
||||
}
|
||||
|
||||
get_var() {
|
||||
echo $(sed -n \
|
||||
'/^\[misc]/,/^'$1'/ s/^'$1' = \([[:alnum:].]\+\)[\r|\n|\r\n]*$/\1/p' \
|
||||
"${SABNZBD_CONFIGFILE}")
|
||||
grep -P -o -m 1 "(?<=^${1} = ).*" "${SABNZBD_CONFIGFILE}" || echo 0
|
||||
}
|
||||
|
||||
get_port() {
|
||||
if [ "$(get_var 'enable_https')" -eq 1 ]; then
|
||||
echo $(get_var 'https_port')
|
||||
else
|
||||
echo $(get_var 'port')
|
||||
fi
|
||||
start() {
|
||||
ebegin "Starting SABnzbd"
|
||||
|
||||
checkpath -q -d -o ${SABNZBD_USER}:${SABNZBD_GROUP} -m 0770 "$(dirname "${PIDFILE}")"
|
||||
|
||||
start-stop-daemon \
|
||||
--quiet \
|
||||
--start \
|
||||
--user ${SABNZBD_USER} \
|
||||
--group ${SABNZBD_GROUP} \
|
||||
--pidfile "${PIDFILE}" \
|
||||
--wait 1000 \
|
||||
--exec /usr/bin/sabnzbd \
|
||||
-- \
|
||||
--config-file "${SABNZBD_CONFIGFILE}" \
|
||||
--logging "${SABNZBD_LOGGING}" \
|
||||
--daemon \
|
||||
--pidfile "${PIDFILE}"
|
||||
|
||||
eend $?
|
||||
}
|
||||
|
||||
get_addr() {
|
||||
local host=$(get_var 'host')
|
||||
local protocol='http'
|
||||
stop() {
|
||||
local protocol="http"
|
||||
local host="$(get_var "host")"
|
||||
local port="$(get_var "port")"
|
||||
|
||||
[ "${host}" == "0.0.0.0" ] && host=localhost
|
||||
[ "$(get_var 'enable_https')" -eq 1 ] && protocol='https'
|
||||
if [ $(get_var "enable_https") -eq 1 ]; then
|
||||
protocol="https"
|
||||
port="$(get_var "https_port")"
|
||||
fi
|
||||
|
||||
echo "${protocol}://${host}:$(get_port)"
|
||||
}
|
||||
case "${host}" in
|
||||
*:*) host="[${host}]" ;;
|
||||
esac
|
||||
|
||||
get_pidfile() {
|
||||
echo "${RUNDIR}/sabnzbd-$(get_port).pid"
|
||||
}
|
||||
local url="${protocol}://${host}:${port}/sabnzbd/api?mode=shutdown"
|
||||
|
||||
start() {
|
||||
ebegin "Starting SABnzbd"
|
||||
|
||||
checkpath -q -d -o ${SABNZBD_USER}:${SABNZBD_GROUP} -m 0770 "${RUNDIR}"
|
||||
|
||||
start-stop-daemon \
|
||||
--quiet \
|
||||
--start \
|
||||
--user ${SABNZBD_USER} \
|
||||
--group ${SABNZBD_GROUP} \
|
||||
--name sabnzbd \
|
||||
--background \
|
||||
--pidfile "$(get_pidfile)" \
|
||||
--exec /usr/bin/sabnzbd \
|
||||
-- \
|
||||
--config-file "${SABNZBD_CONFIGFILE}" \
|
||||
--logging "${SABNZBD_LOGGING}" \
|
||||
--daemon \
|
||||
--pid "${RUNDIR}"
|
||||
|
||||
eend $?
|
||||
}
|
||||
if [ $(get_var "disable_api_key") -eq 0 ]; then
|
||||
url="${url}&apikey=$(get_var "api_key")"
|
||||
fi
|
||||
|
||||
start_pre() {
|
||||
if [ "$RC_CMD" == "restart" ]; then
|
||||
local pidfile=$(get_pidfile)
|
||||
while [ -e ${pidfile} ]; do
|
||||
sleep 1
|
||||
done
|
||||
fi
|
||||
local signals="TERM/1/KILL/1"
|
||||
|
||||
return 0
|
||||
}
|
||||
ebegin "Stopping SABnzbd"
|
||||
|
||||
stop() {
|
||||
local api_key=$(get_var 'api_key')
|
||||
local addr=$(get_addr)
|
||||
local rc=1
|
||||
|
||||
ebegin "Stopping SABnzbd @ ${addr}"
|
||||
# This can only work if we have enabled the API
|
||||
if [ -n "${api_key}" -a "$(get_var 'disable_api_key')" -ne 1 ]; then
|
||||
local ret
|
||||
einfo "Attempting web-based shutdown @ ${addr}"
|
||||
|
||||
# SABnzbd will return "ok" if shutdown is successful
|
||||
ret=$(/usr/bin/curl -k -s "${addr}/sabnzbd/api?mode=shutdown&apikey=${api_key}")
|
||||
[ "${ret}" == "ok" ] && rc=0
|
||||
fi
|
||||
|
||||
if [ "${rc}" -ne 0 ]; then
|
||||
einfo "Falling back to SIGTERM, this may not work if you restarted via the web interface"
|
||||
start-stop-daemon \
|
||||
--stop \
|
||||
--pidfile $(get_pidfile) \
|
||||
--retry SIGTERM/1/SIGKILL/5
|
||||
rc=$?
|
||||
fi
|
||||
|
||||
eend ${rc}
|
||||
if [ "$(wget -q -t 1 -O - -T 10 "${url}")" = "ok" ]; then
|
||||
signals="CONT/5/${signals}"
|
||||
fi
|
||||
|
||||
start-stop-daemon \
|
||||
--stop \
|
||||
--pidfile "${PIDFILE}" \
|
||||
--retry "${signals}"
|
||||
|
||||
eend $?
|
||||
}
|
||||
|
@ -1,44 +0,0 @@
|
||||
From 89cb8b86fb087bc4706478ce4ec3ad5fd19602e6 Mon Sep 17 00:00:00 2001
|
||||
From: Justin Bronder <jsbronder@gmail.com>
|
||||
Date: Thu, 3 Jan 2013 04:10:37 -0500
|
||||
Subject: [PATCH] use system configobj and feedparser
|
||||
|
||||
---
|
||||
sabnzbd/config.py | 4 +++-
|
||||
sabnzbd/rss.py | 2 +-
|
||||
2 files changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/sabnzbd/config.py b/sabnzbd/config.py
|
||||
index c3fc54c..cce2b14 100644
|
||||
--- a/sabnzbd/config.py
|
||||
+++ b/sabnzbd/config.py
|
||||
@@ -23,10 +23,12 @@ import os
|
||||
import logging
|
||||
import threading
|
||||
import shutil
|
||||
+
|
||||
+import configobj
|
||||
+
|
||||
import sabnzbd.misc
|
||||
from sabnzbd.constants import CONFIG_VERSION, NORMAL_PRIORITY, DEFAULT_PRIORITY
|
||||
from sabnzbd.utils import listquote
|
||||
-from sabnzbd.utils import configobj
|
||||
from sabnzbd.decorators import synchronized
|
||||
|
||||
CONFIG_LOCK = threading.Lock()
|
||||
diff --git a/sabnzbd/rss.py b/sabnzbd/rss.py
|
||||
index 6fe6f5b..19a5d0f 100644
|
||||
--- a/sabnzbd/rss.py
|
||||
+++ b/sabnzbd/rss.py
|
||||
@@ -35,7 +35,7 @@ from sabnzbd.misc import cat_convert, sanitize_foldername, wildcard_to_re, cat_t
|
||||
import sabnzbd.emailer as emailer
|
||||
from sabnzbd.encoding import latin1, unicoder, xml_name
|
||||
|
||||
-import sabnzbd.utils.feedparser as feedparser
|
||||
+import feedparser
|
||||
|
||||
__RSS = None # Global pointer to RSS-scanner instance
|
||||
|
||||
--
|
||||
1.7.3.4
|
||||
|
@ -1,117 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
# Require python-2 with sqlite USE flag
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
PYTHON_USE_WITH="sqlite"
|
||||
|
||||
inherit eutils python user
|
||||
|
||||
MY_P="${P/sab/SAB}"
|
||||
|
||||
DESCRIPTION="Binary newsgrabber with web-interface"
|
||||
HOMEPAGE="http://www.sabnzbd.org/"
|
||||
SRC_URI="mirror://sourceforge/sabnzbdplus/${MY_P}-src.tar.gz"
|
||||
|
||||
# Sabnzbd is GPL-2 but bundles software with the following licenses.
|
||||
LICENSE="GPL-2 BSD LGPL-2 MIT BSD-1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+rar +ssl unzip +yenc"
|
||||
|
||||
# Sabnzbd is installed to /usr/share/ as upstream makes it clear they should not
|
||||
# be in python's sitedir. See: http://wiki.sabnzbd.org/unix-packaging
|
||||
|
||||
# TODO: still bundled but not in protage:
|
||||
# kronos, rarfile, rsslib, ssmtplib, listquote, json-py, msgfmt
|
||||
# pynewsleecher
|
||||
#
|
||||
# Also note that cherrypy is still bundled. It's near impossible to find
|
||||
# out where the bundled and heavily patched version came from (pulled from
|
||||
# cherrypy subversion, patched somewhere, then imported to sabnzbd and patched
|
||||
# further. Upstream is planning on making this easier with 0.8.0.
|
||||
# https://github.com/sabnzbd/sabnzbd/issues/47
|
||||
|
||||
RDEPEND="
|
||||
>=app-arch/par2cmdline-0.4
|
||||
>=dev-python/cheetah-2.0.1
|
||||
dev-python/configobj
|
||||
dev-python/feedparser
|
||||
dev-python/gntp
|
||||
dev-python/pythonutils
|
||||
net-misc/wget
|
||||
rar? ( || ( app-arch/unrar app-arch/rar ) )
|
||||
ssl? ( dev-python/pyopenssl )
|
||||
unzip? ( >=app-arch/unzip-5.5.2 )
|
||||
yenc? ( dev-python/yenc )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
HOMEDIR="/var/lib/${PN}"
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
# Create sabnzbd group
|
||||
enewgroup ${PN}
|
||||
# Create sabnzbd user, put in sabnzbd group
|
||||
enewuser "${PN}" -1 -1 "${HOMEDIR}" "${PN}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/use-system-configobj-and-feedparser.patch
|
||||
epatch "${FILESDIR}"/growler-support-gntp-1.0.patch
|
||||
epatch "${FILESDIR}"/par2cmdline.patch
|
||||
|
||||
# remove bundled modules
|
||||
rm -r sabnzbd/utils/{feedparser,configobj}.py || die
|
||||
rm -r gntp || die
|
||||
rm licenses/License-{feedparser,configobj,gntp}.txt || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local d
|
||||
|
||||
dodir /usr/share/${PN}/sabnzbd
|
||||
insinto /usr/share/${PN}/
|
||||
doins SABnzbd.py
|
||||
fperms +x /usr/share/${PN}/SABnzbd.py
|
||||
dobin "${FILESDIR}"/sabnzbd
|
||||
|
||||
for d in cherrypy email icons interfaces locale po sabnzbd tools util; do
|
||||
insinto /usr/share/${PN}/${d}
|
||||
doins -r ${d}/*
|
||||
done
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
|
||||
diropts -o ${PN} -g ${PN}
|
||||
dodir /etc/${PN}
|
||||
dodir /var/log/${PN}
|
||||
|
||||
insinto "/etc/${PN}"
|
||||
insopts -m 0600 -o ${PN} -g ${PN}
|
||||
doins "${FILESDIR}/${PN}.ini"
|
||||
|
||||
dodoc {ABOUT,CHANGELOG,ISSUES,README}.txt Sample-PostProc.sh licenses/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/share/${PN}
|
||||
|
||||
einfo "Default directory: ${HOMEDIR}"
|
||||
einfo ""
|
||||
einfo "Run: gpasswd -a <user> sabnzbd"
|
||||
einfo "to add a user to the sabnzbd group so it can edit sabnzbd files"
|
||||
einfo ""
|
||||
einfo "By default sabnzbd will listen on 127.0.0.1:8080"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/share/${PN}
|
||||
}
|
@ -1,117 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
# Require python-2 with sqlite USE flag
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
PYTHON_USE_WITH="sqlite"
|
||||
|
||||
inherit eutils python user
|
||||
|
||||
MY_P="${P/sab/SAB}"
|
||||
|
||||
DESCRIPTION="Binary newsgrabber with web-interface"
|
||||
HOMEPAGE="http://www.sabnzbd.org/"
|
||||
SRC_URI="mirror://sourceforge/sabnzbdplus/${MY_P}-src.tar.gz"
|
||||
|
||||
# Sabnzbd is GPL-2 but bundles software with the following licenses.
|
||||
LICENSE="GPL-2 BSD LGPL-2 MIT BSD-1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+rar +ssl unzip +yenc"
|
||||
|
||||
# Sabnzbd is installed to /usr/share/ as upstream makes it clear they should not
|
||||
# be in python's sitedir. See: http://wiki.sabnzbd.org/unix-packaging
|
||||
|
||||
# TODO: still bundled but not in protage:
|
||||
# kronos, rarfile, rsslib, ssmtplib, listquote, json-py, msgfmt
|
||||
# pynewsleecher
|
||||
#
|
||||
# Also note that cherrypy is still bundled. It's near impossible to find
|
||||
# out where the bundled and heavily patched version came from (pulled from
|
||||
# cherrypy subversion, patched somewhere, then imported to sabnzbd and patched
|
||||
# further. Upstream is planning on making this easier with 0.8.0.
|
||||
# https://github.com/sabnzbd/sabnzbd/issues/47
|
||||
|
||||
RDEPEND="
|
||||
>=app-arch/par2cmdline-0.4
|
||||
>=dev-python/cheetah-2.0.1
|
||||
dev-python/configobj
|
||||
dev-python/feedparser
|
||||
dev-python/gntp
|
||||
dev-python/pythonutils
|
||||
net-misc/wget
|
||||
rar? ( || ( app-arch/unrar app-arch/rar ) )
|
||||
ssl? ( dev-python/pyopenssl )
|
||||
unzip? ( >=app-arch/unzip-5.5.2 )
|
||||
yenc? ( dev-python/yenc )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
HOMEDIR="/var/lib/${PN}"
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
# Create sabnzbd group
|
||||
enewgroup ${PN}
|
||||
# Create sabnzbd user, put in sabnzbd group
|
||||
enewuser "${PN}" -1 -1 "${HOMEDIR}" "${PN}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/use-system-configobj-and-feedparser.patch
|
||||
epatch "${FILESDIR}"/growler-support-gntp-1.0.patch
|
||||
epatch "${FILESDIR}"/par2cmdline.patch
|
||||
|
||||
# remove bundled modules
|
||||
rm -r sabnzbd/utils/{feedparser,configobj}.py || die
|
||||
rm -r gntp || die
|
||||
rm licenses/License-{feedparser,configobj,gntp}.txt || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local d
|
||||
|
||||
dodir /usr/share/${PN}/sabnzbd
|
||||
insinto /usr/share/${PN}/
|
||||
doins SABnzbd.py
|
||||
fperms +x /usr/share/${PN}/SABnzbd.py
|
||||
dobin "${FILESDIR}"/sabnzbd
|
||||
|
||||
for d in cherrypy email icons interfaces locale po sabnzbd tools util; do
|
||||
insinto /usr/share/${PN}/${d}
|
||||
doins -r ${d}/*
|
||||
done
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
|
||||
diropts -o ${PN} -g ${PN}
|
||||
dodir /etc/${PN}
|
||||
dodir /var/log/${PN}
|
||||
|
||||
insinto "/etc/${PN}"
|
||||
insopts -m 0600 -o ${PN} -g ${PN}
|
||||
doins "${FILESDIR}/${PN}.ini"
|
||||
|
||||
dodoc {ABOUT,CHANGELOG,ISSUES,README}.txt Sample-PostProc.sh licenses/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/share/${PN}
|
||||
|
||||
einfo "Default directory: ${HOMEDIR}"
|
||||
einfo ""
|
||||
einfo "Run: gpasswd -a <user> sabnzbd"
|
||||
einfo "to add a user to the sabnzbd group so it can edit sabnzbd files"
|
||||
einfo ""
|
||||
einfo "By default sabnzbd will listen on 127.0.0.1:8080"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/share/${PN}
|
||||
}
|
@ -1,117 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
# Require python-2 with sqlite USE flag
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
PYTHON_USE_WITH="sqlite"
|
||||
|
||||
inherit eutils python user
|
||||
|
||||
MY_P="${P/sab/SAB}"
|
||||
|
||||
DESCRIPTION="Binary newsgrabber with web-interface"
|
||||
HOMEPAGE="http://www.sabnzbd.org/"
|
||||
SRC_URI="mirror://sourceforge/sabnzbdplus/${MY_P}-src.tar.gz"
|
||||
|
||||
# Sabnzbd is GPL-2 but bundles software with the following licenses.
|
||||
LICENSE="GPL-2 BSD LGPL-2 MIT BSD-1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+rar +ssl unzip +yenc"
|
||||
|
||||
# Sabnzbd is installed to /usr/share/ as upstream makes it clear they should not
|
||||
# be in python's sitedir. See: http://wiki.sabnzbd.org/unix-packaging
|
||||
|
||||
# TODO: still bundled but not in protage:
|
||||
# kronos, rarfile, rsslib, ssmtplib, listquote, json-py, msgfmt
|
||||
# pynewsleecher
|
||||
#
|
||||
# Also note that cherrypy is still bundled. It's near impossible to find
|
||||
# out where the bundled and heavily patched version came from (pulled from
|
||||
# cherrypy subversion, patched somewhere, then imported to sabnzbd and patched
|
||||
# further. Upstream is planning on making this easier with 0.8.0.
|
||||
# https://github.com/sabnzbd/sabnzbd/issues/47
|
||||
|
||||
RDEPEND="
|
||||
>=app-arch/par2cmdline-0.4
|
||||
>=dev-python/cheetah-2.0.1
|
||||
dev-python/configobj
|
||||
dev-python/feedparser
|
||||
dev-python/gntp
|
||||
dev-python/pythonutils
|
||||
net-misc/wget
|
||||
rar? ( || ( app-arch/unrar app-arch/rar ) )
|
||||
ssl? ( dev-python/pyopenssl )
|
||||
unzip? ( >=app-arch/unzip-5.5.2 )
|
||||
yenc? ( dev-python/yenc )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
HOMEDIR="/var/lib/${PN}"
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
# Create sabnzbd group
|
||||
enewgroup ${PN}
|
||||
# Create sabnzbd user, put in sabnzbd group
|
||||
enewuser "${PN}" -1 -1 "${HOMEDIR}" "${PN}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/use-system-configobj-and-feedparser.patch
|
||||
epatch "${FILESDIR}"/growler-support-gntp-1.0.patch
|
||||
epatch "${FILESDIR}"/par2cmdline.patch
|
||||
|
||||
# remove bundled modules
|
||||
rm -r sabnzbd/utils/{feedparser,configobj}.py || die
|
||||
rm -r gntp || die
|
||||
rm licenses/License-{feedparser,configobj,gntp}.txt || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local d
|
||||
|
||||
dodir /usr/share/${PN}/sabnzbd
|
||||
insinto /usr/share/${PN}/
|
||||
doins SABnzbd.py
|
||||
fperms +x /usr/share/${PN}/SABnzbd.py
|
||||
dobin "${FILESDIR}"/sabnzbd
|
||||
|
||||
for d in cherrypy email icons interfaces locale po sabnzbd tools util; do
|
||||
insinto /usr/share/${PN}/${d}
|
||||
doins -r ${d}/*
|
||||
done
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
|
||||
diropts -o ${PN} -g ${PN}
|
||||
dodir /etc/${PN}
|
||||
dodir /var/log/${PN}
|
||||
|
||||
insinto "/etc/${PN}"
|
||||
insopts -m 0600 -o ${PN} -g ${PN}
|
||||
doins "${FILESDIR}/${PN}.ini"
|
||||
|
||||
dodoc {ABOUT,CHANGELOG,ISSUES,README}.txt Sample-PostProc.sh licenses/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/share/${PN}
|
||||
|
||||
einfo "Default directory: ${HOMEDIR}"
|
||||
einfo ""
|
||||
einfo "Run: gpasswd -a <user> sabnzbd"
|
||||
einfo "to add a user to the sabnzbd group so it can edit sabnzbd files"
|
||||
einfo ""
|
||||
einfo "By default sabnzbd will listen on 127.0.0.1:8080"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/share/${PN}
|
||||
}
|
@ -1,117 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
# Require python-2 with sqlite USE flag
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
PYTHON_USE_WITH="sqlite"
|
||||
|
||||
inherit eutils python user
|
||||
|
||||
MY_P="${P/sab/SAB}"
|
||||
|
||||
DESCRIPTION="Binary newsgrabber with web-interface"
|
||||
HOMEPAGE="http://www.sabnzbd.org/"
|
||||
SRC_URI="mirror://sourceforge/sabnzbdplus/${MY_P}-src.tar.gz"
|
||||
|
||||
# Sabnzbd is GPL-2 but bundles software with the following licenses.
|
||||
LICENSE="GPL-2 BSD LGPL-2 MIT BSD-1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+rar +ssl unzip +yenc"
|
||||
|
||||
# Sabnzbd is installed to /usr/share/ as upstream makes it clear they should not
|
||||
# be in python's sitedir. See: http://wiki.sabnzbd.org/unix-packaging
|
||||
|
||||
# TODO: still bundled but not in protage:
|
||||
# kronos, rarfile, rsslib, ssmtplib, listquote, json-py, msgfmt
|
||||
# pynewsleecher
|
||||
#
|
||||
# Also note that cherrypy is still bundled. It's near impossible to find
|
||||
# out where the bundled and heavily patched version came from (pulled from
|
||||
# cherrypy subversion, patched somewhere, then imported to sabnzbd and patched
|
||||
# further. Upstream is planning on making this easier with 0.8.0.
|
||||
# https://github.com/sabnzbd/sabnzbd/issues/47
|
||||
|
||||
RDEPEND="
|
||||
>=app-arch/par2cmdline-0.4
|
||||
>=dev-python/cheetah-2.0.1
|
||||
dev-python/configobj
|
||||
dev-python/feedparser
|
||||
dev-python/gntp
|
||||
dev-python/pythonutils
|
||||
net-misc/wget
|
||||
rar? ( || ( app-arch/unrar app-arch/rar ) )
|
||||
ssl? ( dev-python/pyopenssl )
|
||||
unzip? ( >=app-arch/unzip-5.5.2 )
|
||||
yenc? ( dev-python/yenc )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
HOMEDIR="/var/lib/${PN}"
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
# Create sabnzbd group
|
||||
enewgroup ${PN}
|
||||
# Create sabnzbd user, put in sabnzbd group
|
||||
enewuser "${PN}" -1 -1 "${HOMEDIR}" "${PN}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/use-system-configobj-and-feedparser.patch
|
||||
epatch "${FILESDIR}"/growler-support-gntp-1.0.patch
|
||||
epatch "${FILESDIR}"/par2cmdline.patch
|
||||
|
||||
# remove bundled modules
|
||||
rm -r sabnzbd/utils/{feedparser,configobj}.py || die
|
||||
rm -r gntp || die
|
||||
rm licenses/License-{feedparser,configobj,gntp}.txt || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local d
|
||||
|
||||
dodir /usr/share/${PN}/sabnzbd
|
||||
insinto /usr/share/${PN}/
|
||||
doins SABnzbd.py
|
||||
fperms +x /usr/share/${PN}/SABnzbd.py
|
||||
dobin "${FILESDIR}"/sabnzbd
|
||||
|
||||
for d in cherrypy email icons interfaces locale po sabnzbd tools util; do
|
||||
insinto /usr/share/${PN}/${d}
|
||||
doins -r ${d}/*
|
||||
done
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
|
||||
diropts -o ${PN} -g ${PN}
|
||||
dodir /etc/${PN}
|
||||
dodir /var/log/${PN}
|
||||
|
||||
insinto "/etc/${PN}"
|
||||
insopts -m 0600 -o ${PN} -g ${PN}
|
||||
doins "${FILESDIR}/${PN}.ini"
|
||||
|
||||
dodoc {ABOUT,CHANGELOG,ISSUES,README}.txt Sample-PostProc.sh licenses/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/share/${PN}
|
||||
|
||||
einfo "Default directory: ${HOMEDIR}"
|
||||
einfo ""
|
||||
einfo "Run: gpasswd -a <user> sabnzbd"
|
||||
einfo "to add a user to the sabnzbd group so it can edit sabnzbd files"
|
||||
einfo ""
|
||||
einfo "By default sabnzbd will listen on 127.0.0.1:8080"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/share/${PN}
|
||||
}
|
@ -1,122 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
# Require python-2 with sqlite USE flag
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
PYTHON_USE_WITH="sqlite"
|
||||
|
||||
inherit eutils python user systemd
|
||||
|
||||
MY_P="${P/sab/SAB}"
|
||||
|
||||
DESCRIPTION="Binary newsgrabber with web-interface"
|
||||
HOMEPAGE="http://www.sabnzbd.org/"
|
||||
SRC_URI="mirror://sourceforge/sabnzbdplus/${MY_P}-src.tar.gz"
|
||||
|
||||
# Sabnzbd is GPL-2 but bundles software with the following licenses.
|
||||
LICENSE="GPL-2 BSD LGPL-2 MIT BSD-1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+rar +ssl unzip +yenc"
|
||||
|
||||
# Sabnzbd is installed to /usr/share/ as upstream makes it clear they should not
|
||||
# be in python's sitedir. See: http://wiki.sabnzbd.org/unix-packaging
|
||||
|
||||
# TODO: still bundled but not in protage:
|
||||
# kronos, rarfile, rsslib, ssmtplib, listquote, json-py, msgfmt
|
||||
# pynewsleecher
|
||||
#
|
||||
# Also note that cherrypy is still bundled. It's near impossible to find
|
||||
# out where the bundled and heavily patched version came from (pulled from
|
||||
# cherrypy subversion, patched somewhere, then imported to sabnzbd and patched
|
||||
# further. Upstream is planning on making this easier with 0.8.0.
|
||||
# https://github.com/sabnzbd/sabnzbd/issues/47
|
||||
|
||||
RDEPEND="
|
||||
>=app-arch/par2cmdline-0.4
|
||||
>=dev-python/cheetah-2.0.1
|
||||
dev-python/configobj
|
||||
dev-python/feedparser
|
||||
dev-python/gntp
|
||||
dev-python/pythonutils
|
||||
net-misc/wget
|
||||
rar? ( || ( app-arch/unrar app-arch/rar ) )
|
||||
ssl? ( dev-python/pyopenssl )
|
||||
unzip? ( >=app-arch/unzip-5.5.2 )
|
||||
yenc? ( dev-python/yenc )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
HOMEDIR="/var/lib/${PN}"
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
# Create sabnzbd group
|
||||
enewgroup ${PN}
|
||||
# Create sabnzbd user, put in sabnzbd group
|
||||
enewuser "${PN}" -1 -1 "${HOMEDIR}" "${PN}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/use-system-configobj-and-feedparser.patch
|
||||
epatch "${FILESDIR}"/growler-support-gntp-1.0.patch
|
||||
epatch "${FILESDIR}"/par2cmdline.patch
|
||||
epatch "${FILESDIR}"/disable_growl_by_default.patch
|
||||
|
||||
# remove bundled modules
|
||||
rm -r sabnzbd/utils/{feedparser,configobj}.py || die
|
||||
rm -r gntp || die
|
||||
rm licenses/License-{feedparser,configobj,gntp}.txt || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local d
|
||||
|
||||
dodir /usr/share/${PN}/sabnzbd
|
||||
insinto /usr/share/${PN}/
|
||||
doins SABnzbd.py
|
||||
fperms +x /usr/share/${PN}/SABnzbd.py
|
||||
dobin "${FILESDIR}"/sabnzbd
|
||||
|
||||
for d in cherrypy email icons interfaces locale po sabnzbd tools util; do
|
||||
insinto /usr/share/${PN}/${d}
|
||||
doins -r ${d}/*
|
||||
done
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
|
||||
diropts -o ${PN} -g ${PN}
|
||||
dodir /etc/${PN}
|
||||
dodir /var/log/${PN}
|
||||
|
||||
insinto "/etc/${PN}"
|
||||
insopts -m 0600 -o ${PN} -g ${PN}
|
||||
doins "${FILESDIR}/${PN}.ini"
|
||||
|
||||
dodoc {ABOUT,CHANGELOG,ISSUES,README}.txt Sample-PostProc.sh licenses/*
|
||||
|
||||
systemd_newunit "${FILESDIR}"/sabnzbd_at.service 'sabnzbd@.service'
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/share/${PN}
|
||||
|
||||
einfo "Default directory: ${HOMEDIR}"
|
||||
einfo ""
|
||||
einfo "Run: gpasswd -a <user> sabnzbd"
|
||||
einfo "to add a user to the sabnzbd group so it can edit sabnzbd files"
|
||||
einfo ""
|
||||
einfo "By default sabnzbd will listen on 127.0.0.1:8080"
|
||||
einfo "As growl isn't default notification system on gentoo we disable it."
|
||||
einfo "By default notifications are forwarded to the 23053 port(gntp)."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/share/${PN}
|
||||
}
|
@ -1,134 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
# Require python-2 with sqlite USE flag
|
||||
PYTHON_DEPEND="2:2.7"
|
||||
PYTHON_USE_WITH="sqlite"
|
||||
|
||||
inherit eutils python user systemd versionator
|
||||
|
||||
MY_P="${P/sab/SAB}"
|
||||
|
||||
DESCRIPTION="Binary newsgrabber with web-interface"
|
||||
HOMEPAGE="http://www.sabnzbd.org/"
|
||||
SRC_URI="mirror://sourceforge/sabnzbdplus/${MY_P}-src.tar.gz"
|
||||
|
||||
# Sabnzbd is GPL-2 but bundles software with the following licenses.
|
||||
LICENSE="GPL-2 BSD LGPL-2 MIT BSD-1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+rar +ssl unzip +yenc"
|
||||
|
||||
# Sabnzbd is installed to /usr/share/ as upstream makes it clear they should not
|
||||
# be in python's sitedir. See: http://wiki.sabnzbd.org/unix-packaging
|
||||
|
||||
# TODO: still bundled but not in protage:
|
||||
# kronos, rsslib, ssmtplib, listquote, json-py, msgfmt
|
||||
# pynewsleecher
|
||||
#
|
||||
# Also note that cherrypy is still bundled. It's near impossible to find
|
||||
# out where the bundled and heavily patched version came from (pulled from
|
||||
# cherrypy subversion, patched somewhere, then imported to sabnzbd and patched
|
||||
# further. Upstream is planning on making this easier with 0.8.0.
|
||||
# https://github.com/sabnzbd/sabnzbd/issues/47
|
||||
|
||||
RDEPEND="
|
||||
>=app-arch/par2cmdline-0.4
|
||||
>=dev-python/cheetah-2.0.1
|
||||
dev-python/configobj
|
||||
dev-python/feedparser
|
||||
dev-python/gntp
|
||||
dev-python/pythonutils
|
||||
dev-python/rarfile
|
||||
net-misc/wget
|
||||
rar? ( || ( app-arch/unrar app-arch/rar ) )
|
||||
ssl? ( dev-python/pyopenssl )
|
||||
unzip? ( >=app-arch/unzip-5.5.2 )
|
||||
yenc? ( dev-python/yenc )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
HOMEDIR="/var/lib/${PN}"
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
# Create sabnzbd group
|
||||
enewgroup ${PN}
|
||||
# Create sabnzbd user, put in sabnzbd group
|
||||
enewuser "${PN}" -1 -1 "${HOMEDIR}" "${PN}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/1.x/0001-use-system-configobj-and-feedparser.patch
|
||||
epatch "${FILESDIR}"/1.x/0002-growler-support-gntp-1.0.patch
|
||||
epatch "${FILESDIR}"/1.x/0003-cfg-disable-growl-by-default.patch
|
||||
epatch "${FILESDIR}"/1.x/0004-use-system-rarfile.patch
|
||||
|
||||
# remove bundled modules
|
||||
rm -r sabnzbd/utils/{feedparser,configobj,rarfile}.py || die
|
||||
rm -r gntp || die
|
||||
rm licenses/License-{feedparser,configobj,gntp,rarfile}.txt || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local d
|
||||
|
||||
dodir /usr/share/${PN}/sabnzbd
|
||||
insinto /usr/share/${PN}/
|
||||
doins SABnzbd.py
|
||||
fperms +x /usr/share/${PN}/SABnzbd.py
|
||||
dobin "${FILESDIR}"/sabnzbd
|
||||
|
||||
for d in cherrypy email icons interfaces locale po sabnzbd tools util; do
|
||||
insinto /usr/share/${PN}/${d}
|
||||
doins -r ${d}/*
|
||||
done
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
|
||||
diropts -o ${PN} -g ${PN}
|
||||
dodir /etc/${PN}
|
||||
dodir /var/log/${PN}
|
||||
|
||||
insinto "/etc/${PN}"
|
||||
insopts -m 0600 -o ${PN} -g ${PN}
|
||||
doins "${FILESDIR}/${PN}.ini"
|
||||
|
||||
dodoc {ABOUT,ISSUES,README}.txt licenses/*
|
||||
|
||||
systemd_newunit "${FILESDIR}"/sabnzbd_at.service 'sabnzbd@.service'
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/share/${PN}
|
||||
|
||||
einfo "Default directory: ${HOMEDIR}"
|
||||
einfo ""
|
||||
einfo "Run: gpasswd -a <user> sabnzbd"
|
||||
einfo "to add a user to the sabnzbd group so it can edit sabnzbd files"
|
||||
einfo ""
|
||||
einfo "By default sabnzbd will listen on 127.0.0.1:8080"
|
||||
einfo "As growl isn't default notification system on gentoo we disable it."
|
||||
einfo "By default notifications are forwarded to the 23053 port(gntp)."
|
||||
|
||||
local replacing
|
||||
for replacing in ${REPLACING_VERSIONS}; do
|
||||
if [ "$(get_major_version ${replacing})" == "0" ]; then
|
||||
echo
|
||||
ewarn "Upgrading from ${PN}-0.x.y to ${PN}-1.x.y introduces incompatible changes"
|
||||
ewarn "See http://wiki.sabnzbd.org/introducing-1-0-0."
|
||||
ewarn "In particular, you need to let your queue complete before restarting ${PN}"
|
||||
break
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/share/${PN}
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
ETYPE="sources"
|
||||
K_WANT_GENPATCHES="base extras experimental"
|
||||
K_GENPATCHES_VER="40"
|
||||
|
||||
inherit kernel-2
|
||||
detect_version
|
||||
detect_arch
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
|
||||
IUSE="experimental"
|
||||
|
||||
DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
|
||||
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
|
||||
|
||||
pkg_postinst() {
|
||||
kernel-2_pkg_postinst
|
||||
einfo "For more info on this patchset, and how to report problems, see:"
|
||||
einfo "${HOMEPAGE}"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
kernel-2_pkg_postrm
|
||||
}
|
Loading…
Reference in new issue