parent
784f1b0452
commit
ce2d3664db
@ -0,0 +1,11 @@
|
||||
# The list of the disk devices that hdapsd should monitor.
|
||||
# Usually this is 'hda', 'sda' or 'hda sda'.
|
||||
DISKLIST="sda"
|
||||
|
||||
# hdapsd sensitivity
|
||||
# The lower the threshold is the earlier
|
||||
# the heads are parked when the laptop is shaked
|
||||
THRESHOLD="10"
|
||||
|
||||
# Set any extra options here, like -a for Adaptive mode
|
||||
OPTIONS="-a"
|
@ -0,0 +1,68 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License, v2
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
if [[ -n ${DISK} ]]; then
|
||||
ewarn "Please migrate DISK to DISKLIST in /etc/conf.d/hdapsd."
|
||||
DISKLIST=${DISK}
|
||||
fi
|
||||
|
||||
if [[ -z ${DISKLIST} || -z ${THRESHOLD} ]] ; then
|
||||
eerror "You should setup DISKLIST and THRESHOLD in /etc/conf.d/hdapsd."
|
||||
return 1
|
||||
fi
|
||||
|
||||
for DISK in ${DISKLIST}; do
|
||||
if [ ! -b /dev/${DISK} ]; then
|
||||
eerror "Could not find disk /dev/${DISK}!"
|
||||
eerror "Adjust the DISK setting in /etc/conf.d/hdapsd"
|
||||
return 1
|
||||
fi
|
||||
|
||||
if [[ ! -e /sys/block/${DISK}/queue/protect ]] && [[ ! -e /sys/block/${DISK}/device/unload_heads ]] ; then
|
||||
eerror "No protect entry for ${DISK}!"
|
||||
eerror "Make sure your kernel is patched with the blk_freeze patch"
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
|
||||
# Load the tp_smapi module first
|
||||
# This is not a requirement, but it helps hdapsd adaptive mode
|
||||
if [[ ! -e /sys/devices/platform/smapi ]] ; then
|
||||
modprobe tp_smapi 2>/dev/null
|
||||
fi
|
||||
|
||||
if [[ ! -d /sys/devices/platform/hdaps ]]; then
|
||||
ebegin "Loading hdaps module"
|
||||
modprobe hdaps
|
||||
eend $? || return 1
|
||||
fi
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig || return 1
|
||||
|
||||
local DISKOPTS DISK
|
||||
for DISK in ${DISKLIST}; do
|
||||
DISKOPTS="-d ${DISK} "
|
||||
done
|
||||
|
||||
ebegin "Starting Hard Drive Active Protection System daemon"
|
||||
start-stop-daemon --start --exec /usr/sbin/hdapsd \
|
||||
--pidfile /var/run/hdapsd.pid \
|
||||
-- --syslog --background --pidfile \
|
||||
${DISKOPTS} --sensitivity "${THRESHOLD}" ${OPTIONS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Hard Drive Active Protection System daemon"
|
||||
start-stop-daemon --stop --exec /usr/sbin/hdapsd \
|
||||
--pidfile /var/run/hdapsd.pid
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/hdapsd/hdapsd-20090401-r1.ebuild,v 1.1 2011/12/21 04:51:22 ottxor Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit linux-info
|
||||
|
||||
DESCRIPTION="IBM ThinkPad Harddrive Active Protection disk head parking daemon"
|
||||
HOMEPAGE="http://hdaps.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/hdaps/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
pkg_setup() {
|
||||
# We require the hdaps module which can either come from kernel sources or
|
||||
# from the tp_smapi package.
|
||||
if ! has_version app-laptop/tp_smapi[hdaps]; then
|
||||
CONFIG_CHECK="~SENSORS_HDAPS"
|
||||
ERROR_SENSORS_HDAPS="${P} requires app-laptop/tp_smapi (with hdaps USE enabled) or support for CONFIG_SENSORS_HDAPS enabled"
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install
|
||||
rm -rf "${ED}"/usr/share/doc/hdapsd
|
||||
dodoc ChangeLog README AUTHORS
|
||||
newconfd "${FILESDIR}"/hdapsd.conf.2 hdapsd
|
||||
newinitd "${FILESDIR}"/hdapsd.init.2 hdapsd
|
||||
}
|
||||
|
||||
pkg_postinst(){
|
||||
[[ -z $(ls ${EROOT}/sys/block/*/queue/protect 2>/dev/null) ]] && \
|
||||
[[ -z $(ls ${EROOT}/sys/block/*/device/unload_heads 2>/dev/null) ]] && \
|
||||
ewarn "Your kernel does NOT support shock protection. Kernel 2.6.28 and above is recommended!"
|
||||
|
||||
if ! has_version app-laptop/tp_smapi[hdaps]; then
|
||||
ewarn "Using the hdaps module provided by app-laptop/tp_smapi instead"
|
||||
ewarn "of the in-kernel driver is strongly recommended!"
|
||||
fi
|
||||
|
||||
elog "You can change the default frequency by modifing /sys/devices/platform/hdaps/sampling_rate"
|
||||
elog "You might need to enable shock protection manually by running "
|
||||
elog " echo -1 > /sys/block/DEVICE/device/unload_heads"
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST muparser_v132.tar.gz 1009309 RMD160 a8c03084db33f0a62b9d927799134fc35c7a4d87 SHA1 ff9e7be4408cafbbd6d9256095eaf8ebb12611b1 SHA256 49dec550c0a5bddf506c3ce80e3d98c92f83dd021acb0e0d57ce4d3ea9df8f47
|
||||
DIST muparser_v134.tar.gz 1013841 RMD160 ee7e0e4ebedde6368d1bfa100da23ac3ce946500 SHA1 d6d834d3ba2bd3c316c9b3070369d32701703f78 SHA256 0e3d3dffe2d0bac9c381fc1320ee1e549993aff554d8c16d719caf23653f2276
|
||||
DIST muparser_v2_1_0.zip 1465893 RMD160 cf52e9baca5a094bee00e5dafda4e8aa60f9f393 SHA1 797a45593e6edb86cb01f9dfe02e984849b96675 SHA256 4babb0cf4073943cb369cf78cb7a1b2c3188cdcf5406becf3b229509ce6bd17d
|
||||
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/muParser/muParser-1.32-r1.ebuild,v 1.2 2010/04/26 20:35:19 maekke Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils
|
||||
|
||||
MY_PN=${PN/P/p}
|
||||
MY_P=${MY_PN}_v${PV/./}
|
||||
DESCRIPTION="Library for parsing mathematical expressions"
|
||||
HOMEPAGE="http://muparser.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
# fix destdir and respect cxxflags
|
||||
# cant really use autotools cause muparser use bakefile
|
||||
# and too lasy to make an ebuild for it.
|
||||
epatch "${FILESDIR}"/${P}-build.patch
|
||||
epatch "${FILESDIR}"/${P}-parallel-build.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable test samples)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cat > test.sh <<-EOFTEST
|
||||
LD_LIBRARY_PATH=${S}/lib samples/example1/example1 << EOF
|
||||
quit
|
||||
EOF
|
||||
EOFTEST
|
||||
sh ./test.sh || die "test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc Changes.txt Credits.txt || die "dodoc failed"
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r docs/html || die
|
||||
fi
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
--- configure~ 2011-06-20 22:41:48.000000000 +0700
|
||||
+++ configure 2011-12-21 16:15:49.000000000 +0700
|
||||
@@ -7359,8 +7359,2 @@
|
||||
$as_echo_n "checking emacs default.el... " >&6; }
|
||||
-if [ "$EMACS" != "" ] ; then
|
||||
- EMACS_DEFAULT_EL=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d `
|
||||
-else
|
||||
- EMACS_DEFAULT_EL=""
|
||||
-fi
|
||||
-if test -f "${EMACS_DEFAULT_EL}" ; then true;else
|
||||
if test -d $EMACS_SITE_LISP ; then
|
||||
@@ -7368,3 +7362,2 @@
|
||||
fi
|
||||
-fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $EMACS_DEFAULT_EL" >&5
|
@ -0,0 +1,137 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/gcl-2.6.8_pre20111221.ebuild,v 1.1 2011/12/21 10:26:25 grozin Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
#removing flag-o-matic results in make install failing due to a segfault
|
||||
inherit elisp-common flag-o-matic
|
||||
|
||||
DESCRIPTION="GNU Common Lisp"
|
||||
HOMEPAGE="http://www.gnu.org/software/gcl/gcl.html"
|
||||
SRC_URI="http://dev.gentoo.org/~grozin/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
IUSE="+ansi debug doc emacs +readline tk X"
|
||||
|
||||
# See bug #205803
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND="emacs? ( virtual/emacs )
|
||||
readline? ( sys-libs/readline )
|
||||
>=dev-libs/gmp-4.1
|
||||
tk? ( dev-lang/tk )
|
||||
X? ( x11-libs/libXt x11-libs/libXext x11-libs/libXmu x11-libs/libXaw )
|
||||
virtual/latex-base"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( virtual/texi2dvi )
|
||||
>=app-text/texi2html-1.64
|
||||
>=sys-devel/autoconf-2.52"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-default-el.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconfig=""
|
||||
if use tk; then
|
||||
myconfig="${myconfig} --enable-tkconfig=/usr/lib --enable-tclconfig=/usr/lib"
|
||||
fi
|
||||
myconfig="${myconfig} \
|
||||
--enable-emacsdir=/usr/share/emacs/site-lisp/gcl \
|
||||
--enable-dynsysgmp \
|
||||
--disable-xdr
|
||||
$(use_enable readline) \
|
||||
$(use_with X x) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable ansi)"
|
||||
|
||||
einfo "Configuring with the following:
|
||||
${myconfig}"
|
||||
econf ${myconfig}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make || die "make failed"
|
||||
sed -e 's,@EXT@,,g' debian/in.gcl.1 >gcl.1
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local make_ansi_tests_clean="rm -f test.out *.fasl *.o \
|
||||
*.so *~ *.fn *.x86f *.fasl *.ufsl"
|
||||
if use ansi; then
|
||||
cd ansi-tests
|
||||
|
||||
( make clean && make test-unixport ) \
|
||||
|| die "make ansi-tests failed!"
|
||||
|
||||
cat "${FILESDIR}/bootstrap-gcl" \
|
||||
| ../unixport/saved_ansi_gcl
|
||||
|
||||
cat "${FILESDIR}/bootstrap-gcl" \
|
||||
|sed s/bootstrapped_ansi_gcl/bootstrapped_r_ansi_gcl/g \
|
||||
| ./bootstrapped_ansi_gcl
|
||||
|
||||
( ${make_ansi_tests_clean} && \
|
||||
echo "(load \"gclload.lsp\")" \
|
||||
| ./bootstrapped_r_ansi_gcl ) \
|
||||
|| die "Phase 2, bootstraped compiler failed in tests"
|
||||
|
||||
else
|
||||
|
||||
ewarn "Upstream provides tests only for ansi-gcl."
|
||||
ewarn "Please emerge with ansi USE flag enabled"
|
||||
ewarn "if you wnat to run the ansi tests."
|
||||
|
||||
cat "${FILESDIR}/bootstrap-gcl" \
|
||||
| sed s/bootstrapped_ansi_gcl/bootstrapped_gcl/g \
|
||||
| unixport/saved_gcl
|
||||
|
||||
cat "${FILESDIR}/bootstrap-gcl" \
|
||||
| sed s/bootstrapped_ansi_gcl/bootstrapped_r_gcl/g \
|
||||
| ./bootstrapped_gcl
|
||||
|
||||
for x in "./bootstrapped_r_gcl" "unixport/saved_gcl" ; do
|
||||
echo "(compiler::emit-fn t)" \
|
||||
| ${x} \
|
||||
|| die "Phase 2, bootstraped compiler failed in tests"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
rm -rf "${D}"usr/share/doc/${PN}-si "${D}"usr/share/doc/${PN}-tk
|
||||
|
||||
dosed /usr/bin/gcl
|
||||
fperms 0755 /usr/bin/gcl
|
||||
|
||||
dodoc readme* RELEASE* ChangeLog* doc/*
|
||||
doman gcl.1
|
||||
doinfo info/*.info*
|
||||
|
||||
if use emacs; then
|
||||
mv "${D}"usr/share/emacs/site-lisp/${PN}/add-default.el "${T}"/50${PN}-gentoo.el
|
||||
elisp-site-file-install "${T}"/50${PN}-gentoo.el
|
||||
elisp-install ${PN} elisp/*
|
||||
fperms 0644 /usr/share/emacs/site-lisp/gcl/*
|
||||
else
|
||||
rm -rf "${D}"usr/share/emacs
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
mv "${D}"usr/share/doc/*.dvi "${D}"usr/share/doc/dwdoc* "${D}"usr/share/doc/${PF}/
|
||||
else
|
||||
rm -rf "${D}"usr/share/doc/*.dvi "${D}"usr/share/doc/dwdoc*
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
https://code.djangoproject.com/changeset/16223
|
||||
https://code.djangoproject.com/changeset/16231
|
||||
https://code.djangoproject.com/changeset/16952
|
||||
|
||||
--- docs/_ext/djangodocs.py
|
||||
+++ docs/_ext/djangodocs.py
|
||||
@@ -16,7 +16,7 @@
|
||||
except ImportError:
|
||||
json = None
|
||||
|
||||
-from sphinx import addnodes, roles
|
||||
+from sphinx import addnodes, roles, __version__ as sphinx_ver
|
||||
from sphinx.builders.html import StandaloneHTMLBuilder
|
||||
from sphinx.writers.html import SmartyPantsHTMLTranslator
|
||||
from sphinx.util.console import bold
|
||||
@@ -127,26 +127,29 @@
|
||||
|
||||
# Don't use border=1, which docutils does by default.
|
||||
def visit_table(self, node):
|
||||
+ self._table_row_index = 0 # Needed by Sphinx
|
||||
self.body.append(self.starttag(node, 'table', CLASS='docutils'))
|
||||
|
||||
# <big>? Really?
|
||||
def visit_desc_parameterlist(self, node):
|
||||
self.body.append('(')
|
||||
self.first_param = 1
|
||||
+ self.param_separator = node.child_text_separator
|
||||
|
||||
def depart_desc_parameterlist(self, node):
|
||||
self.body.append(')')
|
||||
|
||||
- #
|
||||
- # Don't apply smartypants to literal blocks
|
||||
- #
|
||||
- def visit_literal_block(self, node):
|
||||
- self.no_smarty += 1
|
||||
- SmartyPantsHTMLTranslator.visit_literal_block(self, node)
|
||||
-
|
||||
- def depart_literal_block(self, node):
|
||||
- SmartyPantsHTMLTranslator.depart_literal_block(self, node)
|
||||
- self.no_smarty -= 1
|
||||
+ if sphinx_ver < '1.0.8':
|
||||
+ #
|
||||
+ # Don't apply smartypants to literal blocks
|
||||
+ #
|
||||
+ def visit_literal_block(self, node):
|
||||
+ self.no_smarty += 1
|
||||
+ SmartyPantsHTMLTranslator.visit_literal_block(self, node)
|
||||
+
|
||||
+ def depart_literal_block(self, node):
|
||||
+ SmartyPantsHTMLTranslator.depart_literal_block(self, node)
|
||||
+ self.no_smarty -= 1
|
||||
|
||||
#
|
||||
# Turn the "new in version" stuff (versionadded/versionchanged) into a
|
@ -0,0 +1,13 @@
|
||||
--- setup.py.orig
|
||||
+++ setup.py 2011-09-04
|
||||
@@ -264,10 +264,6 @@
|
||||
if dir:
|
||||
add_directory(self.compiler.include_dirs, dir, 0)
|
||||
|
||||
- if find_include_file(self, "lcms.h"):
|
||||
- if find_library_file(self, "lcms"):
|
||||
- feature.lcms = "lcms"
|
||||
-
|
||||
if _tkinter and find_include_file(self, "tk.h"):
|
||||
# the library names may vary somewhat (e.g. tcl84 or tcl8.4)
|
||||
version = TCL_VERSION[0] + TCL_VERSION[2]
|
@ -0,0 +1,117 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/imaging/imaging-1.1.7-r1.ebuild,v 1.1 2011/12/21 07:32:38 maksbotan Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
PYTHON_USE_WITH="tk"
|
||||
PYTHON_USE_WITH_OPT="tk"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
|
||||
inherit eutils distutils
|
||||
|
||||
MY_P=Imaging-${PV}
|
||||
|
||||
DESCRIPTION="Python Imaging Library (PIL)"
|
||||
HOMEPAGE="http://www.pythonware.com/products/pil/index.htm"
|
||||
SRC_URI="http://www.effbot.org/downloads/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="doc examples lcms scanner tk X"
|
||||
|
||||
DEPEND="virtual/jpeg
|
||||
media-libs/freetype:2
|
||||
lcms? ( media-libs/lcms:0[python] )
|
||||
scanner? ( media-gfx/sane-backends )
|
||||
X? ( x11-misc/xdg-utils )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS="CHANGES CONTENTS"
|
||||
|
||||
pkg_setup() {
|
||||
PYTHON_MODNAME="PIL $(use scanner && echo sane.py)"
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
|
||||
epatch "${FILESDIR}/${P}-no-xv.patch"
|
||||
epatch "${FILESDIR}/${P}-sane.patch"
|
||||
epatch "${FILESDIR}/${P}-giftrans.patch"
|
||||
epatch "${FILESDIR}/${P}-missing-math.patch"
|
||||
if ! use lcms; then
|
||||
epatch "${FILESDIR}/${P}-nolcms.patch"
|
||||
fi
|
||||
|
||||
# Add shebang.
|
||||
sed -e "1i#!/usr/bin/python" -i Scripts/pilfont.py \
|
||||
|| die "sed failed adding shebang"
|
||||
|
||||
sed -i \
|
||||
-e "s:/usr/lib\":/usr/$(get_libdir)\":" \
|
||||
-e "s:\"lib\":\"$(get_libdir)\":g" \
|
||||
setup.py || die "sed failed"
|
||||
|
||||
if ! use tk; then
|
||||
# Make the test always fail
|
||||
sed -i \
|
||||
-e 's/import _tkinter/raise ImportError/' \
|
||||
setup.py || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
if use scanner; then
|
||||
pushd Sane > /dev/null
|
||||
distutils_src_compile
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
tests() {
|
||||
PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" selftest.py
|
||||
}
|
||||
python_execute_function tests
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dohtml Docs/* || die "dohtml failed"
|
||||
fi
|
||||
|
||||
if use scanner; then
|
||||
pushd Sane > /dev/null
|
||||
docinto sane
|
||||
DOCS="CHANGES sanedoc.txt" distutils_src_install
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
# Install headers required by media-gfx/sketch.
|
||||
install_headers() {
|
||||
insinto "$(python_get_includedir)"
|
||||
doins libImaging/Imaging.h
|
||||
doins libImaging/ImPlatform.h
|
||||
}
|
||||
python_execute_function install_headers
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins Scripts/* || die "doins failed"
|
||||
|
||||
if use scanner; then
|
||||
insinto /usr/share/doc/${PF}/examples/sane
|
||||
doins Sane/demo_*.py || die "doins failed"
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,5 +1,2 @@
|
||||
DIST mini_magick-1.2.5.gem 1082368 RMD160 a43812248126cab16a4eb56610af6f68745d23f3 SHA1 d1875a9baf658f7ff051071378dbfbf258316a4e SHA256 ced23395ff771a1d1475a5efbf611feb33d4278dde9bdcd567b83a8771294485
|
||||
DIST mini_magick-1.3.3.gem 41472 RMD160 60df421470faac1c06e02bf86442f3445129417a SHA1 6a2e605ef872e36e09142c7d5c4ddfbd94de87ab SHA256 4634f09a8e6a879ab1baee58cdb15ea18aa08802c2c6a24d8b46d51e3e00b94d
|
||||
DIST mini_magick-3.1.gem 45568 RMD160 cbd5e25f2fd4e8d456a4ba720669e1b58b048490 SHA1 e1facf5cab203e54129c0fdf37d38f110787aebb SHA256 514cef555bd1cee2807243f0f1602a0f6dad7f74cc552d50a4cfc6fa34811839
|
||||
DIST mini_magick-3.2.gem 45568 RMD160 b7328e0499da6a126938fef7e08fb7f64b1c6543 SHA1 3314501a85f8952249d6509254c7b49a93713838 SHA256 18b70532ee43b527ef3967f207e430e163ed64685f7a4ddb573562b96bec799a
|
||||
DIST mini_magick-3.3.gem 50176 RMD160 5e3b8b5e5be6906c3d0d86ce1e388125385f15a2 SHA1 7c7894694e10d4db39d40a3809b1d50fc87f5ac5 SHA256 0fe91f2c7eba00d76aebd0dcc54290850255ce378f91596bb2ba8a3a3da492f8
|
||||
|
@ -1,14 +0,0 @@
|
||||
diff --git a/test/image_temp_file_test.rb b/test/image_temp_file_test.rb
|
||||
index bf6a368..7478688 100644
|
||||
--- a/test/image_temp_file_test.rb
|
||||
+++ b/test/image_temp_file_test.rb
|
||||
@@ -11,7 +11,7 @@ class ImageTempFileTest < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
def test_temp_file_has_given_extension
|
||||
- assert_match /^[^.]+\.jpg$/, ImageTempFile.new('jpg').path
|
||||
- assert_match /^[^.]+\.png$/, ImageTempFile.new('png').path
|
||||
+ assert_match /^.+\.jpg$/, ImageTempFile.new('jpg').path
|
||||
+ assert_match /^.+\.png$/, ImageTempFile.new('png').path
|
||||
end
|
||||
end
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mini_magick/mini_magick-1.2.5.ebuild,v 1.2 2010/05/22 15:25:00 flameeyes Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
# jruby → test_tempfile_at_path_after_format fails with jruby 1.3.1,
|
||||
# sounds like a bug in JRuby itself, or the code not being compatible.
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="Manipulate images with minimal use of memory."
|
||||
HOMEPAGE="http://github.com/probablycorey/mini_magick"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
# It's only used at runtime in this case because this extension only
|
||||
# _calls_ the commands. But when we run tests we're going to need tiff
|
||||
# and jpeg support at a minimum.
|
||||
RDEPEND="media-gfx/imagemagick"
|
||||
DEPEND="test? ( media-gfx/imagemagick[tiff,jpeg] )"
|
||||
|
||||
# tests are known to fail under imagemagick 6.5 at least, reported upstream:
|
||||
# http://github.com/probablycorey/mini_magick/issues/#issue/2
|
||||
ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# remove executable bit from all files
|
||||
find "${S}" -type f -exec chmod -x {} +
|
||||
|
||||
epatch "${FILESDIR}"/${P}-tests-tempdir.patch
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mini_magick/mini_magick-1.3.3.ebuild,v 1.1 2010/09/19 07:07:01 graaff Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
# jruby → test_tempfile_at_path_after_format fails with jruby 1.3.1,
|
||||
# sounds like a bug in JRuby itself, or the code not being compatible.
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="Manipulate images with minimal use of memory."
|
||||
HOMEPAGE="http://github.com/probablycorey/mini_magick"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
# It's only used at runtime in this case because this extension only
|
||||
# _calls_ the commands. But when we run tests we're going to need tiff
|
||||
# and jpeg support at a minimum.
|
||||
RDEPEND="media-gfx/imagemagick"
|
||||
DEPEND="test? ( media-gfx/imagemagick[tiff,jpeg] )"
|
||||
|
||||
# tests are known to fail under imagemagick 6.5 at least, reported upstream:
|
||||
# http://github.com/probablycorey/mini_magick/issues/#issue/2
|
||||
# update: still fails with imagemagick 6.6.
|
||||
ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/subexec-0.0.4"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# remove executable bit from all files
|
||||
find "${S}" -type f -exec chmod -x {} +
|
||||
|
||||
# Remove spec definition part because the gemspec file is not included
|
||||
sed -i -e '/gemspec/,$ d' Rakefile || die
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mini_magick/mini_magick-3.2.ebuild,v 1.1 2011/01/14 07:41:19 graaff Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
# jruby → test_tempfile_at_path_after_format fails with jruby 1.3.1,
|
||||
# sounds like a bug in JRuby itself, or the code not being compatible.
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="Manipulate images with minimal use of memory."
|
||||
HOMEPAGE="http://github.com/probablycorey/mini_magick"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
# It's only used at runtime in this case because this extension only
|
||||
# _calls_ the commands. But when we run tests we're going to need tiff
|
||||
# and jpeg support at a minimum.
|
||||
RDEPEND="media-gfx/imagemagick"
|
||||
DEPEND="test? ( media-gfx/imagemagick[tiff,jpeg] )"
|
||||
|
||||
# tests are known to fail under imagemagick 6.5 at least, reported upstream:
|
||||
# http://github.com/probablycorey/mini_magick/issues/#issue/2
|
||||
# update: still fails with imagemagick 6.6.
|
||||
ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/subexec-0.0.4"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# remove executable bit from all files
|
||||
find "${S}" -type f -exec chmod -x {} +
|
||||
|
||||
# Remove spec definition part because the gemspec file is not included
|
||||
sed -i -e '/gemspec/,$ d' Rakefile || die
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST gcompris-11.09.tar.gz 149250632 RMD160 bf718a96e224a473cf766f491e2fab42f39d4243 SHA1 aaa3b9abc2626593f7db6ddbab7e66849419e025 SHA256 d83c33f4ee85a1def4a3dd5e145938f63fb452d6b8a98b8fdaa9d3f348cf202c
|
||||
DIST gcompris-11.12.tar.gz 149436786 RMD160 0f26cc9bd3dd8d4a7f1c8d99c46659d60e1942d9 SHA1 121ded747cb9c0019564577faa951d28f7cb4e36 SHA256 ab57e7c96df66114f7298947f6725364f4a8b811f1bb1e9470cbd63eea9e6d81
|
||||
DIST gcompris-9.6.1.tar.gz 145196483 RMD160 de8e3b530f97307fa6d745facf785204886b452d SHA1 b0a410ad87cdf087e5f238bcfc0ed87a0ce7ab5c SHA256 ffc3c127ff628c57f6a113bb1c568541bf4fc2f1e4242315d8a3fa7a5111f4e9
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-11.09.ebuild,v 1.2 2011/11/11 21:11:44 mr_bones_ Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-11.12.ebuild,v 1.1 2011/12/21 07:21:29 mr_bones_ Exp $
|
||||
|
||||
EAPI=2
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/zeitgeist/zeitgeist-0.7.1-r2.ebuild,v 1.1 2011/12/21 11:43:41 maksbotan Exp $
|
||||
|
||||
EAPI=3
|
||||
PYTHON_DEPEND="2"
|
||||
inherit autotools eutils python versionator
|
||||
|
||||
DIR_PV=$(get_version_component_range 1-2)
|
||||
EXT_VER=0.0.7
|
||||
|
||||
DESCRIPTION="Service to log activities and present to other apps"
|
||||
HOMEPAGE="http://launchpad.net/zeitgeist"
|
||||
SRC_URI="http://launchpad.net/zeitgeist/${DIR_PV}/${PV}/+download/${P}.tar.gz
|
||||
http://launchpad.net/zeitgeist-extensions/trunk/${EXT_VER}/+download/zeitgeist-extensions-${EXT_VER}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="fts"
|
||||
|
||||
RDEPEND="media-libs/raptor:2
|
||||
dev-python/rdflib
|
||||
dev-python/dbus-python
|
||||
dev-python/pyxdg
|
||||
fts? ( dev-libs/xapian-bindings[python] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-no-rdfpipe.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
insinto /usr/share/zeitgeist/_zeitgeist/engine/extensions
|
||||
if use fts; then
|
||||
doins "${WORKDIR}"/zeitgeist-extensions-${EXT_VER}/fts/fts.py
|
||||
fi
|
||||
python_convert_shebangs -r 2 "${ED}"
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
Index: gejengel-0.1.4/src/AudioDecoder/ffmpegdecoder.cpp
|
||||
===================================================================
|
||||
--- gejengel-0.1.4.orig/src/AudioDecoder/ffmpegdecoder.cpp
|
||||
+++ gejengel-0.1.4/src/AudioDecoder/ffmpegdecoder.cpp
|
||||
@@ -104,7 +104,7 @@ void FFmpegDecoder::initializeAudio()
|
||||
{
|
||||
for(uint32_t i = 0; i < m_pFormatContext->nb_streams; ++i)
|
||||
{
|
||||
- if (m_pFormatContext->streams[i]->codec->codec_type == CODEC_TYPE_AUDIO)
|
||||
+ if (m_pFormatContext->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO)
|
||||
{
|
||||
m_pAudioStream = m_pFormatContext->streams[i];
|
||||
m_AudioStream = i;
|
@ -1,6 +1,8 @@
|
||||
DIST vlc-1.1.12.tar.bz2 26220996 RMD160 117530abc8bd3f38d9233b7a7c91a3aaa17af87c SHA1 b39de66711a33746ce12f16a50e41d3def7b1452 SHA256 6dc50d27d25a0fab55b66f9ae3aa4001082d2d86b96b0491a8dab35423be1a68
|
||||
DIST vlc-1.1.13.tar.bz2 26226587 RMD160 c5aa438a9085ddbf28e849df442b75475693290d SHA1 05bbc7ff427f3b919b29a45ce014caff9ba92648 SHA256 03edec44d463b9f5e7db56fd844c6d4ac79966638e1ac32dedcfb5847a9323c1
|
||||
DIST vlc-1.2.0-pre1.tar.xz 16899100 RMD160 82f49619606bba26214b7c7206d0e592ec94f9bd SHA1 72b38f2c97cad4f143b16a2891f083bfab5b5174 SHA256 263bd69c5b0cf3b363d10896f373d6dc8b78feb208d51bcbc0d7260ef507ebc0
|
||||
DIST vlc-patches-101.tar.bz2 3011 RMD160 785ba728c04f025ca8377061e82c6c865d50a736 SHA1 e9be6b192bb3d69e4bd2387a9854543e0f8b3132 SHA256 abd3af99b9c2fa76b67a2e9c72e2d81982f1bca93cb5e3b2f33d29de9e395dae
|
||||
DIST vlc-patches-102.tar.bz2 4286 RMD160 c8d693d88e231fe8ff5257be296f967ce592d91b SHA1 83471b1df166dfb6c1faaa6d4120c09ab7d9b9fd SHA256 649d10cb9ddb604468b05dfaa9bc0ce22af906f04e744ec671fc76472ac622be
|
||||
DIST vlc-patches-103.tar.bz2 4610 RMD160 db486b668e5c98e4c46f7cb8eac60b9fb7696446 SHA1 bb329088a1b73de4eff59399bd66b2d145ab59f3 SHA256 5019bb3cc49621b3186079d05a63a191c3e8c69b6b9221ea015932d8e02b443e
|
||||
DIST vlc-patches-104.tar.bz2 3839 RMD160 bde7bd345b8082a82382f8c874d7ec2a9151382e SHA1 85729ea0889de759d8476c9571c2680fd31b588c SHA256 cb019bdea9ea95b7bbe2d2ef1194d276e93e1cf0e4e62403e80698c785f1a1ec
|
||||
DIST vlc-patches-99.tar.bz2 3353 RMD160 5e4961b7a6036ddcd609af1ce001f9be8cd6e525 SHA1 b26e969bcf05751fc0fe2ffd17b5be03d7a184aa SHA256 79b68b6879b737a714075d2437a7615525242412f7cf084277ace2cbeec567e9
|
||||
|
@ -0,0 +1,375 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-1.1.13.ebuild,v 1.1 2011/12/21 12:18:47 aballier Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
SCM=""
|
||||
if [ "${PV%9999}" != "${PV}" ] ; then
|
||||
SCM=git-2
|
||||
EGIT_BOOTSTRAP="bootstrap"
|
||||
if [ "${PV%.9999}" != "${PV}" ] ; then
|
||||
EGIT_REPO_URI="git://git.videolan.org/vlc/vlc-${PV%.9999}.git"
|
||||
else
|
||||
EGIT_REPO_URI="git://git.videolan.org/vlc.git"
|
||||
fi
|
||||
fi
|
||||
|
||||
inherit eutils multilib autotools toolchain-funcs gnome2 nsplugins qt4 flag-o-matic ${SCM}
|
||||
|
||||
MY_PV="${PV/_/-}"
|
||||
MY_PV="${MY_PV/-beta/-test}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
VLC_SNAPSHOT_TIME="0013"
|
||||
|
||||
PATCHLEVEL="104"
|
||||
DESCRIPTION="VLC media player - Video player and streamer"
|
||||
HOMEPAGE="http://www.videolan.org/vlc/"
|
||||
if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
|
||||
SRC_URI=""
|
||||
elif [[ "${P}" == *_alpha* ]]; then # Snapshots taken from nightlies.videolan.org
|
||||
SRC_URI="http://nightlies.videolan.org/build/source/trunk-${PV/*_alpha/}-${VLC_SNAPSHOT_TIME}/${PN}-snapshot-${PV/*_alpha/}.tar.bz2"
|
||||
MY_P="${P/_alpha*/}-git"
|
||||
elif [[ "${MY_P}" == "${P}" ]]; then
|
||||
SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2"
|
||||
else
|
||||
SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.bz2"
|
||||
fi
|
||||
|
||||
SRC_URI="${SRC_URI}
|
||||
mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
if [ "${PV%9999}" = "${PV}" ] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
else
|
||||
KEYWORDS=""
|
||||
fi
|
||||
IUSE="a52 aac aalib alsa altivec atmo avahi bidi cdda cddb dbus dc1394
|
||||
debug dirac directfb dts dvb dvd elibc_glibc fbcon fluidsynth +ffmpeg flac fontconfig
|
||||
+gcrypt ggi gme gnome gnutls httpd id3tag ieee1394 jack kate kde libass libcaca
|
||||
libnotify libproxy libtiger libv4l libv4l2 lirc live lua matroska mmx
|
||||
modplug mp3 mpeg mtp musepack ncurses nsplugin ogg opengl optimisememory oss
|
||||
png projectm pulseaudio pvr +qt4 remoteosd rtsp run-as-root samba
|
||||
schroedinger sdl sdl-image shine shout skins speex sqlite sse stream
|
||||
svg svga taglib theora truetype twolame udev upnp v4l vaapi vcdx vlm
|
||||
vorbis win32codecs wma-fixed +X x264 +xcb xml xosd xv zvbi"
|
||||
|
||||
RDEPEND="
|
||||
|| ( >=sys-libs/zlib-1.2.5.1-r2[minizip] <sys-libs/zlib-1.2.5.1-r1 )
|
||||
>=media-libs/libdvbpsi-0.1.6
|
||||
a52? ( >=media-libs/a52dec-0.7.4-r3 )
|
||||
aalib? ( media-libs/aalib x11-libs/libX11 )
|
||||
aac? ( >=media-libs/faad2-2.6.1 )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.23 )
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
bidi? ( >=dev-libs/fribidi-0.10.4 )
|
||||
cdda? ( cddb? ( >=media-libs/libcddb-1.2.0 ) )
|
||||
dbus? ( >=sys-apps/dbus-1.0.2 )
|
||||
dc1394? ( >=sys-libs/libraw1394-2.0.1 >=media-libs/libdc1394-2.0.2 )
|
||||
dirac? ( >=media-video/dirac-0.10.0 )
|
||||
directfb? ( dev-libs/DirectFB sys-libs/zlib )
|
||||
dts? ( media-libs/libdca )
|
||||
dvd? ( media-libs/libdvdread >=media-libs/libdvdnav-0.1.9 )
|
||||
elibc_glibc? ( >=sys-libs/glibc-2.8 )
|
||||
ffmpeg? ( virtual/ffmpeg )
|
||||
flac? ( media-libs/libogg >=media-libs/flac-1.1.2 )
|
||||
fluidsynth? ( media-sound/fluidsynth )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
gcrypt? ( >=dev-libs/libgcrypt-1.2.0 )
|
||||
ggi? ( media-libs/libggi )
|
||||
gme? ( media-libs/game-music-emu )
|
||||
gnome? ( gnome-base/gnome-vfs )
|
||||
gnutls? ( >=net-libs/gnutls-1.7.4 >=dev-libs/libgcrypt-1.2.0 )
|
||||
id3tag? ( media-libs/libid3tag sys-libs/zlib )
|
||||
ieee1394? ( >=sys-libs/libraw1394-2.0.1 >=sys-libs/libavc1394-0.5.3 )
|
||||
jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 )
|
||||
kate? ( >=media-libs/libkate-0.1.1 )
|
||||
libass? ( >=media-libs/libass-0.9.6 media-libs/fontconfig )
|
||||
libcaca? ( >=media-libs/libcaca-0.99_beta14 )
|
||||
libnotify? ( x11-libs/libnotify x11-libs/gtk+:2 )
|
||||
libproxy? ( net-libs/libproxy )
|
||||
libtiger? ( media-libs/libtiger )
|
||||
lirc? ( app-misc/lirc )
|
||||
live? ( >=media-plugins/live-2008.07.06 )
|
||||
lua? ( >=dev-lang/lua-5.1 )
|
||||
matroska? ( >=dev-libs/libebml-0.7.6 >=media-libs/libmatroska-0.8.0 )
|
||||
modplug? ( >=media-libs/libmodplug-0.8.8.1 )
|
||||
mp3? ( media-libs/libmad )
|
||||
mpeg? ( >=media-libs/libmpeg2-0.3.2 )
|
||||
mtp? ( >=media-libs/libmtp-1.0.0 )
|
||||
musepack? ( >=media-sound/musepack-tools-444 )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
nsplugin? ( >=net-libs/xulrunner-1.9.2 x11-libs/libXpm x11-libs/libXt x11-libs/libxcb x11-libs/xcb-util )
|
||||
ogg? ( media-libs/libogg )
|
||||
opengl? ( virtual/opengl || ( >=x11-libs/libX11-1.3.99.901 <x11-libs/libX11-1.3.99.901[xcb] ) )
|
||||
png? ( media-libs/libpng sys-libs/zlib )
|
||||
projectm? ( media-libs/libprojectm )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.22 )
|
||||
qt4? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 x11-libs/libX11 )
|
||||
remoteosd? ( >=dev-libs/libgcrypt-1.2.0 )
|
||||
samba? ( || ( >=net-fs/samba-3.4.6[smbclient] <net-fs/samba-3.4 ) )
|
||||
schroedinger? ( >=media-libs/schroedinger-1.0.10 )
|
||||
sdl? ( >=media-libs/libsdl-1.2.8 x11-libs/libX11
|
||||
sdl-image? ( media-libs/sdl-image sys-libs/zlib ) )
|
||||
shout? ( media-libs/libshout )
|
||||
skins? (
|
||||
x11-libs/qt-gui:4 x11-libs/qt-core:4
|
||||
x11-libs/libXext x11-libs/libX11
|
||||
media-libs/freetype media-fonts/dejavu
|
||||
)
|
||||
speex? ( media-libs/speex )
|
||||
sqlite? ( >=dev-db/sqlite-3.6.0:3 )
|
||||
svg? ( >=gnome-base/librsvg-2.9.0 )
|
||||
svga? ( media-libs/svgalib )
|
||||
taglib? ( >=media-libs/taglib-1.5 sys-libs/zlib )
|
||||
theora? ( >=media-libs/libtheora-1.0_beta3 )
|
||||
truetype? ( media-libs/freetype virtual/ttf-fonts
|
||||
!fontconfig? ( media-fonts/dejavu ) )
|
||||
twolame? ( media-sound/twolame )
|
||||
udev? ( >=sys-fs/udev-142 )
|
||||
upnp? ( net-libs/libupnp )
|
||||
v4l? (
|
||||
libv4l2? ( media-libs/libv4l )
|
||||
libv4l? ( media-libs/libv4l )
|
||||
)
|
||||
vaapi? ( x11-libs/libva virtual/ffmpeg )
|
||||
vcdx? ( >=dev-libs/libcdio-0.78.2 >=media-video/vcdimager-0.7.22 )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
win32codecs? ( media-libs/win32codecs )
|
||||
X? ( x11-libs/libX11 )
|
||||
x264? ( >=media-libs/x264-0.0.20090923 )
|
||||
xcb? ( x11-libs/libxcb x11-libs/xcb-util )
|
||||
xml? ( dev-libs/libxml2 )
|
||||
xosd? ( x11-libs/xosd x11-libs/libX11 )
|
||||
zvbi? ( >=media-libs/zvbi-0.2.25 )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
!!<=media-video/vlc-1.0.99999
|
||||
alsa? ( >=media-sound/alsa-headers-1.0.23 )
|
||||
dvb? ( sys-kernel/linux-headers )
|
||||
kde? ( >=kde-base/kdelibs-4 )
|
||||
v4l? ( >=sys-kernel/linux-headers-2.6.25 )
|
||||
xcb? ( x11-proto/xproto )
|
||||
dev-util/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# Displays a warning if the first use flag is set but the second is not
|
||||
vlc_use_needs() {
|
||||
use $1 && use !$2 && ewarn "USE=$1 requires $2, $1 will be disabled."
|
||||
}
|
||||
|
||||
# Notify the user that some useflag have been forced on
|
||||
vlc_use_force() {
|
||||
use $1 && use !$2 && ewarn "USE=$1 requires $2, $2 will be enabled."
|
||||
}
|
||||
|
||||
# Use when $1 depends strictly on $2
|
||||
# if use $1 then enable $2
|
||||
vlc_use_enable_force() {
|
||||
use $1 && echo "--enable-$2"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
# Useflags we need to forcefuly enable
|
||||
vlc_use_force remoteosd gcrypt
|
||||
vlc_use_force gnutls gcrypt
|
||||
vlc_use_force skins truetype
|
||||
vlc_use_force skins qt4
|
||||
vlc_use_force vlm stream
|
||||
vlc_use_force vaapi ffmpeg
|
||||
vlc_use_force nsplugin xcb
|
||||
vlc_use_force xosd X
|
||||
vlc_use_force sdl X
|
||||
vlc_use_force aalib X
|
||||
|
||||
# Useflags that will be automagically discarded if deps are not met
|
||||
vlc_use_needs bidi truetype
|
||||
vlc_use_needs cddb cdda
|
||||
vlc_use_needs fontconfig truetype
|
||||
vlc_use_needs libv4l2 v4l
|
||||
vlc_use_needs libv4l v4l
|
||||
vlc_use_needs libtiger kate
|
||||
vlc_use_needs xv xcb
|
||||
|
||||
if use qt4 || use skins ; then
|
||||
qt4_pkg_setup
|
||||
else
|
||||
ewarn "You have disabled the qt4 useflag, ${PN} will not have any"
|
||||
ewarn "graphical interface. Maybe that is not what you want..."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
if [ "${PV%9999}" != "${PV}" ] ; then
|
||||
git-2_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Make it build with libtool 1.5
|
||||
rm -f m4/lt* m4/libtool.m4
|
||||
|
||||
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# It would fail if -fforce-addr is used due to too few registers...
|
||||
use x86 && filter-flags -fforce-addr
|
||||
|
||||
econf \
|
||||
$(use_enable a52) \
|
||||
$(use_enable aalib aa) \
|
||||
$(use_enable aac faad) \
|
||||
$(use_enable alsa) \
|
||||
$(use_enable altivec) \
|
||||
--disable-asademux \
|
||||
$(use_enable atmo) \
|
||||
$(use_enable avahi bonjour) \
|
||||
$(use_enable bidi fribidi) \
|
||||
$(use_enable cdda vcd) \
|
||||
$(use_enable cddb libcddb) \
|
||||
$(use_enable dbus) $(use_enable dbus dbus-control) \
|
||||
$(use_enable dirac) \
|
||||
$(use_enable directfb) \
|
||||
$(use_enable dc1394) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable dts dca) \
|
||||
$(use_enable dvb) \
|
||||
$(use_enable dvd dvdread) $(use_enable dvd dvdnav) \
|
||||
$(use_enable fbcon fb) \
|
||||
$(use_enable ffmpeg avcodec) $(use_enable ffmpeg avformat) $(use_enable ffmpeg swscale) $(use_enable ffmpeg postproc) \
|
||||
$(use_enable flac) \
|
||||
$(use_enable fluidsynth) \
|
||||
$(use_enable fontconfig) \
|
||||
$(use_enable ggi) \
|
||||
$(use_enable gme) \
|
||||
$(use_enable gnome gnomevfs) \
|
||||
$(use_enable gnutls) \
|
||||
$(use_enable httpd) \
|
||||
$(use_enable id3tag) \
|
||||
$(use_enable ieee1394 dv) \
|
||||
$(use_enable jack) \
|
||||
$(use_enable kate) \
|
||||
$(use_with kde kde-solid) \
|
||||
$(use_enable libass) \
|
||||
$(use_enable libcaca caca) \
|
||||
$(use_enable gcrypt libgcrypt) \
|
||||
$(use_enable libnotify notify) \
|
||||
$(use_enable libproxy) \
|
||||
--disable-libtar \
|
||||
$(use_enable libtiger tiger) \
|
||||
$(use_enable libv4l) \
|
||||
$(use_enable libv4l2) \
|
||||
$(use_enable lirc) \
|
||||
$(use_enable live live555) \
|
||||
$(use_enable lua) \
|
||||
$(use_enable matroska mkv) \
|
||||
$(use_enable mmx) \
|
||||
$(use_enable modplug mod) \
|
||||
$(use_enable mp3 mad) \
|
||||
$(use_enable mpeg libmpeg2) \
|
||||
$(use_enable mtp) \
|
||||
$(use_enable musepack mpc) \
|
||||
$(use_enable ncurses) \
|
||||
$(use_enable nsplugin mozilla) --with-mozilla-pkg=libxul \
|
||||
$(use_enable ogg) \
|
||||
$(use_enable opengl glx) $(use_enable opengl) \
|
||||
$(use_enable optimisememory optimize-memory) \
|
||||
$(use_enable oss) \
|
||||
$(use_enable png) \
|
||||
--disable-portaudio \
|
||||
$(use_enable projectm) \
|
||||
$(use_enable pulseaudio pulse) \
|
||||
$(use_enable pvr) \
|
||||
$(use_enable qt4) \
|
||||
$(use_enable remoteosd) \
|
||||
$(use_enable rtsp realrtsp) \
|
||||
$(use_enable run-as-root) \
|
||||
$(use_enable samba smb) \
|
||||
$(use_enable schroedinger) \
|
||||
$(use_enable sdl) \
|
||||
$(use_enable sdl-image) \
|
||||
$(use_enable shine) \
|
||||
$(use_enable shout) \
|
||||
$(use_enable skins skins2) \
|
||||
$(use_enable speex) \
|
||||
$(use_enable sqlite) \
|
||||
$(use_enable sse) \
|
||||
$(use_enable stream sout) \
|
||||
$(use_enable svg) \
|
||||
$(use_enable svga svgalib) \
|
||||
$(use_enable taglib) \
|
||||
$(use_enable theora) \
|
||||
$(use_enable truetype freetype) \
|
||||
$(use_enable twolame) \
|
||||
$(use_enable udev) \
|
||||
$(use_enable upnp) \
|
||||
--disable-v4l \
|
||||
$(use_enable v4l v4l2) \
|
||||
$(use_enable vcdx) \
|
||||
$(use_enable vaapi libva) \
|
||||
$(use_enable vlm) \
|
||||
$(use_enable vorbis) \
|
||||
$(use_enable win32codecs loader) \
|
||||
$(use_enable wma-fixed) \
|
||||
$(use_with X x) \
|
||||
$(use_enable x264) \
|
||||
$(use_enable xcb) \
|
||||
$(use_enable xml libxml2) \
|
||||
$(use_enable xosd) \
|
||||
$(use_enable xv xvideo) \
|
||||
$(use_enable zvbi) $(use_enable !zvbi telx) \
|
||||
--disable-snapshot \
|
||||
--disable-growl \
|
||||
--disable-optimizations \
|
||||
--enable-fast-install \
|
||||
$(vlc_use_enable_force vlm sout) \
|
||||
$(vlc_use_enable_force skins qt4) \
|
||||
$(vlc_use_enable_force skins freetype) \
|
||||
$(vlc_use_enable_force remoteosd libgcrypt) \
|
||||
$(vlc_use_enable_force gnutls libgcrypt) \
|
||||
$(vlc_use_enable_force vaapi avcodec) \
|
||||
$(vlc_use_enable_force nsplugin xcb) \
|
||||
$(use sdl && echo '--with-x') \
|
||||
$(use xosd && echo '--with-x') \
|
||||
$(use aalib && echo '--with-x')
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
dodoc AUTHORS HACKING THANKS NEWS README \
|
||||
doc/fortunes.txt doc/intf-vcd.txt
|
||||
|
||||
rm -rf "${D}/usr/share/doc/vlc" \
|
||||
"${D}"/usr/share/vlc/vlc{16x16,32x32,48x48,128x128}.{png,xpm,ico}
|
||||
|
||||
if use nsplugin; then
|
||||
dodir "/usr/$(get_libdir)/${PLUGINS_DIR}"
|
||||
mv "${D}"/usr/$(get_libdir)/mozilla/plugins/* \
|
||||
"${D}/usr/$(get_libdir)/${PLUGINS_DIR}/"
|
||||
fi
|
||||
|
||||
use skins || rm -rf "${D}/usr/share/vlc/skins2"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
|
||||
if [ "$ROOT" = "/" ] && [ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ] ; then
|
||||
einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/"
|
||||
"/usr/$(get_libdir)/vlc/vlc-cache-gen" -f "/usr/$(get_libdir)/vlc/plugins/"
|
||||
else
|
||||
ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)"
|
||||
ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually"
|
||||
ewarn "If you do not do it, vlc will take a long time to load."
|
||||
fi
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
|
||||
|
||||
0
|
||||
mirror://sourceforge/hdaps/hdapsd-20090401.tar.gz
|
||||
|
||||
http://hdaps.sourceforge.net/
|
||||
GPL-2
|
||||
IBM ThinkPad Harddrive Active Protection disk head parking daemon
|
||||
~amd64 ~x86
|
||||
eutils linux-info multilib portability toolchain-funcs user versionator
|
||||
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
install postinst setup
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
|
||||
|
||||
0
|
||||
mirror://sourceforge/muparser/muparser_v132.tar.gz
|
||||
|
||||
http://muparser.sourceforge.net/
|
||||
MIT
|
||||
Library for parsing mathematical expressions
|
||||
amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos
|
||||
eutils multilib portability toolchain-funcs user
|
||||
doc test
|
||||
|
||||
|
||||
|
||||
2
|
||||
|
||||
configure install prepare test
|
||||
|
||||
|
||||
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue