parent
ae843cffc2
commit
414fbd6921
@ -1,381 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/bacula-5.0.3-r3.ebuild,v 1.23 2015/02/23 15:05:30 tomjbe Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
PYTHON_USE_WITH="threads"
|
||||
PYTHON_USE_WITH_OPT="python"
|
||||
|
||||
inherit eutils multilib python qt4-r2 user libtool
|
||||
|
||||
MY_PV=${PV/_beta/-b}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
#DOC_VER="${MY_PV}"
|
||||
|
||||
DESCRIPTION="Featureful client/server network backup suite"
|
||||
HOMEPAGE="http://www.bacula.org/"
|
||||
|
||||
#DOC_SRC_URI="mirror://sourceforge/bacula/${PN}-docs-${DOC_VER}.tar.bz2"
|
||||
SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz"
|
||||
# doc? ( ${DOC_SRC_URI} )
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS=" amd64 ppc sparc x86"
|
||||
IUSE="acl bacula-clientonly bacula-nodir bacula-nosd ipv6 logwatch mysql postgres python qt4 readline +sqlite3 ssl static tcpd vim-syntax X"
|
||||
|
||||
# maintainer comment:
|
||||
# postgresql-base should have USE=threads (see bug 326333) but fails to build
|
||||
# atm with it (see bug #300964)
|
||||
DEPEND="
|
||||
>=sys-libs/zlib-1.1.4
|
||||
dev-libs/gmp
|
||||
!bacula-clientonly? (
|
||||
postgres? ( dev-db/postgresql[threads] )
|
||||
mysql? ( virtual/mysql )
|
||||
sqlite3? ( dev-db/sqlite:3 )
|
||||
!bacula-nodir? ( virtual/mta )
|
||||
)
|
||||
qt4? (
|
||||
dev-qt/qtsvg:4
|
||||
x11-libs/qwt:5
|
||||
)
|
||||
logwatch? ( sys-apps/logwatch )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
readline? ( >=sys-libs/readline-4.1 )
|
||||
static? (
|
||||
acl? ( virtual/acl[static-libs] )
|
||||
sys-libs/zlib[static-libs]
|
||||
sys-libs/ncurses[static-libs]
|
||||
ssl? ( dev-libs/openssl[static-libs] )
|
||||
)
|
||||
!static? (
|
||||
acl? ( virtual/acl )
|
||||
sys-libs/zlib
|
||||
sys-libs/ncurses
|
||||
ssl? ( dev-libs/openssl )
|
||||
)"
|
||||
RDEPEND="${DEPEND}
|
||||
!bacula-clientonly? (
|
||||
!bacula-nosd? (
|
||||
sys-block/mtx
|
||||
app-arch/mt-st
|
||||
)
|
||||
)
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
|
||||
|
||||
REQUIRED_USE="|| ( ^^ ( mysql postgres sqlite3 ) bacula-clientonly )
|
||||
static? ( bacula-clientonly )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
#XOR and !bacula-clientonly controlled by REQUIRED_USE
|
||||
use mysql && export mydbtype="mysql"
|
||||
use postgres && export mydbtype="postgresql"
|
||||
use sqlite3 && export mydbtype="sqlite3"
|
||||
|
||||
# create the daemon group and user
|
||||
if [ -z "$(egetent group bacula 2>/dev/null)" ]; then
|
||||
enewgroup bacula
|
||||
einfo
|
||||
einfo "The group 'bacula' has been created. Any users you add to this"
|
||||
einfo "group have access to files created by the daemons."
|
||||
einfo
|
||||
fi
|
||||
|
||||
if use bacula-clientonly && use static && use qt4; then
|
||||
ewarn
|
||||
ewarn "Building statically linked 'bat' is not supported. Ignorig 'qt4' useflag."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
if ! use bacula-clientonly; then
|
||||
if [ -z "$(egetent passwd bacula 2>/dev/null)" ]; then
|
||||
enewuser bacula -1 -1 /var/lib/bacula bacula,disk,tape,cdrom,cdrw
|
||||
einfo
|
||||
einfo "The user 'bacula' has been created. Please see the bacula manual"
|
||||
einfo "for information about running bacula as a non-root user."
|
||||
einfo
|
||||
fi
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# adjusts default configuration files for several binaries
|
||||
# to /etc/bacula/<config> instead of ./<config>
|
||||
pushd src >&/dev/null || die
|
||||
for f in console/console.c dird/dird.c filed/filed.c \
|
||||
stored/bcopy.c stored/bextract.c stored/bls.c \
|
||||
stored/bscan.c stored/btape.c stored/stored.c \
|
||||
qt-console/main.cpp; do
|
||||
sed -i -e 's|^\(#define CONFIG_FILE "\)|\1/etc/bacula/|g' "${f}" \
|
||||
|| die "sed on ${f} failed"
|
||||
done
|
||||
popd >&/dev/null || die
|
||||
|
||||
# drop automatic install of unneeded documentation (for bug 356499)
|
||||
epatch "${FILESDIR}"/${PV}/${P}-doc.patch
|
||||
|
||||
# bug #310087
|
||||
epatch "${FILESDIR}"/${PV}/${P}-as-needed.patch
|
||||
|
||||
# bug #311161
|
||||
epatch "${FILESDIR}"/${PV}/${P}-lib-search-path.patch
|
||||
|
||||
# stop build for errors in subdirs
|
||||
epatch "${FILESDIR}"/${PV}/${P}-Makefile.patch
|
||||
|
||||
# bat needs to respect LDFLAGS
|
||||
epatch "${FILESDIR}"/${PV}/${P}-ldflags.patch
|
||||
|
||||
# bug #328701
|
||||
epatch "${FILESDIR}"/${PV}/${P}-openssl-1.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PV}/${P}-fix-static.patch
|
||||
|
||||
# fix CVE-2012-4430
|
||||
epatch "${FILESDIR}"/${PV}/${P}-cve.patch
|
||||
|
||||
# fix bundled libtool (bug 466696)
|
||||
# But first move directory with M4 macros out of the way.
|
||||
# It is only needed by i autoconf and gives errors during elibtoolize.
|
||||
mv autoconf/libtool autoconf/libtool1 || die
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=''
|
||||
|
||||
if use bacula-clientonly; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable bacula-clientonly client-only) \
|
||||
$(use_enable !static libtool) \
|
||||
$(use_enable static static-cons) \
|
||||
$(use_enable static static-fd)"
|
||||
else
|
||||
myconf="${myconf} \
|
||||
$(use_enable !bacula-nodir build-dird) \
|
||||
$(use_enable !bacula-nosd build-stored)"
|
||||
# bug #311099
|
||||
# database support needed by dir-only *and* sd-only
|
||||
# build as well (for building bscan, btape, etc.)
|
||||
myconf="${myconf} \
|
||||
--with-${mydbtype} \
|
||||
--enable-batch-insert"
|
||||
fi
|
||||
|
||||
# do not build bat if 'static' clientonly
|
||||
if ! use bacula-clientonly || ! use static; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable qt4 bat)"
|
||||
fi
|
||||
|
||||
myconf="${myconf} \
|
||||
--disable-tray-monitor \
|
||||
$(use_with X x) \
|
||||
$(use_with python) \
|
||||
$(use_enable !readline conio) \
|
||||
$(use_enable readline) \
|
||||
$(use_with readline readline /usr) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable acl) \
|
||||
$(use_with tcpd tcp-wrappers)"
|
||||
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--htmldir=/usr/share/doc/${PF}/html \
|
||||
--with-pid-dir=/var/run \
|
||||
--sysconfdir=/etc/bacula \
|
||||
--with-subsys-dir=/var/lock/subsys \
|
||||
--with-working-dir=/var/lib/bacula \
|
||||
--with-scriptdir=/usr/libexec/bacula \
|
||||
--with-dir-user=bacula \
|
||||
--with-dir-group=bacula \
|
||||
--with-sd-user=root \
|
||||
--with-sd-group=bacula \
|
||||
--with-fd-user=root \
|
||||
--with-fd-group=bacula \
|
||||
--enable-smartalloc \
|
||||
--disable-afs \
|
||||
--host=${CHOST} \
|
||||
${myconf}
|
||||
# correct configuration for QT based bat
|
||||
if use qt4 ; then
|
||||
pushd src/qt-console
|
||||
eqmake4
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Make build log verbose (bug #447806)
|
||||
emake NO_ECHO=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
doicon scripts/bacula.png
|
||||
|
||||
# install bat when enabled (for some reason ./configure doesn't pick this up)
|
||||
if use qt4 && ! use static ; then
|
||||
dosbin "${S}"/src/qt-console/.libs/bat
|
||||
doicon src/qt-console/images/bat_icon.png
|
||||
domenu scripts/bat.desktop
|
||||
fi
|
||||
|
||||
# remove some scripts we don't need at all
|
||||
rm -f "${D}"/usr/libexec/bacula/{bacula,bacula-ctl-dir,bacula-ctl-fd,bacula-ctl-sd,startmysql,stopmysql}
|
||||
|
||||
# rename statically linked apps
|
||||
if use bacula-clientonly && use static ; then
|
||||
pushd "${D}"/usr/sbin || die
|
||||
mv static-bacula-fd bacula-fd || die
|
||||
mv static-bconsole bconsole || die
|
||||
popd || die
|
||||
fi
|
||||
|
||||
# extra files which 'make install' doesn't cover
|
||||
if ! use bacula-clientonly; then
|
||||
# the database update scripts
|
||||
diropts -m0750
|
||||
insinto /usr/libexec/bacula/updatedb
|
||||
insopts -m0754
|
||||
doins "${S}"/updatedb/*
|
||||
fperms 0640 /usr/libexec/bacula/updatedb/README
|
||||
|
||||
# the logrotate configuration
|
||||
# (now unconditional wrt bug #258187)
|
||||
diropts -m0755
|
||||
insinto /etc/logrotate.d
|
||||
insopts -m0644
|
||||
newins "${S}"/scripts/logrotate bacula
|
||||
|
||||
# the logwatch scripts
|
||||
if use logwatch; then
|
||||
diropts -m0750
|
||||
dodir /etc/log.d/scripts/services
|
||||
dodir /etc/log.d/scripts/shared
|
||||
dodir /etc/log.d/conf/logfiles
|
||||
dodir /etc/log.d/conf/services
|
||||
pushd "${S}"/scripts/logwatch >&/dev/null || die
|
||||
emake DESTDIR="${D}" install
|
||||
popd >&/dev/null || die
|
||||
fi
|
||||
fi
|
||||
|
||||
rm -vf "${D}"/usr/share/man/man1/bacula-bwxconsole.1*
|
||||
if ! use qt4; then
|
||||
rm -vf "${D}"/usr/share/man/man1/bat.1*
|
||||
fi
|
||||
rm -vf "${D}"/usr/share/man/man1/bacula-tray-monitor.1*
|
||||
if use bacula-clientonly || use bacula-nodir; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bacula-dir.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/dbcheck.8*
|
||||
rm -vf "${D}"/usr/share/man/man1/bsmtp.1*
|
||||
rm -vf "${D}"/usr/libexec/bacula/create_*_database
|
||||
rm -vf "${D}"/usr/libexec/bacula/drop_*_database
|
||||
rm -vf "${D}"/usr/libexec/bacula/make_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/update_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/drop_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/grant_*_privileges
|
||||
rm -vf "${D}"/usr/libexec/bacula/*_catalog_backup
|
||||
fi
|
||||
if use bacula-clientonly || use bacula-nosd; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bacula-sd.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bcopy.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bextract.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bls.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bscan.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/btape.8*
|
||||
rm -vf "${D}"/usr/libexec/bacula/disk-changer
|
||||
rm -vf "${D}"/usr/libexec/bacula/mtx-changer
|
||||
rm -vf "${D}"/usr/libexec/bacula/dvd-handler
|
||||
fi
|
||||
|
||||
# documentation
|
||||
dodoc ChangeLog ReleaseNotes SUPPORT technotes
|
||||
|
||||
# vim-files
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins scripts/bacula.vim
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
newins scripts/filetype.vim bacula_ft.vim
|
||||
fi
|
||||
|
||||
# setup init scripts
|
||||
myscripts="bacula-fd"
|
||||
if ! use bacula-clientonly; then
|
||||
if ! use bacula-nodir; then
|
||||
myscripts="${myscripts} bacula-dir"
|
||||
fi
|
||||
if ! use bacula-nosd; then
|
||||
myscripts="${myscripts} bacula-sd"
|
||||
fi
|
||||
fi
|
||||
for script in ${myscripts}; do
|
||||
# copy over init script and config to a temporary location
|
||||
# so we can modify them as needed
|
||||
cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd"
|
||||
cp "${FILESDIR}/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd"
|
||||
|
||||
# now set the database dependancy for the director init script
|
||||
case "${script}" in
|
||||
bacula-dir)
|
||||
case "${mydbtype}" in
|
||||
sqlite3)
|
||||
# sqlite3 databases don't have a daemon
|
||||
sed -i -e 's/need "%database%"/:/g' "${T}/${script}".initd || die
|
||||
;;
|
||||
*)
|
||||
# all other databases have daemons
|
||||
sed -i -e "s:%database%:${mydbtype}:" "${T}/${script}".initd || die
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
# install init script and config
|
||||
newinitd "${T}/${script}".initd "${script}"
|
||||
newconfd "${T}/${script}".confd "${script}"
|
||||
done
|
||||
|
||||
# make sure the working directory exists
|
||||
diropts -m0750
|
||||
keepdir /var/lib/bacula
|
||||
|
||||
# make sure bacula group can execute bacula libexec scripts
|
||||
fowners -R root:bacula /usr/libexec/bacula
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use bacula-clientonly; then
|
||||
fowners root:bacula /var/lib/bacula
|
||||
else
|
||||
fowners bacula:bacula /var/lib/bacula
|
||||
fi
|
||||
|
||||
if ! use bacula-clientonly && ! use bacula-nodir; then
|
||||
einfo
|
||||
einfo "If this is a new install, you must create the ${mydbtype} databases with:"
|
||||
einfo " /usr/libexec/bacula/create_${mydbtype}_database"
|
||||
einfo " /usr/libexec/bacula/make_${mydbtype}_tables"
|
||||
einfo " /usr/libexec/bacula/grant_${mydbtype}_privileges"
|
||||
einfo
|
||||
fi
|
||||
|
||||
einfo "Please note that 'bconsole' will always be installed. To compile 'bat'"
|
||||
einfo "you have to enable 'USE=qt4'."
|
||||
einfo
|
||||
}
|
@ -1,399 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/bacula-5.2.13.ebuild,v 1.11 2015/02/23 15:05:30 tomjbe Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
PYTHON_USE_WITH="threads"
|
||||
PYTHON_USE_WITH_OPT="python"
|
||||
|
||||
inherit eutils multilib python qt4-r2 user libtool
|
||||
|
||||
MY_PV=${PV/_beta/-b}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="Featureful client/server network backup suite"
|
||||
HOMEPAGE="http://www.bacula.org/"
|
||||
SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS=" amd64 ppc sparc x86"
|
||||
IUSE="acl bacula-clientonly bacula-nodir bacula-nosd examples ipv6 logwatch mysql postgres python qt4 readline +sqlite3 ssl static tcpd vim-syntax X"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/gmp
|
||||
!bacula-clientonly? (
|
||||
postgres? ( dev-db/postgresql[threads] )
|
||||
mysql? ( virtual/mysql )
|
||||
sqlite3? ( dev-db/sqlite:3 )
|
||||
!bacula-nodir? ( virtual/mta )
|
||||
)
|
||||
qt4? (
|
||||
dev-qt/qtsvg:4
|
||||
x11-libs/qwt:5
|
||||
)
|
||||
logwatch? ( sys-apps/logwatch )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
readline? ( >=sys-libs/readline-4.1 )
|
||||
static? (
|
||||
acl? ( virtual/acl[static-libs] )
|
||||
sys-libs/zlib[static-libs]
|
||||
dev-libs/lzo[static-libs]
|
||||
sys-libs/ncurses[static-libs]
|
||||
ssl? ( dev-libs/openssl[static-libs] )
|
||||
)
|
||||
!static? (
|
||||
acl? ( virtual/acl )
|
||||
sys-libs/zlib
|
||||
dev-libs/lzo
|
||||
sys-libs/ncurses
|
||||
ssl? ( dev-libs/openssl )
|
||||
)"
|
||||
RDEPEND="${DEPEND}
|
||||
!bacula-clientonly? (
|
||||
!bacula-nosd? (
|
||||
sys-block/mtx
|
||||
app-arch/mt-st
|
||||
)
|
||||
)
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
|
||||
|
||||
REQUIRED_USE="|| ( ^^ ( mysql postgres sqlite3 ) bacula-clientonly )
|
||||
static? ( bacula-clientonly )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
#XOR and !bacula-clientonly controlled by REQUIRED_USE
|
||||
use mysql && export mydbtype="mysql"
|
||||
use postgres && export mydbtype="postgresql"
|
||||
use sqlite3 && export mydbtype="sqlite3"
|
||||
|
||||
# create the daemon group and user
|
||||
if [ -z "$(egetent group bacula 2>/dev/null)" ]; then
|
||||
enewgroup bacula
|
||||
einfo
|
||||
einfo "The group 'bacula' has been created. Any users you add to this"
|
||||
einfo "group have access to files created by the daemons."
|
||||
einfo
|
||||
fi
|
||||
|
||||
if use bacula-clientonly && use static && use qt4; then
|
||||
ewarn
|
||||
ewarn "Building statically linked 'bat' is not supported. Ignorig 'qt4' useflag."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
if ! use bacula-clientonly; then
|
||||
if [ -z "$(egetent passwd bacula 2>/dev/null)" ]; then
|
||||
enewuser bacula -1 -1 /var/lib/bacula bacula,disk,tape,cdrom,cdrw
|
||||
einfo
|
||||
einfo "The user 'bacula' has been created. Please see the bacula manual"
|
||||
einfo "for information about running bacula as a non-root user."
|
||||
einfo
|
||||
fi
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# adjusts default configuration files for several binaries
|
||||
# to /etc/bacula/<config> instead of ./<config>
|
||||
pushd src >&/dev/null || die
|
||||
for f in console/console.c dird/dird.c filed/filed.c \
|
||||
stored/bcopy.c stored/bextract.c stored/bls.c \
|
||||
stored/bscan.c stored/btape.c stored/stored.c \
|
||||
qt-console/main.cpp; do
|
||||
sed -i -e 's|^\(#define CONFIG_FILE "\)|\1/etc/bacula/|g' "${f}" \
|
||||
|| die "sed on ${f} failed"
|
||||
done
|
||||
popd >&/dev/null || die
|
||||
|
||||
# bug 466688 drop deprecated categories from Desktop file
|
||||
sed -i -e 's/Application;//' scripts/bat.desktop.in || die
|
||||
|
||||
# bug 466690 Use CXXFLAGS instead of CFLAGS
|
||||
sed -i -e 's/@CFLAGS@/@CXXFLAGS@/' autoconf/Make.common.in || die
|
||||
|
||||
# drop automatic install of unneeded documentation (for bug 356499)
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-doc.patch
|
||||
|
||||
# bug #310087
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-as-needed.patch
|
||||
|
||||
# bug #311161
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-lib-search-path.patch
|
||||
|
||||
# stop build for errors in subdirs
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-Makefile.patch
|
||||
|
||||
# bat needs to respect LDFLAGS
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-ldflags.patch
|
||||
|
||||
# bug #328701
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-openssl-1.patch
|
||||
|
||||
epatch "${FILESDIR}"/5.2.10/${PN}-5.2.10-fix-static.patch
|
||||
|
||||
# do not strip binaries
|
||||
sed -i -e "s/strip /# strip /" src/filed/Makefile.in || die
|
||||
sed -i -e "s/strip /# strip /" src/console/Makefile.in || die
|
||||
|
||||
# fix file not found error during make depend
|
||||
epatch "${FILESDIR}"/5.2.12/${PN}-5.2.12-depend.patch
|
||||
|
||||
# fix bundled libtool (bug 466696)
|
||||
# But first move directory with M4 macros out of the way.
|
||||
# It is only needed by i autoconf and gives errors during elibtoolize.
|
||||
mv autoconf/libtool autoconf/libtool1 || die
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=''
|
||||
|
||||
if use bacula-clientonly; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable bacula-clientonly client-only) \
|
||||
$(use_enable !static libtool) \
|
||||
$(use_enable static static-cons) \
|
||||
$(use_enable static static-fd)"
|
||||
else
|
||||
myconf="${myconf} \
|
||||
$(use_enable !bacula-nodir build-dird) \
|
||||
$(use_enable !bacula-nosd build-stored)"
|
||||
# bug #311099
|
||||
# database support needed by dir-only *and* sd-only
|
||||
# build as well (for building bscan, btape, etc.)
|
||||
myconf="${myconf} \
|
||||
--with-${mydbtype} \
|
||||
--enable-batch-insert"
|
||||
fi
|
||||
|
||||
# do not build bat if 'static' clientonly
|
||||
if ! use bacula-clientonly || ! use static; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable qt4 bat)"
|
||||
fi
|
||||
|
||||
myconf="${myconf} \
|
||||
--disable-tray-monitor \
|
||||
$(use_with X x) \
|
||||
$(use_with python) \
|
||||
$(use_enable !readline conio) \
|
||||
$(use_enable readline) \
|
||||
$(use_with readline readline /usr) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable acl) \
|
||||
$(use_with tcpd tcp-wrappers)"
|
||||
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--htmldir=/usr/share/doc/${PF}/html \
|
||||
--with-pid-dir=/var/run \
|
||||
--sysconfdir=/etc/bacula \
|
||||
--with-subsys-dir=/var/lock/subsys \
|
||||
--with-working-dir=/var/lib/bacula \
|
||||
--with-logdir=/var/lib/bacula \
|
||||
--with-scriptdir=/usr/libexec/bacula \
|
||||
--with-dir-user=bacula \
|
||||
--with-dir-group=bacula \
|
||||
--with-sd-user=root \
|
||||
--with-sd-group=bacula \
|
||||
--with-fd-user=root \
|
||||
--with-fd-group=bacula \
|
||||
--enable-smartalloc \
|
||||
--disable-afs \
|
||||
--host=${CHOST} \
|
||||
${myconf}
|
||||
# correct configuration for QT based bat
|
||||
if use qt4 ; then
|
||||
pushd src/qt-console
|
||||
eqmake4
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Make build log verbose (bug #447806)
|
||||
emake NO_ECHO=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
doicon scripts/bacula.png
|
||||
|
||||
# install bat icon and desktop file when enabled
|
||||
# (for some reason ./configure doesn't pick this up)
|
||||
if use qt4 && ! use static ; then
|
||||
doicon src/qt-console/images/bat_icon.png
|
||||
domenu scripts/bat.desktop
|
||||
fi
|
||||
|
||||
# remove some scripts we don't need at all
|
||||
rm -f "${D}"/usr/libexec/bacula/{bacula,bacula-ctl-dir,bacula-ctl-fd,bacula-ctl-sd,startmysql,stopmysql}
|
||||
|
||||
# rename statically linked apps
|
||||
if use bacula-clientonly && use static ; then
|
||||
pushd "${D}"/usr/sbin || die
|
||||
mv static-bacula-fd bacula-fd || die
|
||||
mv static-bconsole bconsole || die
|
||||
popd || die
|
||||
fi
|
||||
|
||||
# extra files which 'make install' doesn't cover
|
||||
if ! use bacula-clientonly; then
|
||||
# the database update scripts
|
||||
diropts -m0750
|
||||
insinto /usr/libexec/bacula/updatedb
|
||||
insopts -m0754
|
||||
doins "${S}"/updatedb/*
|
||||
fperms 0640 /usr/libexec/bacula/updatedb/README
|
||||
|
||||
# the logrotate configuration
|
||||
# (now unconditional wrt bug #258187)
|
||||
diropts -m0755
|
||||
insinto /etc/logrotate.d
|
||||
insopts -m0644
|
||||
newins "${S}"/scripts/logrotate bacula
|
||||
|
||||
# the logwatch scripts
|
||||
if use logwatch; then
|
||||
diropts -m0750
|
||||
dodir /etc/log.d/scripts/services
|
||||
dodir /etc/log.d/scripts/shared
|
||||
dodir /etc/log.d/conf/logfiles
|
||||
dodir /etc/log.d/conf/services
|
||||
pushd "${S}"/scripts/logwatch >&/dev/null || die
|
||||
emake DESTDIR="${D}" install
|
||||
popd >&/dev/null || die
|
||||
fi
|
||||
fi
|
||||
|
||||
rm -vf "${D}"/usr/share/man/man1/bacula-bwxconsole.1*
|
||||
if ! use qt4; then
|
||||
rm -vf "${D}"/usr/share/man/man1/bat.1*
|
||||
fi
|
||||
rm -vf "${D}"/usr/share/man/man1/bacula-tray-monitor.1*
|
||||
if use bacula-clientonly || use bacula-nodir; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bacula-dir.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/dbcheck.8*
|
||||
rm -vf "${D}"/usr/share/man/man1/bsmtp.1*
|
||||
rm -vf "${D}"/usr/libexec/bacula/create_*_database
|
||||
rm -vf "${D}"/usr/libexec/bacula/drop_*_database
|
||||
rm -vf "${D}"/usr/libexec/bacula/make_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/update_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/drop_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/grant_*_privileges
|
||||
rm -vf "${D}"/usr/libexec/bacula/*_catalog_backup
|
||||
fi
|
||||
if use bacula-clientonly || use bacula-nosd; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bacula-sd.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bcopy.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bextract.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bls.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bscan.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/btape.8*
|
||||
rm -vf "${D}"/usr/libexec/bacula/disk-changer
|
||||
rm -vf "${D}"/usr/libexec/bacula/mtx-changer
|
||||
rm -vf "${D}"/usr/libexec/bacula/dvd-handler
|
||||
fi
|
||||
|
||||
# documentation
|
||||
dodoc ChangeLog ReleaseNotes SUPPORT technotes
|
||||
|
||||
# install examples (bug #457504)
|
||||
if use examples; then
|
||||
docinto examples/
|
||||
dodoc -r examples/*
|
||||
fi
|
||||
|
||||
# vim-files
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins scripts/bacula.vim
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
newins scripts/filetype.vim bacula_ft.vim
|
||||
fi
|
||||
|
||||
# setup init scripts
|
||||
myscripts="bacula-fd"
|
||||
if ! use bacula-clientonly; then
|
||||
if ! use bacula-nodir; then
|
||||
myscripts="${myscripts} bacula-dir"
|
||||
fi
|
||||
if ! use bacula-nosd; then
|
||||
myscripts="${myscripts} bacula-sd"
|
||||
fi
|
||||
fi
|
||||
for script in ${myscripts}; do
|
||||
# copy over init script and config to a temporary location
|
||||
# so we can modify them as needed
|
||||
cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd"
|
||||
cp "${FILESDIR}/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd"
|
||||
|
||||
# now set the database dependancy for the director init script
|
||||
case "${script}" in
|
||||
bacula-dir)
|
||||
case "${mydbtype}" in
|
||||
sqlite3)
|
||||
# sqlite3 databases don't have a daemon
|
||||
sed -i -e 's/need "%database%"/:/g' "${T}/${script}".initd || die
|
||||
;;
|
||||
*)
|
||||
# all other databases have daemons
|
||||
sed -i -e "s:%database%:${mydbtype}:" "${T}/${script}".initd || die
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
# install init script and config
|
||||
newinitd "${T}/${script}".initd "${script}"
|
||||
newconfd "${T}/${script}".confd "${script}"
|
||||
done
|
||||
|
||||
# make sure the working directory exists
|
||||
diropts -m0750
|
||||
keepdir /var/lib/bacula
|
||||
|
||||
# make sure bacula group can execute bacula libexec scripts
|
||||
fowners -R root:bacula /usr/libexec/bacula
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use bacula-clientonly; then
|
||||
fowners root:bacula /var/lib/bacula
|
||||
else
|
||||
fowners bacula:bacula /var/lib/bacula
|
||||
fi
|
||||
|
||||
if ! use bacula-clientonly && ! use bacula-nodir; then
|
||||
einfo
|
||||
einfo "If this is a new install, you must create the ${mydbtype} databases with:"
|
||||
einfo " /usr/libexec/bacula/create_${mydbtype}_database"
|
||||
einfo " /usr/libexec/bacula/make_${mydbtype}_tables"
|
||||
einfo " /usr/libexec/bacula/grant_${mydbtype}_privileges"
|
||||
einfo
|
||||
fi
|
||||
|
||||
if use sqlite3; then
|
||||
einfo
|
||||
einfo "Be aware that Bacula does not officially support SQLite database anymore."
|
||||
einfo "Best use it only for a client-only installation. See Bug #445540."
|
||||
einfo
|
||||
fi
|
||||
|
||||
einfo "Please note that 'bconsole' will always be installed. To compile 'bat'"
|
||||
einfo "you have to enable 'USE=qt4'."
|
||||
einfo
|
||||
}
|
@ -1,396 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/bacula-7.0.5.ebuild,v 1.4 2015/02/23 15:05:30 tomjbe Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils multilib qt4-r2 systemd user libtool
|
||||
|
||||
MY_PV=${PV/_beta/-b}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="Featureful client/server network backup suite"
|
||||
HOMEPAGE="http://www.bacula.org/"
|
||||
SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="acl bacula-clientonly bacula-nodir bacula-nosd examples ipv6 logwatch mysql postgres qt4 readline +sqlite3 ssl static tcpd vim-syntax X"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/gmp
|
||||
!bacula-clientonly? (
|
||||
postgres? ( dev-db/postgresql[threads] )
|
||||
mysql? ( virtual/mysql )
|
||||
sqlite3? ( dev-db/sqlite:3 )
|
||||
!bacula-nodir? ( virtual/mta )
|
||||
)
|
||||
qt4? (
|
||||
dev-qt/qtsvg:4
|
||||
x11-libs/qwt:5
|
||||
)
|
||||
logwatch? ( sys-apps/logwatch )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
readline? ( >=sys-libs/readline-4.1 )
|
||||
static? (
|
||||
acl? ( virtual/acl[static-libs] )
|
||||
sys-libs/zlib[static-libs]
|
||||
dev-libs/lzo[static-libs]
|
||||
sys-libs/ncurses[static-libs]
|
||||
ssl? ( dev-libs/openssl[static-libs] )
|
||||
)
|
||||
!static? (
|
||||
acl? ( virtual/acl )
|
||||
sys-libs/zlib
|
||||
dev-libs/lzo
|
||||
sys-libs/ncurses
|
||||
ssl? ( dev-libs/openssl )
|
||||
)"
|
||||
RDEPEND="${DEPEND}
|
||||
!bacula-clientonly? (
|
||||
!bacula-nosd? (
|
||||
sys-block/mtx
|
||||
app-arch/mt-st
|
||||
)
|
||||
)
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
|
||||
|
||||
REQUIRED_USE="|| ( ^^ ( mysql postgres sqlite3 ) bacula-clientonly )
|
||||
static? ( bacula-clientonly )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
#XOR and !bacula-clientonly controlled by REQUIRED_USE
|
||||
use mysql && export mydbtype="mysql"
|
||||
use postgres && export mydbtype="postgresql"
|
||||
use sqlite3 && export mydbtype="sqlite3"
|
||||
|
||||
# create the daemon group and user
|
||||
if [ -z "$(egetent group bacula 2>/dev/null)" ]; then
|
||||
enewgroup bacula
|
||||
einfo
|
||||
einfo "The group 'bacula' has been created. Any users you add to this"
|
||||
einfo "group have access to files created by the daemons."
|
||||
einfo
|
||||
fi
|
||||
|
||||
if use bacula-clientonly && use static && use qt4; then
|
||||
ewarn
|
||||
ewarn "Building statically linked 'bat' is not supported. Ignorig 'qt4' useflag."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
if ! use bacula-clientonly; then
|
||||
if [ -z "$(egetent passwd bacula 2>/dev/null)" ]; then
|
||||
enewuser bacula -1 -1 /var/lib/bacula bacula,disk,tape,cdrom,cdrw
|
||||
einfo
|
||||
einfo "The user 'bacula' has been created. Please see the bacula manual"
|
||||
einfo "for information about running bacula as a non-root user."
|
||||
einfo
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# adjusts default configuration files for several binaries
|
||||
# to /etc/bacula/<config> instead of ./<config>
|
||||
pushd src >&/dev/null || die
|
||||
for f in console/console.c dird/dird.c filed/filed.c \
|
||||
stored/bcopy.c stored/bextract.c stored/bls.c \
|
||||
stored/bscan.c stored/btape.c stored/stored.c \
|
||||
qt-console/main.cpp; do
|
||||
sed -i -e 's|^\(#define CONFIG_FILE "\)|\1/etc/bacula/|g' "${f}" \
|
||||
|| die "sed on ${f} failed"
|
||||
done
|
||||
popd >&/dev/null || die
|
||||
|
||||
# bug 466688 drop deprecated categories from Desktop file
|
||||
sed -i -e 's/Application;//' scripts/bat.desktop.in || die
|
||||
|
||||
# bug 466690 Use CXXFLAGS instead of CFLAGS
|
||||
sed -i -e 's/@CFLAGS@/@CXXFLAGS@/' autoconf/Make.common.in || die
|
||||
|
||||
# drop automatic install of unneeded documentation (for bug 356499)
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-doc.patch
|
||||
|
||||
# bug #310087
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-as-needed.patch
|
||||
|
||||
# bug #311161
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-lib-search-path.patch
|
||||
|
||||
# bat needs to respect LDFLAGS
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-ldflags.patch
|
||||
|
||||
# bug #328701
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-openssl-1.patch
|
||||
|
||||
epatch "${FILESDIR}"/7.0.2/${PN}-7.0.2-fix-static.patch
|
||||
|
||||
# do not strip binaries
|
||||
sed -i -e "s/strip /# strip /" src/filed/Makefile.in || die
|
||||
sed -i -e "s/strip /# strip /" src/console/Makefile.in || die
|
||||
|
||||
# fix file not found error during make depend
|
||||
epatch "${FILESDIR}"/7.0.2/${PN}-7.0.2-depend.patch
|
||||
|
||||
# Fix systemd unit files:
|
||||
# bug 497748
|
||||
sed -i -e '/Requires/d' platforms/systemd/*.service.in || die
|
||||
sed -i -e '/StandardOutput/d' platforms/systemd/*.service.in || die
|
||||
# bug 504370
|
||||
sed -i -e '/Alias=bacula-dir/d' platforms/systemd/bacula-dir.service.in || die
|
||||
|
||||
# fix bundled libtool (bug 466696)
|
||||
# But first move directory with M4 macros out of the way.
|
||||
# It is only needed by i autoconf and gives errors during elibtoolize.
|
||||
mv autoconf/libtool autoconf/libtool1 || die
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=''
|
||||
|
||||
if use bacula-clientonly; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable bacula-clientonly client-only) \
|
||||
$(use_enable !static libtool) \
|
||||
$(use_enable static static-cons) \
|
||||
$(use_enable static static-fd)"
|
||||
else
|
||||
myconf="${myconf} \
|
||||
$(use_enable !bacula-nodir build-dird) \
|
||||
$(use_enable !bacula-nosd build-stored)"
|
||||
# bug #311099
|
||||
# database support needed by dir-only *and* sd-only
|
||||
# build as well (for building bscan, btape, etc.)
|
||||
myconf="${myconf} \
|
||||
--with-${mydbtype} \
|
||||
--enable-batch-insert"
|
||||
fi
|
||||
|
||||
# do not build bat if 'static' clientonly
|
||||
if ! use bacula-clientonly || ! use static; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable qt4 bat)"
|
||||
fi
|
||||
|
||||
myconf="${myconf} \
|
||||
$(use_with X x) \
|
||||
$(use_enable !readline conio) \
|
||||
$(use_enable readline) \
|
||||
$(use_with readline readline /usr) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable acl) \
|
||||
$(use_with tcpd tcp-wrappers)"
|
||||
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--htmldir=/usr/share/doc/${PF}/html \
|
||||
--with-pid-dir=/var/run \
|
||||
--sysconfdir=/etc/bacula \
|
||||
--with-subsys-dir=/var/lock/subsys \
|
||||
--with-working-dir=/var/lib/bacula \
|
||||
--with-logdir=/var/lib/bacula \
|
||||
--with-scriptdir=/usr/libexec/bacula \
|
||||
--with-systemd=$(systemd_get_unitdir) \
|
||||
--with-dir-user=bacula \
|
||||
--with-dir-group=bacula \
|
||||
--with-sd-user=root \
|
||||
--with-sd-group=bacula \
|
||||
--with-fd-user=root \
|
||||
--with-fd-group=bacula \
|
||||
--enable-smartalloc \
|
||||
--disable-afs \
|
||||
--host=${CHOST} \
|
||||
${myconf}
|
||||
# correct configuration for QT based bat
|
||||
if use qt4 ; then
|
||||
pushd src/qt-console
|
||||
eqmake4
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Make build log verbose (bug #447806)
|
||||
emake NO_ECHO=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
doicon scripts/bacula.png
|
||||
|
||||
# install bat icon and desktop file when enabled
|
||||
# (for some reason ./configure doesn't pick this up)
|
||||
if use qt4 && ! use static ; then
|
||||
doicon src/qt-console/images/bat_icon.png
|
||||
domenu scripts/bat.desktop
|
||||
fi
|
||||
|
||||
# remove some scripts we don't need at all
|
||||
rm -f "${D}"/usr/libexec/bacula/{bacula,bacula-ctl-dir,bacula-ctl-fd,bacula-ctl-sd,startmysql,stopmysql}
|
||||
|
||||
# rename statically linked apps
|
||||
if use bacula-clientonly && use static ; then
|
||||
pushd "${D}"/usr/sbin || die
|
||||
mv static-bacula-fd bacula-fd || die
|
||||
mv static-bconsole bconsole || die
|
||||
popd || die
|
||||
fi
|
||||
|
||||
# extra files which 'make install' doesn't cover
|
||||
if ! use bacula-clientonly; then
|
||||
# the database update scripts
|
||||
diropts -m0750
|
||||
insinto /usr/libexec/bacula/updatedb
|
||||
insopts -m0754
|
||||
doins "${S}"/updatedb/*
|
||||
fperms 0640 /usr/libexec/bacula/updatedb/README
|
||||
|
||||
# the logrotate configuration
|
||||
# (now unconditional wrt bug #258187)
|
||||
diropts -m0755
|
||||
insinto /etc/logrotate.d
|
||||
insopts -m0644
|
||||
newins "${S}"/scripts/logrotate bacula
|
||||
|
||||
# the logwatch scripts
|
||||
if use logwatch; then
|
||||
diropts -m0750
|
||||
dodir /etc/log.d/scripts/services
|
||||
dodir /etc/log.d/scripts/shared
|
||||
dodir /etc/log.d/conf/logfiles
|
||||
dodir /etc/log.d/conf/services
|
||||
pushd "${S}"/scripts/logwatch >&/dev/null || die
|
||||
emake DESTDIR="${D}" install
|
||||
popd >&/dev/null || die
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! use qt4; then
|
||||
rm -vf "${D}"/usr/share/man/man1/bat.1*
|
||||
fi
|
||||
rm -vf "${D}"/usr/share/man/man1/bacula-tray-monitor.1*
|
||||
if use bacula-clientonly || use bacula-nodir; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bacula-dir.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/dbcheck.8*
|
||||
rm -vf "${D}"/usr/share/man/man1/bsmtp.1*
|
||||
rm -vf "${D}"/usr/libexec/bacula/create_*_database
|
||||
rm -vf "${D}"/usr/libexec/bacula/drop_*_database
|
||||
rm -vf "${D}"/usr/libexec/bacula/make_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/update_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/drop_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/grant_*_privileges
|
||||
rm -vf "${D}"/usr/libexec/bacula/*_catalog_backup
|
||||
fi
|
||||
if use bacula-clientonly || use bacula-nosd; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bacula-sd.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bcopy.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bextract.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bls.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bscan.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/btape.8*
|
||||
rm -vf "${D}"/usr/libexec/bacula/disk-changer
|
||||
rm -vf "${D}"/usr/libexec/bacula/mtx-changer
|
||||
rm -vf "${D}"/usr/libexec/bacula/dvd-handler
|
||||
fi
|
||||
|
||||
# documentation
|
||||
dodoc ChangeLog ReleaseNotes SUPPORT technotes
|
||||
|
||||
# install examples (bug #457504)
|
||||
if use examples; then
|
||||
docinto examples/
|
||||
dodoc -r examples/*
|
||||
fi
|
||||
|
||||
# vim-files
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins scripts/bacula.vim
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
newins scripts/filetype.vim bacula_ft.vim
|
||||
fi
|
||||
|
||||
# setup init scripts
|
||||
myscripts="bacula-fd"
|
||||
if ! use bacula-clientonly; then
|
||||
if ! use bacula-nodir; then
|
||||
myscripts="${myscripts} bacula-dir"
|
||||
fi
|
||||
if ! use bacula-nosd; then
|
||||
myscripts="${myscripts} bacula-sd"
|
||||
fi
|
||||
fi
|
||||
for script in ${myscripts}; do
|
||||
# copy over init script and config to a temporary location
|
||||
# so we can modify them as needed
|
||||
cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd"
|
||||
cp "${FILESDIR}/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd"
|
||||
|
||||
# now set the database dependancy for the director init script
|
||||
case "${script}" in
|
||||
bacula-dir)
|
||||
case "${mydbtype}" in
|
||||
sqlite3)
|
||||
# sqlite3 databases don't have a daemon
|
||||
sed -i -e 's/need "%database%"/:/g' "${T}/${script}".initd || die
|
||||
;;
|
||||
*)
|
||||
# all other databases have daemons
|
||||
sed -i -e "s:%database%:${mydbtype}:" "${T}/${script}".initd || die
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
# install init script and config
|
||||
newinitd "${T}/${script}".initd "${script}"
|
||||
newconfd "${T}/${script}".confd "${script}"
|
||||
done
|
||||
|
||||
systemd_dounit "${S}"/platforms/systemd/bacula-{dir,fd,sd}.service
|
||||
systemd_dotmpfilesd "${S}"/platforms/systemd/bacula.conf
|
||||
|
||||
# make sure the working directory exists
|
||||
diropts -m0750
|
||||
keepdir /var/lib/bacula
|
||||
|
||||
# make sure bacula group can execute bacula libexec scripts
|
||||
fowners -R root:bacula /usr/libexec/bacula
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use bacula-clientonly; then
|
||||
fowners root:bacula /var/lib/bacula
|
||||
else
|
||||
fowners bacula:bacula /var/lib/bacula
|
||||
fi
|
||||
|
||||
if ! use bacula-clientonly && ! use bacula-nodir; then
|
||||
einfo
|
||||
einfo "If this is a new install, you must create the ${mydbtype} databases with:"
|
||||
einfo " /usr/libexec/bacula/create_${mydbtype}_database"
|
||||
einfo " /usr/libexec/bacula/make_${mydbtype}_tables"
|
||||
einfo " /usr/libexec/bacula/grant_${mydbtype}_privileges"
|
||||
einfo
|
||||
fi
|
||||
|
||||
if use sqlite3; then
|
||||
einfo
|
||||
einfo "Be aware that Bacula does not officially support SQLite database anymore."
|
||||
einfo "Best use it only for a client-only installation. See Bug #445540."
|
||||
einfo
|
||||
fi
|
||||
|
||||
einfo "Please note that 'bconsole' will always be installed. To compile 'bat'"
|
||||
einfo "you have to enable 'USE=qt4'."
|
||||
einfo
|
||||
}
|
@ -0,0 +1,193 @@
|
||||
diff -uraN -U0 uuagc-0.9.24/work/uuagc-0.9.24/src/Ag.hs uuagc-0.9.24-r0/work/uuagc-0.9.24/src/Ag.hs
|
||||
--- uuagc-0.9.24/work/uuagc-0.9.24/src/Ag.hs 2010-06-04 14:03:54.000000000 +0100
|
||||
+++ uuagc-0.9.24-r0/work/uuagc-0.9.24/src/Ag.hs 2015-05-05 09:05:06.300665157 +0100
|
||||
@@ -1,9 +1,10 @@
|
||||
module Main where
|
||||
|
||||
-import System (getArgs, getProgName, exitFailure)
|
||||
+import System.Environment (getArgs, getProgName)
|
||||
+import System.Exit (exitFailure)
|
||||
import System.Console.GetOpt (usageInfo)
|
||||
-import List (isSuffixOf)
|
||||
-import Monad (zipWithM_)
|
||||
+import Data.List (isSuffixOf)
|
||||
+import Control.Monad (zipWithM_)
|
||||
import Data.Maybe
|
||||
|
||||
import qualified Data.Set as Set
|
||||
diff -uraN -U0 uuagc-0.9.24/work/uuagc-0.9.24/src/DepTypes.hs uuagc-0.9.24-r0/work/uuagc-0.9.24/src/DepTypes.hs
|
||||
--- uuagc-0.9.24/work/uuagc-0.9.24/src/DepTypes.hs 2010-06-04 14:03:54.000000000 +0100
|
||||
+++ uuagc-0.9.24-r0/work/uuagc-0.9.24/src/DepTypes.hs 2015-05-05 09:07:11.471671524 +0100
|
||||
@@ -1,3 +1,4 @@
|
||||
+{-# LANGUAGE FlexibleInstances #-}
|
||||
module DepTypes where
|
||||
|
||||
import CommonTypes
|
||||
diff -uraN -U0 uuagc-0.9.24/work/uuagc-0.9.24/src/HsTokenScanner.hs uuagc-0.9.24-r0/work/uuagc-0.9.24/src/HsTokenScanner.hs
|
||||
--- uuagc-0.9.24/work/uuagc-0.9.24/src/HsTokenScanner.hs 2010-06-04 14:03:54.000000000 +0100
|
||||
+++ uuagc-0.9.24-r0/work/uuagc-0.9.24/src/HsTokenScanner.hs 2015-05-05 09:05:06.300665157 +0100
|
||||
@@ -2,11 +2,11 @@
|
||||
module HsTokenScanner where
|
||||
import HsToken
|
||||
import UU.Scanner.Position
|
||||
-import List(sort)
|
||||
+import Data.List(sort)
|
||||
import UU.Util.BinaryTrees
|
||||
import CommonTypes
|
||||
-import Maybe
|
||||
-import Char
|
||||
+import Data.Maybe
|
||||
+import Data.Char
|
||||
isAGesc c = c == '@'
|
||||
|
||||
lexTokens :: Pos -> String -> [HsToken]
|
||||
diff -uraN -U0 uuagc-0.9.24/work/uuagc-0.9.24/src/Parser.hs uuagc-0.9.24-r0/work/uuagc-0.9.24/src/Parser.hs
|
||||
--- uuagc-0.9.24/work/uuagc-0.9.24/src/Parser.hs 2010-06-04 14:03:54.000000000 +0100
|
||||
+++ uuagc-0.9.24-r0/work/uuagc-0.9.24/src/Parser.hs 2015-05-05 09:05:06.300665157 +0100
|
||||
@@ -8,10 +8,10 @@
|
||||
import Patterns
|
||||
import UU.Pretty(text,PP_Doc,empty,(>-<))
|
||||
import TokenDef
|
||||
-import List (intersperse)
|
||||
-import Char
|
||||
+import Data.List (intersperse)
|
||||
+import Data.Char
|
||||
import Scanner (Input(..),scanLit,input)
|
||||
-import List
|
||||
+import Data.List
|
||||
import Expression
|
||||
import UU.Scanner.Token
|
||||
import UU.Scanner.TokenParser
|
||||
diff -uraN -U0 uuagc-0.9.24/work/uuagc-0.9.24/src/Scanner.hs uuagc-0.9.24-r0/work/uuagc-0.9.24/src/Scanner.hs
|
||||
--- uuagc-0.9.24/work/uuagc-0.9.24/src/Scanner.hs 2010-06-04 14:03:54.000000000 +0100
|
||||
+++ uuagc-0.9.24-r0/work/uuagc-0.9.24/src/Scanner.hs 2015-05-05 09:05:06.301665157 +0100
|
||||
@@ -6,9 +6,9 @@
|
||||
import UU.Scanner.Position
|
||||
import UU.Scanner.Token
|
||||
import UU.Parsing(InputState(..),Either'(..))
|
||||
-import Maybe
|
||||
-import List
|
||||
-import Char
|
||||
+import Data.Maybe
|
||||
+import Data.List
|
||||
+import Data.Char
|
||||
import UU.Scanner.GenToken
|
||||
import Options
|
||||
|
||||
diff -uraN -U0 uuagc-0.9.24/work/uuagc-0.9.24/src/TokenDef.hs uuagc-0.9.24-r0/work/uuagc-0.9.24/src/TokenDef.hs
|
||||
--- uuagc-0.9.24/work/uuagc-0.9.24/src/TokenDef.hs 2010-06-04 14:03:54.000000000 +0100
|
||||
+++ uuagc-0.9.24-r0/work/uuagc-0.9.24/src/TokenDef.hs 2015-05-05 09:05:06.301665157 +0100
|
||||
@@ -7,7 +7,7 @@
|
||||
import UU.Scanner.GenTokenOrd
|
||||
import UU.Scanner.Position
|
||||
import UU.Parsing.MachineInterface(Symbol(..))
|
||||
-import Char(isPrint,ord)
|
||||
+import Data.Char(isPrint,ord)
|
||||
import HsToken
|
||||
import CommonTypes
|
||||
|
||||
diff -uraN -U0 uuagc-0.9.24/work/uuagc-0.9.24/src-derived/DefaultRules.hs uuagc-0.9.24-r0/work/uuagc-0.9.24/src-derived/DefaultRules.hs
|
||||
--- uuagc-0.9.24/work/uuagc-0.9.24/src-derived/DefaultRules.hs 2010-06-04 14:03:54.000000000 +0100
|
||||
+++ uuagc-0.9.24-r0/work/uuagc-0.9.24/src-derived/DefaultRules.hs 2015-05-05 09:05:06.294665157 +0100
|
||||
@@ -4,7 +4,7 @@
|
||||
module DefaultRules where
|
||||
{-# LINE 10 "DefaultRules.ag" #-}
|
||||
|
||||
-import qualified List (delete,intersperse)
|
||||
+import qualified Data.List as List (delete,intersperse)
|
||||
|
||||
import qualified Data.Set as Set
|
||||
import qualified Data.Map as Map
|
||||
@@ -13,7 +13,7 @@
|
||||
import Data.Sequence(Seq,(><))
|
||||
import UU.Scanner.Position(noPos)
|
||||
import Pretty
|
||||
-import Maybe
|
||||
+import Data.Maybe
|
||||
import HsToken
|
||||
import HsTokenScanner
|
||||
import Data.List(intersperse)
|
||||
diff -uraN -U0 uuagc-0.9.24/work/uuagc-0.9.24/src-derived/Desugar.hs uuagc-0.9.24-r0/work/uuagc-0.9.24/src-derived/Desugar.hs
|
||||
--- uuagc-0.9.24/work/uuagc-0.9.24/src-derived/Desugar.hs 2010-06-04 14:03:54.000000000 +0100
|
||||
+++ uuagc-0.9.24-r0/work/uuagc-0.9.24/src-derived/Desugar.hs 2015-05-05 09:05:06.295665157 +0100
|
||||
@@ -10,7 +10,7 @@
|
||||
import qualified Data.Sequence as Seq
|
||||
import Data.Sequence(Seq,(><))
|
||||
import UU.Scanner.Position(Pos(..))
|
||||
-import Maybe
|
||||
+import Data.Maybe
|
||||
import Data.List(intersperse)
|
||||
|
||||
import AbstractSyntax
|
||||
diff -uraN -U0 uuagc-0.9.24/work/uuagc-0.9.24/src-derived/GenerateCode.hs uuagc-0.9.24-r0/work/uuagc-0.9.24/src-derived/GenerateCode.hs
|
||||
--- uuagc-0.9.24/work/uuagc-0.9.24/src-derived/GenerateCode.hs 2010-06-04 14:03:54.000000000 +0100
|
||||
+++ uuagc-0.9.24-r0/work/uuagc-0.9.24/src-derived/GenerateCode.hs 2015-05-05 09:05:06.296665157 +0100
|
||||
@@ -26,7 +26,7 @@
|
||||
import HsTokenScanner
|
||||
|
||||
import Data.List(partition,intersperse,intersect,(\\))
|
||||
-import Maybe(fromJust,isJust)
|
||||
+import Data.Maybe(fromJust,isJust)
|
||||
{-# LINE 31 "../src-derived/GenerateCode.hs" #-}
|
||||
|
||||
{-# LINE 2 "./CodeSyntax.ag" #-}
|
||||
diff -uraN -U0 uuagc-0.9.24/work/uuagc-0.9.24/src-derived/Order.hs uuagc-0.9.24-r0/work/uuagc-0.9.24/src-derived/Order.hs
|
||||
--- uuagc-0.9.24/work/uuagc-0.9.24/src-derived/Order.hs 2010-06-04 14:03:54.000000000 +0100
|
||||
+++ uuagc-0.9.24-r0/work/uuagc-0.9.24/src-derived/Order.hs 2015-05-05 09:05:06.297665157 +0100
|
||||
@@ -37,7 +37,7 @@
|
||||
import Data.Array((!),bounds,inRange)
|
||||
import Data.List(elemIndex,partition,sort,mapAccumL,find,nubBy,intersperse,groupBy,transpose)
|
||||
import qualified Data.Tree as Tree
|
||||
-import Maybe
|
||||
+import Data.Maybe
|
||||
{-# LINE 42 "../src-derived/Order.hs" #-}
|
||||
|
||||
{-# LINE 2 "./Patterns.ag" #-}
|
||||
diff -uraN -U0 uuagc-0.9.24/work/uuagc-0.9.24/src-derived/PrintCode.hs uuagc-0.9.24-r0/work/uuagc-0.9.24/src-derived/PrintCode.hs
|
||||
--- uuagc-0.9.24/work/uuagc-0.9.24/src-derived/PrintCode.hs 2010-06-04 14:03:54.000000000 +0100
|
||||
+++ uuagc-0.9.24-r0/work/uuagc-0.9.24/src-derived/PrintCode.hs 2015-05-05 09:05:06.298665157 +0100
|
||||
@@ -4,7 +4,7 @@
|
||||
module PrintCode where
|
||||
{-# LINE 10 "PrintCode.ag" #-}
|
||||
|
||||
-import Char (isAlphaNum)
|
||||
+import Data.Char (isAlphaNum)
|
||||
import Pretty
|
||||
import Code
|
||||
import Patterns
|
||||
diff -uraN -U0 uuagc-0.9.24/work/uuagc-0.9.24/src-derived/PrintVisitCode.hs uuagc-0.9.24-r0/work/uuagc-0.9.24/src-derived/PrintVisitCode.hs
|
||||
--- uuagc-0.9.24/work/uuagc-0.9.24/src-derived/PrintVisitCode.hs 2010-06-04 14:03:54.000000000 +0100
|
||||
+++ uuagc-0.9.24-r0/work/uuagc-0.9.24/src-derived/PrintVisitCode.hs 2015-05-05 09:05:06.299665157 +0100
|
||||
@@ -22,7 +22,7 @@
|
||||
import UU.Scanner.Position
|
||||
|
||||
import Data.List(partition,intersperse,intersect,(\\))
|
||||
-import Maybe(fromJust,isJust)
|
||||
+import Data.Maybe(fromJust,isJust)
|
||||
{-# LINE 27 "../src-derived/PrintVisitCode.hs" #-}
|
||||
|
||||
{-# LINE 2 "./CodeSyntax.ag" #-}
|
||||
diff -uraN -U0 uuagc-0.9.24/work/uuagc-0.9.24/src-derived/Transform.hs uuagc-0.9.24-r0/work/uuagc-0.9.24/src-derived/Transform.hs
|
||||
--- uuagc-0.9.24/work/uuagc-0.9.24/src-derived/Transform.hs 2010-06-04 14:03:54.000000000 +0100
|
||||
+++ uuagc-0.9.24-r0/work/uuagc-0.9.24/src-derived/Transform.hs 2015-05-05 09:05:06.300665157 +0100
|
||||
@@ -5,7 +5,7 @@
|
||||
{-# LINE 8 "Transform.ag" #-}
|
||||
|
||||
import Control.Monad(mplus,mzero)
|
||||
-import List (partition, elem, nub,intersperse)
|
||||
+import Data.List as List (partition, elem, nub,intersperse)
|
||||
import Data.Maybe
|
||||
import qualified Data.Map as Map
|
||||
import Data.Map (Map)
|
||||
diff -uraN -U0 uuagc-0.9.24/work/uuagc-0.9.24/uuagc.cabal uuagc-0.9.24-r0/work/uuagc-0.9.24/uuagc.cabal
|
||||
--- uuagc-0.9.24/work/uuagc-0.9.24/uuagc.cabal 2010-06-04 14:03:54.000000000 +0100
|
||||
+++ uuagc-0.9.24-r0/work/uuagc-0.9.24/uuagc.cabal 2015-05-05 09:05:06.301665157 +0100
|
||||
@@ -28,7 +28,7 @@
|
||||
else
|
||||
build-depends: base < 3
|
||||
|
||||
- build-depends: haskell98, uulib>=0.9.12
|
||||
+ build-depends: uulib>=0.9.12
|
||||
main-is: Ag.hs
|
||||
other-modules: Ag
|
||||
, CommonTypes
|
@ -1,145 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/cryptlib-3.4.0.ebuild,v 1.7 2012/11/25 19:28:39 ulm Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
|
||||
inherit distutils eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
MY_PV="${PV//.}"
|
||||
|
||||
DESCRIPTION="Powerful security toolkit for adding encryption to software"
|
||||
HOMEPAGE="http://www.cs.auckland.ac.nz/~pgut001/cryptlib/"
|
||||
DOC_PREFIX="${PN}-${PV}"
|
||||
SRC_URI="ftp://ftp.franken.de/pub/crypt/cryptlib/cl${MY_PV}.zip
|
||||
doc? ( mirror://gentoo/${DOC_PREFIX}-manual.pdf.bz2 )"
|
||||
|
||||
LICENSE="Sleepycat"
|
||||
KEYWORDS="amd64 x86"
|
||||
SLOT="0"
|
||||
IUSE="doc ldap odbc python"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
ldap? ( net-nds/openldap )
|
||||
odbc? ( dev-db/unixODBC )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
DISTUTILS_SETUP_FILES=("bindings/setup.py")
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# we need the -a option, so we can not use 'unpack'
|
||||
unzip -qoa "${DISTDIR}/cl${MY_PV}.zip"
|
||||
use doc && unpack "${DOC_PREFIX}-manual.pdf.bz2"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
rm -fr zlib
|
||||
|
||||
# we want our own CFLAGS ;-)
|
||||
sed -i -e "s:-m.*=pentium::g" -e "s:-fomit-frame-pointer::g" -e "s:-O2::g" \
|
||||
-e "s:-O3::g" -e "s:-O4::g" makefile || die "sed makefile failed"
|
||||
sed -i -e "s/-march=[[:alnum:]\.=-]*//g" -e "s/-mcpu=[[:alnum:]\.=-]*//g" \
|
||||
-e "s:-O2::g" -e "s:-O3::g" tools/ccopts.sh || die "sed tools/ccopts.sh failed"
|
||||
|
||||
# change 'make' to '$(MAKE)'
|
||||
sed -i -e "s:@\?make:\$(MAKE):g" makefile || die "sed makefile failed"
|
||||
|
||||
# NOTICE:
|
||||
# Because of stack execution
|
||||
# assembly parts are disabled.
|
||||
sed -i -e 's:i\[3,4,5,6\]86:___:g' makefile || die "sed makefile failed"
|
||||
|
||||
# Fix version number of shared library.
|
||||
sed -i -e 's/PLV="2"/PLV="3"/' tools/buildall.sh || die "sed tools/buildall.sh failed"
|
||||
|
||||
# Respect LDFLAGS and fix soname and strip issues.
|
||||
epatch "${FILESDIR}/${PN}-3.3.2-ld.patch"
|
||||
|
||||
# Use external zlib.
|
||||
epatch "${FILESDIR}/${PN}-3.4.0-external-zlib.patch"
|
||||
|
||||
#Fix setup.py
|
||||
epatch "${FILESDIR}"/${P}-python.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local libname="libcl.so.${PV}"
|
||||
|
||||
# At least -O2 is needed.
|
||||
replace-flags -O -O2
|
||||
replace-flags -O0 -O2
|
||||
replace-flags -O1 -O2
|
||||
replace-flags -Os -O2
|
||||
is-flagq -O* || append-flags -O2
|
||||
|
||||
append-flags "-D__UNIX__ -DOSVERSION=2 -DNDEBUG -I."
|
||||
|
||||
if [ -f /usr/include/pthread.h -a \
|
||||
`grep -c PTHREAD_MUTEX_RECURSIVE /usr/include/pthread.h` -ge 0 ] ; then
|
||||
append-flags "-DHAS_RECURSIVE_MUTEX"
|
||||
fi
|
||||
if [ -f /usr/include/pthread.h -a \
|
||||
`grep -c PTHREAD_MUTEX_ROBUST /usr/include/pthread.h` -ge 0 ] ; then
|
||||
append-flags "-DHAS_ROBUST_MUTEX"
|
||||
fi
|
||||
|
||||
use ldap && append-flags -DHAS_LDAP
|
||||
use odbc && append-flags -DHAS_ODBC
|
||||
|
||||
emake directories || die
|
||||
emake toolscripts || die
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -c" Linux || die "emake static failed"
|
||||
|
||||
emake TARGET=${libname} OBJPATH="./shared-obj/" CC="$(tc-getCC)" \
|
||||
CFLAGS="${CFLAGS} -fPIC -c" Linux || die "emake shared failed"
|
||||
|
||||
if use python; then
|
||||
ln -s libcl.so.${PV} libcl.so || die
|
||||
|
||||
# Python bindings don't work with -O2 and higher.
|
||||
replace-flags -O* -O1
|
||||
distutils_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.so "libcl.so.${PV}" || die
|
||||
dosym "libcl.so.${PV}" "/usr/$(get_libdir)/libcl.so" || die
|
||||
dolib.a "libcl.a" || die
|
||||
|
||||
insinto /usr/include
|
||||
doins cryptlib.h || die
|
||||
|
||||
if use python; then
|
||||
distutils_src_install
|
||||
fi
|
||||
|
||||
dodoc README || die
|
||||
if use doc; then
|
||||
newdoc "${DOC_PREFIX}-manual.pdf" "manual.pdf" || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use python; then
|
||||
distutils_pkg_postinst
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use python; then
|
||||
distutils_pkg_postrm
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST cryptopp561.zip 1069703 SHA256 98e74d8cb17a38033354519ac8ba9c5d98a6dc00bf5d1ec3c533c2e8ec86f268 SHA512 6cc07f36b84a1043e01e458a826d4e3626a2d87b2f606352bc18f607e1c1a68dc3c9b3454659bc1e21e07c9addbf6f4255c5848205fb31c3f445c31a00ebfbf1 WHIRLPOOL 51021ec68fa5b4a988fa343dce1e64455b33c922691a842a2f7801d7359e400bff342f381393aae42114a061cf9ab6365271d7a5c21dd5c26330d41dcb59bfc9
|
||||
DIST cryptopp562.zip 1137964 SHA256 5cbfd2fcb4a6b3aab35902e2e0f3b59d9171fee12b3fc2b363e1801dfec53574 SHA512 016ca7ebad1091d67ad0bc5ccb7549d96d4af6b563d9d5a612cae27b3d1a3514c41b954e319fed91c820e8c701e3aa43da186e0864bf959ce4afd1539248ebbe WHIRLPOOL e31203da48a31b09e6ea48a75aa64fe5fd27fd370a1a609c4387526f09daab7582716563b688c0c81a8c3b200b8ffa7bdb2b981e5911640e5f1c172d6027f6ac
|
||||
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/crypto++-5.6.1-r1.ebuild,v 1.7 2012/11/04 19:41:44 c1pher Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Crypto++ is a C++ class library of cryptographic schemes"
|
||||
HOMEPAGE="http://cryptopp.com"
|
||||
SRC_URI="mirror://sourceforge/cryptopp/cryptopp${PV//.}.zip"
|
||||
|
||||
LICENSE="cryptopp"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
sys-devel/libtool"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-fix_build_system.patch" \
|
||||
"${FILESDIR}/${P}-sunos.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Higher optimizations cause problems.
|
||||
replace-flags -O? -O1
|
||||
filter-flags -fomit-frame-pointer
|
||||
|
||||
emake -f GNUmakefile CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" \
|
||||
LIBDIR="$(get_libdir)" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Ensure that all test vectors have Unix line endings.
|
||||
local file
|
||||
for file in TestVectors/*; do
|
||||
edos2unix ${file}
|
||||
done
|
||||
|
||||
if ! emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" test; then
|
||||
eerror "Crypto++ self-tests failed."
|
||||
eerror "Try to remove some optimization flags and reemerge Crypto++."
|
||||
die "emake test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install \
|
||||
|| die "emake install failed"
|
||||
}
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/crypto++-5.6.1-r3.ebuild,v 1.3 2012/11/04 19:41:44 c1pher Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Crypto++ is a C++ class library of cryptographic schemes"
|
||||
HOMEPAGE="http://cryptopp.com"
|
||||
SRC_URI="mirror://sourceforge/cryptopp/cryptopp${PV//.}.zip"
|
||||
|
||||
LICENSE="cryptopp"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
sys-devel/libtool"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PF}-fix_build_system.patch \
|
||||
"${FILESDIR}"/${P}-rijndael.patch \
|
||||
"${FILESDIR}"/${P}-gcc-4.7.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Higher optimizations cause problems.
|
||||
replace-flags -O? -O1
|
||||
filter-flags -fomit-frame-pointer
|
||||
|
||||
emake -f GNUmakefile CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" \
|
||||
LIBDIR="$(get_libdir)" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Ensure that all test vectors have Unix line endings.
|
||||
local file
|
||||
for file in TestVectors/*; do
|
||||
edos2unix ${file}
|
||||
done
|
||||
|
||||
if ! emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" test; then
|
||||
eerror "Crypto++ self-tests failed."
|
||||
eerror "Try to remove some optimization flags and reemerge Crypto++."
|
||||
die "emake test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install \
|
||||
|| die "emake install failed"
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/crypto++-5.6.2.ebuild,v 1.10 2013/08/14 20:22:30 grobian Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="C++ class library of cryptographic schemes"
|
||||
HOMEPAGE="http://cryptopp.com"
|
||||
SRC_URI="mirror://sourceforge/cryptopp/cryptopp${PV//.}.zip"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 sparc x86 ~x64-macos"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
sys-devel/libtool"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-make.patch
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed -i \
|
||||
-e '/^LIBTOOL =/s/= /= g/' \
|
||||
-e 's/libcrypto++\.so\.0\.0\.0/libcrypto++.0.0.0.dylib/' \
|
||||
-e 's/libcryptopp\.so\([\.0]\+\)\?/libcryptopp\1.dylib/' \
|
||||
GNUmakefile || die # 479554
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# higher optimizations cause problems
|
||||
replace-flags -O? -O1
|
||||
filter-flags -fomit-frame-pointer
|
||||
# ASM isn't Darwin/Mach-O ready, #479554, buildsys doesn't grok CPPFLAGS
|
||||
[[ ${CHOST} == *-darwin* ]] && append-flags -DCRYPTOPP_DISABLE_X86ASM
|
||||
|
||||
emake -f GNUmakefile CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" LIBDIR="$(get_libdir)" PREFIX="${EPREFIX}/usr"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# ensure that all test vectors have Unix line endings
|
||||
local file
|
||||
for file in TestVectors/* ; do
|
||||
edos2unix ${file}
|
||||
done
|
||||
|
||||
if ! emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" test ; then
|
||||
eerror "Crypto++ self-tests failed."
|
||||
eerror "Try to remove some optimization flags and reemerge Crypto++."
|
||||
die "emake test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="${EPREFIX}/usr" install
|
||||
use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*.{a,la}
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST libaio-0.3.107.tar.gz 51540 SHA256 e6ad9246d7cd615d90fb3d231eec94111a36a85e9ffc759ac6bdab1a03995f27 SHA512 6fc1cbb41f7050108fb9843d7143e73aa53b7fec467ea6441eb9a73594e8fdbf7bc13c96f9aa8f18c99a29da5aa9c316347f3e07ac87cc1f0d319cad324fc59c WHIRLPOOL 150b0d33a3167d032c42dcab27aab39317c3242d586e00b9bf0c98b19136a81a0c57bfb8fb9d7aa7a71e2600551b309818a844e189eb1f1930a7733a989d34ed
|
||||
DIST libaio-0.3.109.tar.bz2 43579 SHA256 b5cefce0a3cb49f8dca4d00e9480c0d9b45b75863bd44764156e322ee214e794 SHA512 4c6190f92bd482b1e88ac2f51da6582c08170035c65a78401eb004b019a0e9cb1177cc528661a06ebf4e719e141e5ab218a40f594a5df578a4708f35f21f022c WHIRLPOOL 095f1fd309f74b6fa7db8f3375065f955899f962b9dc1c376d44733c92ca1738d2ce569ed62f2c89d1b66da3133d9d3e1b568cd2f551e33acf57492f281c95a5
|
||||
DIST libaio-0.3.110.tar.gz 42270 SHA256 e019028e631725729376250e32b473012f7cb68e1f7275bfc1bbcdd0f8745f7e SHA512 664295d330d6e9adc005e2331e77582619625b479ffc2b81728ba6a682487380ee936079c4a69d35144b458bbe35c612f4ed9b32e913bd7e109b824345763eb3 WHIRLPOOL 21666b6d14e8091a52941b54b1c6d882dd495ed2d5ca9047a7951ee44e90aa33348ade0d3e4e7f12076a264b64b354a06cd96433cb39e18fc87b3655b59767af
|
||||
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/libaio-0.3.107.ebuild,v 1.13 2010/04/06 09:19:27 abcd Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Asynchronous input/output library that uses the kernels native interface"
|
||||
HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/andrea/libaio/ http://lse.sourceforge.net/io/aio.html"
|
||||
# Rip out of src rpm that Redhat uses:
|
||||
# http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/SRPMS/
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-sparc.patch
|
||||
epatch "${FILESDIR}"/${P}-install-to-slash.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.3.107-ar-ranlib.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.3.106-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.3.107-generic-arch.patch
|
||||
sed -i "/^libdir=/s:lib$:$(get_libdir):" src/Makefile Makefile
|
||||
sed -i "/^prefix=/s:/usr:${EPREFIX}/usr:" src/Makefile Makefile
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR CC RANLIB
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}"/harness
|
||||
mkdir testdir
|
||||
emake check prefix="${S}/src" libdir="${S}/src"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
doman man/*
|
||||
dodoc ChangeLog TODO
|
||||
|
||||
# remove stuff provided by man-pages now
|
||||
rm "${ED}"usr/share/man/man3/aio_{cancel,error,fsync,read,return,suspend,write}.*
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/libaio-0.3.109-r2.ebuild,v 1.10 2012/09/19 22:53:49 jer Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Asynchronous input/output library that uses the kernels native interface"
|
||||
HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/andrea/libaio/ http://lse.sourceforge.net/io/aio.html"
|
||||
SRC_URI="mirror://kernel/linux/libs/aio/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux"
|
||||
IUSE="static-libs"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.3.109-unify-bits-endian.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.3.109-generic-arch.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.3.106-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.3.107-ar-ranlib.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.3.109-install.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.3.109-x32.patch
|
||||
sed -i \
|
||||
-e "/^libdir=/s:lib$:$(get_libdir):" \
|
||||
-e "/^prefix=/s:/usr:${EPREFIX}/usr:" \
|
||||
-e '/:=.*strip.*shell.*git/s:=.*:=:' \
|
||||
src/Makefile Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR CC RANLIB
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}"/harness
|
||||
mkdir testdir
|
||||
emake check prefix="${S}/src" libdir="${S}/src" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Don't use ED for emake, src_prepare already inserts EPREFIX in the correct
|
||||
# place
|
||||
emake install DESTDIR="${D}" || die
|
||||
doman man/*
|
||||
dodoc ChangeLog TODO
|
||||
|
||||
# move crap to / for multipath-tools #325355
|
||||
gen_usr_ldscript -a aio
|
||||
if ! use static-libs ; then
|
||||
rm "${ED}"usr/lib*/*.a || die
|
||||
fi
|
||||
|
||||
# remove stuff provided by man-pages now
|
||||
rm "${ED}"usr/share/man/man3/{lio_listio,aio_{cancel,error,fsync,init,read,return,suspend,write}}.*
|
||||
}
|
@ -1,125 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/libaio-0.3.109-r3.ebuild,v 1.10 2012/12/29 20:33:56 vapier Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Asynchronous input/output library that uses the kernels native interface"
|
||||
HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/andrea/libaio/ http://lse.sourceforge.net/io/aio.html"
|
||||
SRC_URI="mirror://kernel/linux/libs/aio/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="multilib static-libs"
|
||||
|
||||
EMULTILIB_PKG="true"
|
||||
|
||||
aio_get_install_abis() {
|
||||
use multilib && get_install_abis || echo ${ABI:-default}
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local OABI=${ABI}
|
||||
for ABI in $(aio_get_install_abis)
|
||||
do
|
||||
mkdir -p "${WORKDIR}"/${ABI} || die
|
||||
cd "${WORKDIR}"/${ABI} || die
|
||||
unpack ${A}
|
||||
done
|
||||
ABI=${OABI}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local OABI=${ABI}
|
||||
for ABI in $(aio_get_install_abis)
|
||||
do
|
||||
einfo "Preparing ${ABI} ABI ..."
|
||||
cd "${WORKDIR}"/${ABI}/${P} || die
|
||||
|
||||
# remove stuff provided by man-pages now
|
||||
rm man/{lio_listio,aio_{cancel,error,fsync,init,read,return,suspend,write}}.* || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-0.3.109-unify-bits-endian.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.3.109-generic-arch.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.3.106-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.3.107-ar-ranlib.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.3.109-install.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.3.109-x32.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.3.109-testcase-8.patch
|
||||
declare -a extra_sed
|
||||
if ! use static-libs; then
|
||||
extra_sed[${#extra_sed[@]}]='-e'
|
||||
extra_sed[${#extra_sed[@]}]='/\tinstall .*\/libaio.a/d'
|
||||
# Tests require the static library to be built.
|
||||
if ! use test; then
|
||||
extra_sed[${#extra_sed[@]}]='-e'
|
||||
extra_sed[${#extra_sed[@]}]='/^all_targets +=/s/ libaio.a//'
|
||||
fi
|
||||
fi
|
||||
sed -i \
|
||||
-e "/^libdir=/s:lib$:$(get_libdir):" \
|
||||
-e "/^prefix=/s:/usr:${EPREFIX}/usr:" \
|
||||
-e '/:=.*strip.*shell.*git/s:=.*:=:' \
|
||||
"${extra_sed[@]}" \
|
||||
src/Makefile Makefile || die
|
||||
|
||||
sed -i -e "s:-Werror::g" harness/Makefile || die
|
||||
done
|
||||
ABI=${OABI}
|
||||
}
|
||||
|
||||
emake_libaio() {
|
||||
# The Makefiles need these environments, but multilib_toolchain_setup()
|
||||
# does not export anything when there is only one default abi available.
|
||||
CC="$(tc-getCC) $(get_abi_CFLAGS)" \
|
||||
AR=$(tc-getAR) \
|
||||
RANLIB=$(tc-getRANLIB) \
|
||||
emake "$@" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local OABI=${ABI}
|
||||
for ABI in $(aio_get_install_abis)
|
||||
do
|
||||
einfo "Compiling ${ABI} ABI ..."
|
||||
cd "${WORKDIR}"/${ABI}/${P} || die
|
||||
emake_libaio
|
||||
done
|
||||
ABI=${OABI}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local OABI=${ABI}
|
||||
for ABI in $(aio_get_install_abis)
|
||||
do
|
||||
einfo "Testing ${ABI} ABI ..."
|
||||
cd "${WORKDIR}"/${ABI}/${P}/harness || die
|
||||
mkdir testdir || die
|
||||
# 'make check' breaks with sandbox, 'make partcheck' works
|
||||
emake_libaio partcheck prefix="${S}/src" libdir="${S}/src"
|
||||
done
|
||||
ABI=${OABI}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local OABI=${ABI}
|
||||
for ABI in $(aio_get_install_abis)
|
||||
do
|
||||
einfo "Installing ${ABI} ABI ..."
|
||||
cd "${WORKDIR}"/${ABI}/${P} || die
|
||||
|
||||
# Don't use ED for emake, src_prepare already inserts EPREFIX in the correct
|
||||
# place
|
||||
emake_libaio install DESTDIR="${D}"
|
||||
|
||||
doman man/*
|
||||
dodoc ChangeLog TODO
|
||||
|
||||
# move crap to / for multipath-tools #325355
|
||||
gen_usr_ldscript -a aio
|
||||
done
|
||||
ABI=${OABI}
|
||||
}
|
@ -1,128 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/libaio-0.3.109-r4.ebuild,v 1.13 2015/01/16 10:04:40 armin76 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Asynchronous input/output library that uses the kernels native interface"
|
||||
HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/andrea/libaio/ http://lse.sourceforge.net/io/aio.html"
|
||||
SRC_URI="mirror://kernel/linux/libs/aio/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="multilib static-libs test"
|
||||
|
||||
EMULTILIB_PKG="true"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
aio_get_install_abis() {
|
||||
use multilib && get_install_abis || echo ${ABI:-default}
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local OABI=${ABI}
|
||||
for ABI in $(aio_get_install_abis)
|
||||
do
|
||||
mkdir -p "${WORKDIR}"/${ABI} || die
|
||||
cd "${WORKDIR}"/${ABI} || die
|
||||
unpack ${A}
|
||||
done
|
||||
ABI=${OABI}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local OABI=${ABI}
|
||||
for ABI in $(aio_get_install_abis)
|
||||
do
|
||||
einfo "Preparing ${ABI} ABI ..."
|
||||
cd "${WORKDIR}"/${ABI}/${P} || die
|
||||
|
||||
# remove stuff provided by man-pages now
|
||||
rm man/{lio_listio,aio_{cancel,error,fsync,init,read,return,suspend,write}}.* || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-0.3.109-unify-bits-endian.patch \
|
||||
"${FILESDIR}"/${PN}-0.3.109-generic-arch.patch \
|
||||
"${FILESDIR}"/${PN}-0.3.106-build.patch \
|
||||
"${FILESDIR}"/${PN}-0.3.107-ar-ranlib.patch \
|
||||
"${FILESDIR}"/${PN}-0.3.109-install.patch \
|
||||
"${FILESDIR}"/${PN}-0.3.109-x32.patch \
|
||||
"${FILESDIR}"/${PN}-0.3.109-testcase-8.patch
|
||||
|
||||
declare -a extra_sed
|
||||
if ! use static-libs; then
|
||||
extra_sed[${#extra_sed[@]}]='-e'
|
||||
extra_sed[${#extra_sed[@]}]='/\tinstall .*\/libaio.a/d'
|
||||
# Tests require the static library to be built.
|
||||
if ! use test; then
|
||||
extra_sed[${#extra_sed[@]}]='-e'
|
||||
extra_sed[${#extra_sed[@]}]='/^all_targets +=/s/ libaio.a//'
|
||||
fi
|
||||
fi
|
||||
sed -i \
|
||||
-e "/^libdir=/s:lib$:$(get_libdir):" \
|
||||
-e "/^prefix=/s:/usr:${EPREFIX}/usr:" \
|
||||
-e '/:=.*strip.*shell.*git/s:=.*:=:' \
|
||||
"${extra_sed[@]}" \
|
||||
src/Makefile Makefile || die
|
||||
|
||||
sed -i -e "s:-Werror::g" harness/Makefile || die
|
||||
done
|
||||
ABI=${OABI}
|
||||
}
|
||||
|
||||
emake_libaio() {
|
||||
# The Makefiles need these environments, but multilib_toolchain_setup()
|
||||
# does not export anything when there is only one default abi available.
|
||||
CC="$(tc-getCC) $(get_abi_CFLAGS)" \
|
||||
AR=$(tc-getAR) \
|
||||
RANLIB=$(tc-getRANLIB) \
|
||||
emake "$@"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local OABI=${ABI}
|
||||
for ABI in $(aio_get_install_abis)
|
||||
do
|
||||
einfo "Compiling ${ABI} ABI ..."
|
||||
cd "${WORKDIR}"/${ABI}/${P} || die
|
||||
emake_libaio
|
||||
done
|
||||
ABI=${OABI}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local OABI=${ABI}
|
||||
for ABI in $(aio_get_install_abis)
|
||||
do
|
||||
einfo "Testing ${ABI} ABI ..."
|
||||
cd "${WORKDIR}"/${ABI}/${P}/harness || die
|
||||
mkdir testdir || die
|
||||
# 'make check' breaks with sandbox, 'make partcheck' works
|
||||
emake_libaio partcheck prefix="${S}/src" libdir="${S}/src"
|
||||
done
|
||||
ABI=${OABI}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local OABI=${ABI}
|
||||
for ABI in $(aio_get_install_abis)
|
||||
do
|
||||
einfo "Installing ${ABI} ABI ..."
|
||||
cd "${WORKDIR}"/${ABI}/${P} || die
|
||||
|
||||
# Don't use ED for emake, src_prepare already inserts EPREFIX in the correct
|
||||
# place
|
||||
emake_libaio install DESTDIR="${D}"
|
||||
|
||||
doman man/*
|
||||
dodoc ChangeLog TODO
|
||||
|
||||
# move crap to / for multipath-tools #325355
|
||||
CFLAGS="${CFLAGS} $(get_abi_CFLAGS)" gen_usr_ldscript -a aio
|
||||
done
|
||||
ABI=${OABI}
|
||||
}
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/libaio-0.3.109-r5.ebuild,v 1.1 2014/03/27 02:09:25 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib-minimal toolchain-funcs
|
||||
|
||||
DESCRIPTION="Asynchronous input/output library that uses the kernels native interface"
|
||||
HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/andrea/libaio/ http://lse.sourceforge.net/io/aio.html"
|
||||
SRC_URI="mirror://kernel/linux/libs/aio/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="static-libs test"
|
||||
|
||||
src_prepare() {
|
||||
# remove stuff provided by man-pages now
|
||||
rm man/{lio_listio,aio_{cancel,error,fsync,init,read,return,suspend,write}}.* || die
|
||||
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-0.3.109-unify-bits-endian.patch \
|
||||
"${FILESDIR}"/${PN}-0.3.109-generic-arch.patch \
|
||||
"${FILESDIR}"/${PN}-0.3.106-build.patch \
|
||||
"${FILESDIR}"/${PN}-0.3.107-ar-ranlib.patch \
|
||||
"${FILESDIR}"/${PN}-0.3.109-install.patch \
|
||||
"${FILESDIR}"/${PN}-0.3.109-x32.patch \
|
||||
"${FILESDIR}"/${PN}-0.3.109-testcase-8.patch
|
||||
|
||||
local sed_args=(
|
||||
-e "/^prefix=/s:/usr:${EPREFIX}/usr:"
|
||||
-e '/^libdir=/s:lib$:$(ABI_LIBDIR):'
|
||||
-e '/:=.*strip.*shell.*git/s:=.*:=:'
|
||||
)
|
||||
if ! use static-libs; then
|
||||
sed_args+=( -e '/\tinstall .*\/libaio.a/d' )
|
||||
# Tests require the static library to be built.
|
||||
use test || sed_args+=( -e '/^all_targets +=/s/ libaio.a//' )
|
||||
fi
|
||||
sed -i "${sed_args[@]}" src/Makefile Makefile || die
|
||||
sed -i -e "s:-Werror::g" harness/Makefile || die
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
_emake() {
|
||||
CC=$(tc-getCC) \
|
||||
AR=$(tc-getAR) \
|
||||
RANLIB=$(tc-getRANLIB) \
|
||||
ABI_LIBDIR=$(get_libdir) \
|
||||
emake "$@"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
_emake
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
mkdir -p testdir || die
|
||||
# 'make check' breaks with sandbox, 'make partcheck' works
|
||||
_emake partcheck prefix="${S}/src" libdir="${S}/src"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
_emake install DESTDIR="${D}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
doman man/*
|
||||
dodoc ChangeLog TODO
|
||||
|
||||
# move crap to / for multipath-tools #325355
|
||||
gen_usr_ldscript -a aio
|
||||
}
|
@ -1 +1 @@
|
||||
DIST Mockery-0.7.0.tgz 19368 SHA256 b95d1f172f88932337f9bfeac2ca7bbbb304865b150262f50870d8e15f8e701a SHA512 1edcc4c5dff0f0cfba6f12770f20e525f99aade77b69853e1269ec625c959eec47ca11d36e98c61ee5354aab0d7a17ae14e8f83bb38809ac261b9df8dc6f14e3 WHIRLPOOL f25212526ca1a49a85d73155aabe69dda7f87fe9fce0d283386043db835f13acfe31135a5b6d9da7a1e825394a47ee17918b22e6457c22b11123cd1b8d44d3a3
|
||||
DIST Mockery-0.9.0.tgz 30330 SHA256 6f6fda75362c4092b8628158bd90302f8a3a9865cd692f99211dcaa56da73bf3 SHA512 744f7727395feb1009ae879dd9f336a314c70d96e848efe19c399d3abee42950606352a0781a1664178f77485933491928a1bddbcdb86a5092d69434868eee1c WHIRLPOOL fbf2d541c5456b907c184a50c7349743caa271d8112f93aa634f0e99f5a4621cef2accf6a3dc65b96e1d3bc0c00f6538b374fb7d38acaf38dc3aa644632178f8
|
||||
|
@ -1,10 +1,11 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/mockery/mockery-0.7.0.ebuild,v 1.2 2011/04/16 12:33:40 olemarkus Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/mockery/mockery-0.9.0.ebuild,v 1.1 2015/05/06 02:59:43 grknight Exp $
|
||||
|
||||
EAPI="2"
|
||||
EAPI=5
|
||||
PHP_PEAR_CHANNEL="${FILESDIR}/channel.xml"
|
||||
PHP_PEAR_PN="Mockery"
|
||||
PHP_PEAR_URI="pear.survivethedeepend.com"
|
||||
inherit php-pear-lib-r1
|
||||
|
||||
DESCRIPTION="Simple yet flexible PHP mock object framework for use in unit testing"
|
@ -1,2 +1,3 @@
|
||||
DIST cached-property-0.1.5.tar.gz 7434 SHA256 2d07bd19af2ba5eb1d3c042e2b81c2cd02dc5b0890253cb14ae10f1d34f7f86b SHA512 f5a01e64eed78cc3377bd053b0662dc4f904db7c1ea47b155e1613e6ed413fb6693e4893916518f9e53589373ebe099724d296306a9854d8d8df66b62ed9ce1b WHIRLPOOL cd5faae8024124ddd50f77fd6ee6dd6599756c7e5509d73ebcf4dea2867b066f61c40cc7f9be3144ff3295cd590f3b35925e586f1d9bbf97f40a0416ea7a5f8d
|
||||
DIST cached-property-1.0.0.tar.gz 8210 SHA256 041a60a616d59b13026c98b8e1f2b82b7f4ea049bcff44a86d4a0253ba1e2768 SHA512 771615418853d3a2a24567fa3f6dc931a02d0013abd38c26a2822cc0ab3228972e7f03e51a69478defc617491f81b76040d34a0e6683719b09b485c85196d948 WHIRLPOOL d557cadfa246a62feebac8eb81eed52d5087d38ccb0528a37492a4b83fe93278df458589cadab4238527c421e270d841c971e40c2a4ff25d8cf875f709799922
|
||||
DIST cached-property-1.2.0.tar.gz 9162 SHA256 e3081a8182d3d4b7283eeade76c382bcfd4dfd644ca800598229c2ef798abb53 SHA512 0d05bad187d30b4354d8fa93d181d753c6e27e43a84891bd3bcc1c1449fe6d57d7fc1eecdbdc097f8c25e4cfa331811db5a6e23f77891848edc2817162259cd6 WHIRLPOOL 21667352edb4a763cabfbdc73dec7d6d464632207eb960eb5fa80b97b93aa964e09ba01bb226465ef6edc2737757ee57369fe0048520a22d5f91d5267baf436f
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/cached-property/cached-property-1.2.0.ebuild,v 1.1 2015/05/06 09:33:15 cedk Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A cached-property for decorating methods in classes"
|
||||
HOMEPAGE="https://github.com/pydanny/cached-property"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="test? ( dev-python/pytest )"
|
||||
RDEPEND=""
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
dodoc README.rst HISTORY.rst CONTRIBUTING.rst AUTHORS.rst
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test || die
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/cairocffi/cairocffi-0.6-r1.ebuild,v 1.1 2015/05/06 03:22:24 idella4 Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="CFFI-based drop-in replacement for Pycairo"
|
||||
MY_PN="${PN}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
HOMEPAGE="https://github.com/SimonSapin/cairocffi"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
# xcffib is an optional extra excpet that the testsuite has it a hard coded unconditional component
|
||||
RDEPEND=">=dev-python/cffi-0.6:=[${PYTHON_USEDEP}]
|
||||
x11-libs/cairo:0=
|
||||
dev-python/xcffib[${PYTHON_USEDEP}]
|
||||
x11-libs/gdk-pixbuf[jpeg]"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( ${RDEPEND}
|
||||
dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
# Intersphinx cause the usual d'loading of objects.inv from TWO online sites
|
||||
PATCHES=( "${FILESDIR}"/mapping.patch )
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && esetup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
https://github.com/SimonSapin/cairocffi/issues/55
|
||||
py.test ${PN}/ || die "testsuite failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST django-extensions-1.4.0.tgz 185140 SHA256 04591eb842c21feb9441bda02b70be62760c2126acb33ad644fd40b967480145 SHA512 bbbbc641b8d1423f0365c6fa2467e5c93133c47cf84b629101f08ea4fac4d53f04d5ca75fd6d3fafae4160124d1c6e67a8da764c37432a65aaa95adfb8277b4d WHIRLPOOL f3689ef5f45f89a38a0a6c030fd9205ed8051c25766e9c7c1018acd5cb28cc92b8fe2e909a05c0d1b1250cb07ddf182d48791ee51a9faa6229cfc25125c03056
|
||||
DIST django-extensions-1.5.0.tgz 193691 SHA256 4922bab0ba7d25801f23d55ed9fd40eeb884e3b81e196a7b22f0720b9741e5f3 SHA512 9045b3c9ce83038462d797a81e17ab15959e6100519f7df08420bf3aa85e1fa542942a00af889bef62ca300f06d64fbdc8ab8e4da74fd067f5b34385689f04c1 WHIRLPOOL f54837321aaa49c0d8bd37527a4193b024594e8ceef5a94f44b54d3903237007b4dff47a0dd057db16456afdef05fde47bbf3b471ea465cf0b70198a2cdcaf3f
|
||||
DIST django-extensions-1.5.2.tar.gz 399105 SHA256 6b28b2b1029ca5891cc46303df7ce6a53f425b508b5633d188f612d54545b401 SHA512 9cf904397c3a1c7f924e23d9609e126bdcc19084b6d2aa7b9f1b7dfb88c8dfd0aa6c4686fab27747ed8dafb16dcc16c24a39e5b8fe29fa055f9feed5553ea86d WHIRLPOOL ae7657495a22cd5fdf8d5b6de5a893baa8215c22015997f048960d5820e932648af43e0dfdf99485134355c4fcdbed7da9c5e3a200e449571b39f7c8ae54ac3e
|
||||
DIST django-extensions-1.5.3.tar.gz 399785 SHA256 b88d4773697a16a0a2a9ba6fcb082c6c51ec9543ca0f634541680fec4a6867b1 SHA512 3fba49653e2120c0862f475502d5f9a52ddd57f7599eef4295591ff1bc744919d3a8e6a15752d3603a5843bea23362f1ec60a923e6aac05e5692be71d9f99dac WHIRLPOOL d0bc3c51bb42b09031c993526606d4df87266448b56f42daf5e76594c075c2f3dad4c89c4bfaa4fe5963e67ca987bd34cefb995d04de5bba693bfbdb7b8a9ae5
|
||||
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-extensions/django-extensions-1.5.3.ebuild,v 1.1 2015/05/06 06:05:06 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Django Command Extensions"
|
||||
HOMEPAGE="http://github.com/django-extensions/django-extensions http://django-extensions.readthedocs.org"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD || ( MIT GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
# Req'd for tests
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/django-1.5.4[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? (
|
||||
>=dev-python/django-1.5.4[${PYTHON_USEDEP}]
|
||||
dev-python/shortuuid[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/tox[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo ""
|
||||
elog "Further enhancements can be achieved by installing the following packages:"
|
||||
echo ""
|
||||
optfeature "Use ipython in shell_plus" dev-python/ipython
|
||||
optfeature "Use ptpython in shell_plus" dev-python/ptpython
|
||||
optfeature "Renders a graphical overview of your project or specified apps." dev-python/pygraphviz
|
||||
optfeature "sync your MEDIA_ROOT and STATIC_ROOT folders to S3" dev-python/boto
|
||||
optfeature "RunServerPlus-typical runserver with Werkzeug debugger baked in" dev-python/werkzeug dev-python/watchdog
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/docker-py/docker-py-1.1.0-r1.ebuild,v 1.2 2015/04/05 03:45:47 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
|
||||
inherit distutils-r1 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Python client for Docker."
|
||||
HOMEPAGE="https://github.com/docker/docker-py"
|
||||
SRC_URI="https://github.com/docker/${PN}/archive/${PV}.tar.gz -> ${P}-r1.tar.gz"
|
||||
|
||||
S="${S}-r1"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( >=dev-python/mkdocs-0.9[${PYTHON_USEDEP}] )
|
||||
test? (
|
||||
>=dev-python/coverage-3.7.1
|
||||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
=dev-python/requests-2.5*[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.5.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.3.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/websocket-client-0.11.0[${PYTHON_USEDEP}]' python2_7)
|
||||
"
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
mkdocs build || die "docs failed to build"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" tests/test.py || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( site/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>alunduil@gentoo.org</email>
|
||||
<name>Alex Brandt</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">numpy/numpy</remote-id>
|
||||
</upstream>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>alunduil@gentoo.org</email>
|
||||
<name>Alex Brandt</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">numpy/numpy</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST pycparser-2.10.tar.gz 206166 SHA256 957d98b661c0b64b580ab6f94b125e09b6714154ee51de40bca16d3f0076b86c SHA512 afe5079d6b0a39ea7f0df1ce74b1981c78d8687dbef50fb7a692395ca4a7e7a8119ec6abc0dfeb7a0535865ed2fac9dafca189bdbf6ff9205612205560e2d371 WHIRLPOOL 1b373997863001ba3b06376db1d175797c665ade273e75698edc3044713e411228f9f1c4daf0c61ffe01840d3d5e54a232fae729e42a8559e85b8db465e99b90
|
||||
DIST pycparser-2.11.tar.gz 297249 SHA256 702c37484ef8bc224b3098daf4f00cfa6621dbb60ded875cfc327e3f09ee2dfc SHA512 9c503a61650d1b697952f7bc70ca26559b72d63c7e535c1531de889f391eb3bc5130eeb5641f1bbaf966070ddd2b5ac6bf4a6160fa909dff06784e5e06699edf WHIRLPOOL 6e827a9f3b830e2dc0e8822f418533e8e8d3f963cf399f0172307b41f26ae15a053b98d7fbca2d6b08e93af48d45d75853219a7c872c4688aa5f1611d8c5c237
|
||||
DIST pycparser-2.12.tar.gz 297648 SHA256 da24c80aeb3c794ac64fe5503a01f65f13fece3e02513fd2e0761f93c96597b0 SHA512 7f46b3dbdf86115d58f0e467d3d4c80a32e56ebc6a6753417841e9e69ff537e1e0b86ab52816044048bf67522c5f32b53a5b9d6cd388da2fad48c6d2c897f945 WHIRLPOOL 8cebb9435f47cbe6cc63692789d5d7c6a6c8ce5bcff53f4c4647f55daa3816e6e3d1b9096dbaaf3ebab5a4bb4c81c9c1385b40cc85cb941c6ca541b8dc2d035e
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycparser/pycparser-2.11.ebuild,v 1.1 2015/05/05 18:04:23 jlec Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycparser/pycparser-2.12.ebuild,v 1.1 2015/05/06 00:50:03 floppym Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
@ -0,0 +1,27 @@
|
||||
# HG changeset patch
|
||||
# User Benjamin Peterson <benjamin@python.org>
|
||||
# Date 1426865725 18000
|
||||
# Node ID c996ed1dc0064f45e691f1664d06001ae07fff00
|
||||
# Parent 7638872a6c760448ed8648d692c8eb702a29c361
|
||||
# Parent 24dc6a6f7384712152dd1e881c115fb4805be9ea
|
||||
Merged in mrossini/six (pull request #55)
|
||||
|
||||
_winreg is added to the moves module under windows only
|
||||
|
||||
diff --git a/six.py b/six.py
|
||||
--- a/six.py
|
||||
+++ b/six.py
|
||||
@@ -298,8 +298,12 @@
|
||||
MovedModule("urllib_robotparser", "robotparser", "urllib.robotparser"),
|
||||
MovedModule("xmlrpc_client", "xmlrpclib", "xmlrpc.client"),
|
||||
MovedModule("xmlrpc_server", "SimpleXMLRPCServer", "xmlrpc.server"),
|
||||
- MovedModule("winreg", "_winreg"),
|
||||
]
|
||||
+#Add windows specific modules if needed
|
||||
+if sys.platform in ('win32', 'cygwin'):
|
||||
+ _moved_attributes += [
|
||||
+ MovedModule("winreg", "_winreg"),
|
||||
+ ]
|
||||
for attr in _moved_attributes:
|
||||
setattr(_MovedItems, attr.name, attr)
|
||||
if isinstance(attr, MovedModule):
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">six</remote-id>
|
||||
</upstream>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">six</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/six/six-1.9.0-r1.ebuild,v 1.1 2015/05/06 11:57:45 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python 2 and 3 compatibility library"
|
||||
HOMEPAGE="https://bitbucket.org/gutworth/six http://pypi.python.org/pypi/six"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx )
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PV}-mapping.patch
|
||||
"${FILESDIR}"/${P}-winreg.patch
|
||||
)
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C documentation html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Testing failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( documentation/_build/html/ )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST liquid-2.6.1.gem 46592 SHA256 fdecc5c4d1dfa3d81eaef83546c64b238d8c89a2a63006b8860574333a3b8639 SHA512 6a0138f8a85125db457b947c4cafbabf35c5cb6ccd47951eb9d3afdc447a72848aba314d747a2f1222f21750aa40283c2e1737cbde2b8e60a84b26e946302ac3 WHIRLPOOL 3deffc537858f48f11a881d5c83df33e057095dbc98da8ca04a0c71155523ff578633676c8a02f0e7be97e0e231202b3067cc18903fe0921a65007b2b80d402c
|
||||
DIST liquid-2.6.2.gem 46592 SHA256 eb3b8b674f0b2b0960a9a126ad83d2e35cc4df32ab5d0cc7dee75bfef5e9f4cc SHA512 bd369fe2e9bd89013f9bbd4a7f721b2db4376ac02c5ea4b4da6a08fa6af24fe782fae38b32d250edde548980f042c7187a673da47fa8d5569ed0959fd1569827 WHIRLPOOL 29c48155c7e43c0fd0ec7c3a61960b7fcfee322dbce4e6faf85c25cd75afa0c99e4504027524f92aa9c958be874ffa021c4228174fd1154f01772a3259bd2232
|
||||
DIST liquid-3.0.1.tar.gz 87563 SHA256 b51bdf121d44962c52e0cef5b23c43914dd36a0aa4f4bd2337bb8b7b9b9df61c SHA512 a728851cb25e7f50f0085e11918a5829603ec0b9fbfa55324253064a4839700edcf9f84e8b646a9df5578f3c8096be71adffdf6f34274cceab899a3ee936fd93 WHIRLPOOL c1d88c25b50e87b2e48ae36fcf2df51cb5c8eb00fe7830fa4e0d55815a3c18f1aecc4f479ab0d817867999e1dff979963c91abcab0ae80b1998bd2275fdaa71c
|
||||
DIST liquid-3.0.2.tar.gz 87685 SHA256 b3a51627324e5c3f236adfa0aab60da76ce0f9fc167526237f7ec48dce084ccc SHA512 da6cc254991781fd0e5929b7ac5c9ee947127ce33395e677d753a018a2168589050f215a9efe020e50c85533a7fa0015ee4777da1d91974a5d1980c01cd8d8d9 WHIRLPOOL 1d4733851d54d5a26340849a228e17486147387cc32819850c4036d5fd8dbb6b3d1ef365c8e59850cf24c6421591f8fc32c361f4df8ea25608c2241975cf8cda
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/liquid/liquid-3.0.2.ebuild,v 1.1 2015/05/06 10:07:15 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="History.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
SRC_URI="https://github.com/Shopify/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
DESCRIPTION="Template engine for Ruby"
|
||||
HOMEPAGE="http://www.liquidmarkup.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/minitest
|
||||
dev-ruby/spy )"
|
@ -1 +1,2 @@
|
||||
DIST loofah-2.0.1.gem 59392 SHA256 e47f811395f87885374e780e64034a7263b52d5308352e32851ccd0c1bd7c66c SHA512 6bed99fced69538aa64c6ef67878420ef88d427c7cf6e74599f33ff9cfc9fcd6e9450de30a922d54bdead4851a39ec0b4bd58e58ab5ed1ef89610151c7f9270f WHIRLPOOL d100ba311a54303a11227cc50d82c4469f2d66462b8614e3a1ff9d512340981219431968282dd84c4cad0970c4b462a0f6ce0bfa792f34bc3f83ab4cc2789807
|
||||
DIST loofah-2.0.2.gem 59392 SHA256 1ab5fb9a1dca7b955e75d582f57d236de46430ab5c5b5a33987c04d3ec93ccc7 SHA512 f61b853847bd0dfecada1d8eb4f0ab1b179c804f0ac7c74f927a8275f6d1e9fb35456abdaa0ca3f81d8281f31c77088757fe2f994332ce0a742bb89fb1d2986c WHIRLPOOL a6ba55875d168e9a8c5bd3ad99e50f124f598ce21159025516ae7b4a7cf80e4a587f7c5f34c01ef568e4796a4a006ec4135b2da3938d40bbab7ce852a5ee54c4
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/loofah/loofah-2.0.2.ebuild,v 1.1 2015/05/06 05:35:35 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A general library for manipulating and transforming HTML/XML documents and fragments."
|
||||
HOMEPAGE="https://github.com/flavorjones/loofah"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/nokogiri-1.5.9"
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/rr-1.1.0 >=dev-ruby/hoe-2.3.0 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid test failing on different whitespace.
|
||||
sed -i -e '/test_fragment_whitewash_on_microsofty_markup/askip "gentoo"' test/integration/test_ad_hoc.rb || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST tklib-0.5.tar.bz2 4022413 SHA256 65c0343a6629c98884d9ffd17e87994a3bd54c836195ab0f907c4dff12db66b0 SHA512 9d584a4df9129020736668185b5cb115698846efeb7b8992b1278501c59f134c3ba6c4f0317f1a5e55544e46497995324765df368f29156701aedd881e905da9 WHIRLPOOL 74f57c72241c7eb3c796ae4b177aba7eaf0eccfa6d64570195c165f3a7fdffad4963757c87bfe65bbad126d82f88793e670309121f4271d001010985dbe7eb43
|
||||
DIST tklib-0.6.tar.bz2 5637725 SHA256 d2e0648bdaf1ab0f874136f1e5645bd68a8fe206f1905d9f08614d90ee2e3025 SHA512 c4dbe6afe9d1d9c97edc154c807d429086e045f8b202870f21cafcd846b7ff759c8260d44d5e1e1322a0e7d3478c1dfb12d7a0c76200f583ac3bb85b21bf04b4 WHIRLPOOL afeb8f62d58f540eb7ecc99c150c719411a41e585ac09a868896484266e69f85ece4c408bc176d4cc87f123280b584b27b29780e8b9d2f58d22a8dae98b8d5d9
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tklib/tklib-0.5-r1.ebuild,v 1.2 2013/06/06 08:04:42 jlec Exp $
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Collection of utility modules for Tk, and a companion to Tcllib"
|
||||
HOMEPAGE="http://www.tcl.tk/software/tklib"
|
||||
SRC_URI="mirror://sourceforge/project/tcllib/${PN}/${PV}/${P}.tar.bz2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="BSD"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/tk
|
||||
dev-tcltk/tcllib"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" doc || die
|
||||
dohtml doc/html/* || die
|
||||
fi
|
||||
dodoc ChangeLog DESCRIPTION.txt README* || die
|
||||
dosym ${PN}${PV} /usr/$(get_libdir)/${PN}
|
||||
|
||||
mv "${ED}"/usr/share/man/mann/datefield{,-${PN}}.n || die
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tklib/tklib-0.5.ebuild,v 1.3 2013/06/06 08:04:42 jlec Exp $
|
||||
|
||||
DESCRIPTION="Collection of utility modules for Tk, and a companion to Tcllib"
|
||||
HOMEPAGE="http://www.tcl.tk/software/tklib"
|
||||
SRC_URI="mirror://sourceforge/project/tcllib/${PN}/${PV}/${P}.tar.bz2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="BSD"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/tk
|
||||
dev-tcltk/tcllib"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" doc || die
|
||||
dohtml doc/html/* || die
|
||||
fi
|
||||
dodoc ChangeLog DESCRIPTION.txt README* || die
|
||||
mv "${ED}"/usr/share/man/mann/datefield{,-${PN}}.n || die
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tklib/tklib-0.6-r2.ebuild,v 1.1 2015/05/06 06:55:44 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib
|
||||
|
||||
CODE=6a397dec6188148cf6a6fe290cf2bd92a9190c42
|
||||
|
||||
DESCRIPTION="Collection of utility modules for Tk, and a companion to Tcllib"
|
||||
HOMEPAGE="http://www.tcl.tk/software/tklib"
|
||||
SRC_URI="http://core.tcl.tk/tklib/raw/tklib-0.6.tar.bz2?name=${CODE} -> ${P}.tar.bz2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="BSD"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/tk:0
|
||||
dev-tcltk/tcllib"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_install() {
|
||||
default
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" doc
|
||||
dohtml doc/html/*
|
||||
fi
|
||||
dodoc DESCRIPTION.txt README*
|
||||
dosym ${PN}${PV} /usr/$(get_libdir)/${PN}
|
||||
|
||||
mv "${ED}"/usr/share/man/mann/datefield{,-${PN}}.n || die
|
||||
mv "${ED}"/usr/share/man/mann/menubar{,-${PN}}.n || die
|
||||
mv "${ED}"/usr/bin/dia{,-${PN}} || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST chessx-1.3.0.tgz 4094756 SHA256 cb39e624c6c668ff55b74a1f87d372c429bfdeb52bbd685186c21d7f4dbdec69 SHA512 6831cf8f7fd3fd8aa5692f51025520ab10a569070bd59bec3906a0b90a4ce2d1171d898eee7562e5fe5f1a8802b3452491e31a6f11f5bdbfee0a1dd0f65593bb WHIRLPOOL 53e2f37739bfb723032605f6eaa55119b04029b930e7ace15f1e4c010a13dfea2aad0c3d8f4b223ca35f6925b29d0e5239be754c3741b178835758f533ce5708
|
||||
DIST chessx-1.3.2.tgz 4107133 SHA256 b136cf56d37d34867cdb9538176e1703b14f61b3384885b6f100580d0af0a3ff SHA512 a8047b240e793323876615c9d83711a2b28a3855f4e0be9a1823d6a86f9d5155d001c9e44c9ddc2d2da5b87d6c4f2583cfcb49ed96aa7341dca2dceaec6f4e8f WHIRLPOOL 2fcc8dc2f89457b4a7f55cadf70e6b0c4267215e916f0acbaf85135c5240bc34bce207f4e697be7a69c3f0bcab721d0c12c15f4bf07841fc0dcf65e0ce16fefd
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-board/chessx/chessx-1.3.2.ebuild,v 1.1 2015/05/06 04:14:19 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils qmake-utils games
|
||||
|
||||
DESCRIPTION="Qt5-based Chess Database Utility"
|
||||
HOMEPAGE="http://chessx.sourceforge.net/"
|
||||
SRC_URI="http://sourceforge.net/projects/chessx/files/chessx/${PV}/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+ ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-qt/qtprintsupport:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtmultimedia:5
|
||||
dev-qt/qtxml:5
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-qt/linguist-tools"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-zlib.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dogamesbin release/${PN}
|
||||
dodoc ChangeLog TODO
|
||||
doicon data/images/${PN}.png
|
||||
domenu unix/chessx.desktop
|
||||
prepgamesdirs
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
--- chessx-1.2.2/src/quazip/ioapi.h
|
||||
+++ chessx-1.2.2-patched/src/quazip/ioapi.h
|
||||
@@ -1,3 +1,4 @@
|
||||
+#define OF(x) x
|
||||
/* ioapi.h -- IO base function header for compress/uncompress .zip
|
||||
files using zlib + zip or unzip API
|
||||
|
||||
--- chessx-1.2.2/src/quazip/unzip.c
|
||||
+++ chessx-1.2.2-patched/src/quazip/unzip.c
|
||||
@@ -1,3 +1,4 @@
|
||||
+#define OF(x) x
|
||||
/* unzip.c -- IO for uncompress .zip files using zlib
|
||||
Version 1.01e, February 12th, 2005
|
||||
|
||||
--- chessx-1.2.2/src/quazip/unzip.h
|
||||
+++ chessx-1.2.2-patched/src/quazip/unzip.h
|
||||
@@ -1,3 +1,4 @@
|
||||
+#define OF(x) x
|
||||
/* unzip.h -- IO for uncompress .zip files using zlib
|
||||
Version 1.01e, February 12th, 2005
|
||||
|
||||
--- chessx-1.2.2/src/quazip/zip.c
|
||||
+++ chessx-1.2.2-patched/src/quazip/zip.c
|
||||
@@ -1,3 +1,4 @@
|
||||
+#define OF(x) x
|
||||
/* zip.c -- IO on .zip files using zlib
|
||||
Version 1.01e, February 12th, 2005
|
||||
|
||||
--- chessx-1.2.2/src/quazip/zip.h
|
||||
+++ chessx-1.2.2-patched/src/quazip/zip.h
|
||||
@@ -1,3 +1,4 @@
|
||||
+#define OF(x) x
|
||||
/* zip.h -- IO for compress .zip files using zlib
|
||||
Version 1.01e, February 12th, 2005
|
||||
|
@ -1 +1,2 @@
|
||||
DIST noto-2014.11.zip 381169520 SHA256 6f49663b4a40ed291ff459808a9d1fa6d41f6b3309b79cf7aeaf5fa884040e2c SHA512 36695b99daf870f76d00535513ae0e16170b8d7eb471f75ae016fb970cae236ce6fcf41da790567369dde0bbd87b4c023cac6aa197dd17f8f809d20a4cca3c5b WHIRLPOOL 21977fb0369975ac6ae66c950826478b17f5d5860fd88b2e45f5c016b046e6f17618c1477fb84021348266babecf4c7efa3ca939495cb392bfb4b897466c2218
|
||||
DIST noto-2015.04.zip 380076754 SHA256 20a467d6664f5bd5d4604e903dd562ba3970dd29b17b09c7b591cb3c293287f6 SHA512 4ed6cb02007d2a96d46a96fba66639cce35019ce0490843d1d1ee3684dca4638227c6b6cb89b49cabe745b523d0e3b48f338555fcbe7168f120107d24d4d2ca7 WHIRLPOOL cc92fceb7e4b260acc936c224cca1cee89d8be3f8dae5b9cbe7426c0787d8ed64aae587f53f46f9fdd327732b7755f04870f69617585f005cb7a3b67434c6452
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-fonts/noto/noto-2015.04.ebuild,v 1.1 2015/05/06 07:57:56 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit font
|
||||
|
||||
DESCRIPTION="Google's font family that aims to support all the world's languages"
|
||||
HOMEPAGE="https://www.google.com/get/noto/"
|
||||
SRC_URI="http://dev.gentoo.org/~yngwin/distfiles/${P}.zip"
|
||||
# renamed from upstream's unversioned Noto-hinted.zip
|
||||
# version number based on the timestamp of most recently updated font in the zip
|
||||
|
||||
LICENSE="Apache-2.0 OFL-1.1" # Noto Sans CJK is SIL OFL 1.1, others are Apache 2.0 licensed
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RESTRICT="binchecks strip"
|
||||
|
||||
S=${WORKDIR}
|
||||
FONT_S="${S}"
|
||||
FONT_SUFFIX="otf ttf"
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/adplug/adplug-2.1.ebuild,v 1.7 2012/05/05 08:02:27 jdhore Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A free, cross-platform, hardware independent AdLib sound player library"
|
||||
HOMEPAGE="http://adplug.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND=">=dev-cpp/libbinio-1.4"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-gcc43.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf --disable-dependency-tracking $(use_enable debug)
|
||||
emake || die "emake failed."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed."
|
||||
dodoc AUTHORS BUGS ChangeLog NEWS README TODO
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/adplug/adplug-2.2.ebuild,v 1.3 2012/05/05 08:02:27 jdhore Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A free, cross-platform, hardware independent AdLib sound player library"
|
||||
HOMEPAGE="http://adplug.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND=">=dev-cpp/libbinio-1.4"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_compile() {
|
||||
econf --disable-dependency-tracking $(use_enable debug)
|
||||
emake || die "emake failed."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed."
|
||||
dodoc AUTHORS BUGS ChangeLog NEWS README TODO
|
||||
}
|
@ -1,250 +0,0 @@
|
||||
diff -Naurp adplug-2.1-orig/src/a2m.cpp adplug-2.1/src/a2m.cpp
|
||||
--- adplug-2.1-orig/src/a2m.cpp 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/a2m.cpp 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -31,6 +31,8 @@
|
||||
|
||||
#include "a2m.h"
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
const unsigned int Ca2mLoader::MAXFREQ = 2000,
|
||||
Ca2mLoader::MINCOPY = ADPLUG_A2M_MINCOPY,
|
||||
Ca2mLoader::MAXCOPY = ADPLUG_A2M_MAXCOPY,
|
||||
diff -Naurp adplug-2.1-orig/src/adl.cpp adplug-2.1/src/adl.cpp
|
||||
--- adplug-2.1-orig/src/adl.cpp 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/adl.cpp 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -49,6 +49,7 @@
|
||||
*/
|
||||
|
||||
#include <inttypes.h>
|
||||
+#include <cstring>
|
||||
#include <stdarg.h>
|
||||
#include <assert.h>
|
||||
|
||||
diff -Naurp adplug-2.1-orig/src/bmf.cpp adplug-2.1/src/bmf.cpp
|
||||
--- adplug-2.1-orig/src/bmf.cpp 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/bmf.cpp 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -43,6 +43,8 @@
|
||||
#include "bmf.h"
|
||||
#include "debug.h"
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
const unsigned char CxadbmfPlayer::bmf_adlib_registers[117] =
|
||||
{
|
||||
0x20, 0x23, 0x40, 0x43, 0x60, 0x63, 0x80, 0x83, 0xA0, 0xB0, 0xC0, 0xE0, 0xE3,
|
||||
diff -Naurp adplug-2.1-orig/src/cff.cpp adplug-2.1/src/cff.cpp
|
||||
--- adplug-2.1-orig/src/cff.cpp 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/cff.cpp 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -28,6 +28,8 @@
|
||||
|
||||
#include "cff.h"
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
/* -------- Public Methods -------------------------------- */
|
||||
|
||||
CPlayer *CcffLoader::factory(Copl *newopl)
|
||||
diff -Naurp adplug-2.1-orig/src/dro.cpp adplug-2.1/src/dro.cpp
|
||||
--- adplug-2.1-orig/src/dro.cpp 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/dro.cpp 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -27,6 +27,8 @@
|
||||
|
||||
#include "dro.h"
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
/*** public methods *************************************/
|
||||
|
||||
CPlayer *CdroPlayer::factory(Copl *newopl)
|
||||
diff -Naurp adplug-2.1-orig/src/dtm.cpp adplug-2.1/src/dtm.cpp
|
||||
--- adplug-2.1-orig/src/dtm.cpp 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/dtm.cpp 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -24,6 +24,8 @@
|
||||
|
||||
#include "dtm.h"
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
/* -------- Public Methods -------------------------------- */
|
||||
|
||||
CPlayer *CdtmLoader::factory(Copl *newopl)
|
||||
diff -Naurp adplug-2.1-orig/src/fmc.cpp adplug-2.1/src/fmc.cpp
|
||||
--- adplug-2.1-orig/src/fmc.cpp 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/fmc.cpp 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -21,6 +21,8 @@
|
||||
|
||||
#include "fmc.h"
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
/* -------- Public Methods -------------------------------- */
|
||||
|
||||
CPlayer *CfmcLoader::factory(Copl *newopl)
|
||||
diff -Naurp adplug-2.1-orig/src/mad.cpp adplug-2.1/src/mad.cpp
|
||||
--- adplug-2.1-orig/src/mad.cpp 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/mad.cpp 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -21,6 +21,8 @@
|
||||
|
||||
#include "mad.h"
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
/* -------- Public Methods -------------------------------- */
|
||||
|
||||
CPlayer *CmadLoader::factory(Copl *newopl)
|
||||
diff -Naurp adplug-2.1-orig/src/mkj.cpp adplug-2.1/src/mkj.cpp
|
||||
--- adplug-2.1-orig/src/mkj.cpp 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/mkj.cpp 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -24,6 +24,8 @@
|
||||
#include "mkj.h"
|
||||
#include "debug.h"
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
CPlayer *CmkjPlayer::factory(Copl *newopl)
|
||||
{
|
||||
return new CmkjPlayer(newopl);
|
||||
diff -Naurp adplug-2.1-orig/src/msc.cpp adplug-2.1/src/msc.cpp
|
||||
--- adplug-2.1-orig/src/msc.cpp 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/msc.cpp 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -24,6 +24,8 @@
|
||||
#include "msc.h"
|
||||
#include "debug.h"
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
const unsigned char CmscPlayer::msc_signature [MSC_SIGN_LEN] = {
|
||||
'C', 'e', 'r', 'e', 's', ' ', '\x13', ' ',
|
||||
'M', 'S', 'C', 'p', 'l', 'a', 'y', ' ' };
|
||||
diff -Naurp adplug-2.1-orig/src/mtk.cpp adplug-2.1/src/mtk.cpp
|
||||
--- adplug-2.1-orig/src/mtk.cpp 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/mtk.cpp 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -21,6 +21,8 @@
|
||||
|
||||
#include "mtk.h"
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
/*** public methods **************************************/
|
||||
|
||||
CPlayer *CmtkLoader::factory(Copl *newopl)
|
||||
diff -Naurp adplug-2.1-orig/src/protrack.cpp adplug-2.1/src/protrack.cpp
|
||||
--- adplug-2.1-orig/src/protrack.cpp 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/protrack.cpp 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -28,6 +28,8 @@
|
||||
#include "protrack.h"
|
||||
#include "debug.h"
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
#define SPECIALARPLEN 256 // Standard length of special arpeggio lists
|
||||
#define JUMPMARKER 0x80 // Orderlist jump marker
|
||||
|
||||
diff -Naurp adplug-2.1-orig/src/rad.cpp adplug-2.1/src/rad.cpp
|
||||
--- adplug-2.1-orig/src/rad.cpp 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/rad.cpp 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -24,6 +24,8 @@
|
||||
|
||||
#include "rad.h"
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
CPlayer *CradLoader::factory(Copl *newopl)
|
||||
{
|
||||
return new CradLoader(newopl);
|
||||
diff -Naurp adplug-2.1-orig/src/rat.cpp adplug-2.1/src/rat.cpp
|
||||
--- adplug-2.1-orig/src/rat.cpp 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/rat.cpp 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -32,6 +32,8 @@
|
||||
#include "rat.h"
|
||||
#include "debug.h"
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
const unsigned char CxadratPlayer::rat_adlib_bases[18] =
|
||||
{
|
||||
0x00, 0x01, 0x02, 0x08, 0x09, 0x0A, 0x10, 0x11, 0x12,
|
||||
diff -Naurp adplug-2.1-orig/src/raw.cpp adplug-2.1/src/raw.cpp
|
||||
--- adplug-2.1-orig/src/raw.cpp 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/raw.cpp 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -21,6 +21,8 @@
|
||||
|
||||
#include "raw.h"
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
/*** public methods *************************************/
|
||||
|
||||
CPlayer *CrawPlayer::factory(Copl *newopl)
|
||||
diff -Naurp adplug-2.1-orig/src/rix.cpp adplug-2.1/src/rix.cpp
|
||||
--- adplug-2.1-orig/src/rix.cpp 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/rix.cpp 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -23,6 +23,9 @@
|
||||
#include "rix.h"
|
||||
#include "debug.h"
|
||||
|
||||
+#include <cstdlib>
|
||||
+#include <cstring>
|
||||
+
|
||||
const unsigned char CrixPlayer::adflag[] = {0,0,0,1,1,1,0,0,0,1,1,1,0,0,0,1,1,1};
|
||||
const unsigned char CrixPlayer::reg_data[] = {0,1,2,3,4,5,8,9,10,11,12,13,16,17,18,19,20,21};
|
||||
const unsigned char CrixPlayer::ad_C0_offs[] = {0,1,2,0,1,2,3,4,5,3,4,5,6,7,8,6,7,8};
|
||||
diff -Naurp adplug-2.1-orig/src/rol.h adplug-2.1/src/rol.h
|
||||
--- adplug-2.1-orig/src/rol.h 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/rol.h 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
+#include <cstring>
|
||||
|
||||
#include "player.h"
|
||||
|
||||
diff -Naurp adplug-2.1-orig/src/s3m.cpp adplug-2.1/src/s3m.cpp
|
||||
--- adplug-2.1-orig/src/s3m.cpp 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/s3m.cpp 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -24,6 +24,8 @@
|
||||
|
||||
#include "s3m.h"
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
const char Cs3mPlayer::chnresolv[] = // S3M -> adlib channel conversion
|
||||
{-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,-1,-1,-1,-1,-1,-1,-1};
|
||||
|
||||
diff -Naurp adplug-2.1-orig/src/sa2.cpp adplug-2.1/src/sa2.cpp
|
||||
--- adplug-2.1-orig/src/sa2.cpp 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/sa2.cpp 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -25,6 +25,8 @@
|
||||
#include "sa2.h"
|
||||
#include "debug.h"
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
CPlayer *Csa2Loader::factory(Copl *newopl)
|
||||
{
|
||||
return new Csa2Loader(newopl);
|
||||
diff -Naurp adplug-2.1-orig/src/sng.cpp adplug-2.1/src/sng.cpp
|
||||
--- adplug-2.1-orig/src/sng.cpp 2008-09-08 22:33:32.000000000 +0200
|
||||
+++ adplug-2.1/src/sng.cpp 2008-09-08 22:33:53.000000000 +0200
|
||||
@@ -21,6 +21,8 @@
|
||||
|
||||
#include "sng.h"
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
CPlayer *CsngPlayer::factory(Copl *newopl)
|
||||
{
|
||||
return new CsngPlayer(newopl);
|
||||
diff -Naurp adplug-2.1-orig/test/playertest.cpp adplug-2.1/test/playertest.cpp
|
||||
--- adplug-2.1-orig/test/playertest.cpp 2008-09-08 22:33:33.000000000 +0200
|
||||
+++ adplug-2.1/test/playertest.cpp 2008-09-08 22:34:45.000000000 +0200
|
||||
@@ -19,6 +19,7 @@
|
||||
* playertest.cpp - Test AdPlug replayers, by Simon Peter <dn.tlp@gmx.net>
|
||||
*/
|
||||
|
||||
+#include <cstring>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string>
|
@ -1,83 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/aubio/aubio-0.3.2-r1.ebuild,v 1.12 2012/05/05 08:02:31 jdhore Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
|
||||
inherit autotools eutils python
|
||||
|
||||
DESCRIPTION="Library for audio labelling"
|
||||
HOMEPAGE="http://aubio.piem.org"
|
||||
SRC_URI="http://aubio.piem.org/pub/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ppc64 sparc x86"
|
||||
IUSE="alsa doc jack lash static-libs"
|
||||
|
||||
RDEPEND="sci-libs/fftw:3.0
|
||||
media-libs/libsndfile
|
||||
media-libs/libsamplerate
|
||||
|| ( dev-lang/python:2.7 dev-lang/python:2.6 )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
lash? ( media-sound/lash )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-lang/swig-1.3.0
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen virtual/latex-base )"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS=( AUTHORS ChangeLog README TODO )
|
||||
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/aubio-0.3.2-multilib.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable jack) \
|
||||
$(use_enable alsa) \
|
||||
$(use_enable lash)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc; then
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
cd "${S}"/doc
|
||||
doxygen user.cfg
|
||||
doxygen devel.cfg
|
||||
doxygen examples.cfg
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# `default` would be enough here if python.eclass supported EAPI=4
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc "${DOCS[@]}"
|
||||
|
||||
doman doc/*.1
|
||||
if use doc; then
|
||||
mv doc/user/html doc/user/user
|
||||
dohtml -r doc/user/user
|
||||
mv doc/devel/html doc/devel/devel
|
||||
dohtml -r doc/devel/devel
|
||||
mv doc/examples/html doc/examples/examples
|
||||
dohtml -r doc/examples/examples
|
||||
fi
|
||||
|
||||
find "${ED}"usr -name '*.la' -exec rm -f {} +
|
||||
}
|
||||
|
||||
pkg_postinst() { python_mod_optimize aubio; }
|
||||
pkg_postrm() { python_mod_cleanup aubio; }
|
@ -1,2 +1 @@
|
||||
DIST Coin-3.1.0.tar.gz 5632452 SHA256 81ec8c4bf0daca6718d6b59eca76354f5f9e1c5a19c20dd4fa173d65f04cb899 SHA512 df7975d64cce216f80e378f28f375a1c30c483b9e969bdeefc55992ddeef196b05279160e057ac27014cae04685854c34597493b446bbe4abd53177c89b0a07c WHIRLPOOL 9a3e45cc3df4003bbbbb831f317c14fbc44e9aa0cf2f6408818576465c27df7fbf008187633ac5109f14cf4932ae35158ff57ef0ba4d51101503bd32a5aab70f
|
||||
DIST Coin-3.1.3.tar.gz 5981534 SHA256 583478c581317862aa03a19f14c527c3888478a06284b9a46a0155fa5886d417 SHA512 d6fd47ecc74e96fc4de46e3a683f038f1907b96db2bbe935fb49f2d59190bd18f3f439dc0e4cb435360e74e1d65994a32b21f670d5a76394692616625cb14394 WHIRLPOOL 2b02b2273acfe2f5d779d8adaca8f88c5119a3326e395cc039df6898d2c7c60888d7586de877a27fca3a4cb620662ffe9363d845836b2483c2f3108475ea696c
|
||||
|
@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/coin/coin-3.1.0.ebuild,v 1.13 2014/08/10 21:08:18 slyfox Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_P=${P/c/C}
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DESCRIPTION="a high-level 3D graphics toolkit, fully compatible with SGI Open Inventor 2.1"
|
||||
HOMEPAGE="http://www.coin3d.org/"
|
||||
SRC_URI="http://dev.gentoo.org/~xarthisius/distfiles/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 PEL )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ppc x86"
|
||||
IUSE="debug doc javascript openal"
|
||||
|
||||
RDEPEND="
|
||||
!x11-libs/qwt[doc]
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
virtual/opengl
|
||||
virtual/glu
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt
|
||||
x11-libs/libXext
|
||||
javascript? ( dev-lang/spidermonkey:0 )
|
||||
openal? ( media-libs/openal )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-javascript.patch"
|
||||
epatch "${FILESDIR}/${P}-wrap-msvc-wine-fix.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
htmldir=/usr/share/doc/${PF}/html \
|
||||
--disable-java-wrapper \
|
||||
--enable-3ds-import \
|
||||
--enable-threadsafe \
|
||||
--with-fontconfig \
|
||||
--with-freetype \
|
||||
$(use_enable debug) \
|
||||
$(use_enable debug symbols) \
|
||||
$(use_enable doc html) \
|
||||
$(use_enable doc man) \
|
||||
$(use_enable javascript javascript-api) \
|
||||
$(use_enable openal sound) \
|
||||
$(use_with javascript spidermonkey) \
|
||||
$(use_with openal)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS FAQ FAQ.legal NEWS README RELNOTES THANKS docs/ChangeLog.v${PV}
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/coin/coin-3.1.3-r1.ebuild,v 1.8 2014/08/10 21:08:18 slyfox Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit flag-o-matic base
|
||||
|
||||
MY_P=${P/c/C}
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DESCRIPTION="A high-level 3D graphics toolkit, fully compatible with SGI Open Inventor 2.1"
|
||||
HOMEPAGE="http://www.coin3d.org/"
|
||||
SRC_URI="ftp://ftp.coin3d.org/pub/coin/src/all/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 PEL )"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="bzip2 debug doc javascript openal simage static-libs threads zlib"
|
||||
|
||||
# NOTE: expat is not really needed as --enable-system-expat is broken
|
||||
RDEPEND="
|
||||
dev-libs/expat
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
virtual/opengl
|
||||
virtual/glu
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
javascript? ( dev-lang/spidermonkey:0 )
|
||||
openal? ( media-libs/openal )
|
||||
simage? ( media-libs/simage )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
x11-proto/xextproto
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.1.0-javascript.patch"
|
||||
"${FILESDIR}/${PN}-3.1.3-pkgconfig-partial.patch"
|
||||
)
|
||||
|
||||
DOCS=(
|
||||
AUTHORS FAQ FAQ.legal NEWS README RELNOTES THANKS
|
||||
docs/{ChangeLog.v${PV},HACKING,oiki-launch.txt}
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
append-cppflags -I/usr/include/freetype2
|
||||
# Prefer link-time linking over dlopen
|
||||
econf \
|
||||
htmldir="/usr/share/doc/${PF}/html" \
|
||||
--disable-dl-fontconfig \
|
||||
--disable-dl-freetype \
|
||||
--disable-dl-libbzip2 \
|
||||
--disable-dl-openal \
|
||||
--disable-dl-simage \
|
||||
--disable-dl-zlib \
|
||||
--disable-dyld \
|
||||
--disable-loadlibrary \
|
||||
--disable-man \
|
||||
--disable-java-wrapper \
|
||||
--enable-3ds-import \
|
||||
--enable-compact \
|
||||
--enable-dl-glu \
|
||||
--enable-dl-spidermonkey \
|
||||
--enable-system-expat \
|
||||
--includedir="/usr/include/${PN}" \
|
||||
--with-fontconfig \
|
||||
--with-freetype \
|
||||
$(use_with bzip2) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable debug symbols) \
|
||||
$(use_enable doc html) \
|
||||
$(use_enable javascript javascript-api) \
|
||||
$(use_with javascript spidermonkey) \
|
||||
$(use_enable openal sound) \
|
||||
$(use_with openal) \
|
||||
$(use_with simage) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable threads threadsafe) \
|
||||
$(use_with zlib)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove Coin from Libs.private
|
||||
sed -e '/Libs.private/s/ -lCoin//' -i Coin.pc || die
|
||||
|
||||
base_src_install
|
||||
|
||||
# Remove libtool files when not needed.
|
||||
use static-libs || rm -f "${D}"/usr/lib*/*.la
|
||||
}
|
@ -1,589 +0,0 @@
|
||||
diff -r 4fcac12559f8 aclocal.m4
|
||||
--- a/aclocal.m4 Tue Jun 02 13:03:34 2009 +0000
|
||||
+++ b/aclocal.m4 Mon Jan 11 18:23:22 2010 +0100
|
||||
@@ -603,47 +603,53 @@
|
||||
: ${BUILD_WITH_MSVC=false}
|
||||
if $sim_ac_try_msvc; then
|
||||
if test -z "$CC" -a -z "$CXX"; then
|
||||
- sim_ac_wrapmsvc=`cd $ac_aux_dir; pwd`/wrapmsvc.exe
|
||||
- echo "$as_me:$LINENO: sim_ac_wrapmsvc=$sim_ac_wrapmsvc" >&AS_MESSAGE_LOG_FD
|
||||
AC_MSG_CHECKING([setup for wrapmsvc.exe])
|
||||
- if $sim_ac_wrapmsvc >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD; then
|
||||
- m4_ifdef([$0_VISITED],
|
||||
- [AC_FATAL([Macro $0 invoked multiple times])])
|
||||
- m4_define([$0_VISITED], 1)
|
||||
- CC=$sim_ac_wrapmsvc
|
||||
- CXX=$sim_ac_wrapmsvc
|
||||
- export CC CXX
|
||||
- BUILD_WITH_MSVC=true
|
||||
- AC_MSG_RESULT([working])
|
||||
-
|
||||
- # Robustness: we had multiple reports of Cygwin ''link'' getting in
|
||||
- # the way of MSVC link.exe, so do a little sanity check for that.
|
||||
- #
|
||||
- # FIXME: a better fix would be to call link.exe with full path from
|
||||
- # the wrapmsvc wrapper, to avoid any trouble with this -- I believe
|
||||
- # that should be possible, using the dirname of the full cl.exe path.
|
||||
- # 20050714 mortene.
|
||||
- sim_ac_check_link=`type link`
|
||||
- AC_MSG_CHECKING([whether Cygwin's /usr/bin/link shadows MSVC link.exe])
|
||||
- case x"$sim_ac_check_link" in
|
||||
- x"link is /usr/bin/link"* )
|
||||
- AC_MSG_RESULT(yes)
|
||||
- SIM_AC_ERROR([cygwin-link])
|
||||
+ case $host in
|
||||
+ *-cygwin)
|
||||
+ valid_system=true
|
||||
;;
|
||||
* )
|
||||
- AC_MSG_RESULT(no)
|
||||
+ valid_system=false
|
||||
;;
|
||||
- esac
|
||||
-
|
||||
- else
|
||||
- case $host in
|
||||
- *-cygwin)
|
||||
+ esac
|
||||
+ if $valid_system; then
|
||||
+ sim_ac_wrapmsvc=`cd $ac_aux_dir; pwd`/wrapmsvc.exe
|
||||
+ echo "$as_me:$LINENO: sim_ac_wrapmsvc=$sim_ac_wrapmsvc" >&AS_MESSAGE_LOG_FD
|
||||
+ if $sim_ac_wrapmsvc >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD; then
|
||||
+ m4_ifdef([$0_VISITED],
|
||||
+ [AC_FATAL([Macro $0 invoked multiple times])])
|
||||
+ m4_define([$0_VISITED], 1)
|
||||
+ CC=$sim_ac_wrapmsvc
|
||||
+ CXX=$sim_ac_wrapmsvc
|
||||
+ export CC CXX
|
||||
+ BUILD_WITH_MSVC=true
|
||||
+ AC_MSG_RESULT([working])
|
||||
+
|
||||
+ # Robustness: we had multiple reports of Cygwin ''link'' getting in
|
||||
+ # the way of MSVC link.exe, so do a little sanity check for that.
|
||||
+ #
|
||||
+ # FIXME: a better fix would be to call link.exe with full path from
|
||||
+ # the wrapmsvc wrapper, to avoid any trouble with this -- I believe
|
||||
+ # that should be possible, using the dirname of the full cl.exe path.
|
||||
+ # 20050714 mortene.
|
||||
+ sim_ac_check_link=`type link`
|
||||
+ AC_MSG_CHECKING([whether Cygwin's /usr/bin/link shadows MSVC link.exe])
|
||||
+ case x"$sim_ac_check_link" in
|
||||
+ x"link is /usr/bin/link"* )
|
||||
+ AC_MSG_RESULT(yes)
|
||||
+ SIM_AC_ERROR([cygwin-link])
|
||||
+ ;;
|
||||
+ * )
|
||||
+ AC_MSG_RESULT(no)
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
+ else
|
||||
AC_MSG_RESULT([not working])
|
||||
- SIM_AC_ERROR([no-msvc++]) ;;
|
||||
- *)
|
||||
- AC_MSG_RESULT([not working (as expected)])
|
||||
- ;;
|
||||
- esac
|
||||
+ SIM_AC_ERROR([no-msvc++])
|
||||
+ fi
|
||||
+ else
|
||||
+ AC_MSG_RESULT([not a cygwin host])
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
@@ -9159,6 +9165,7 @@
|
||||
AC_MSG_WARN([--enable-exceptions only has effect when using GNU g++])
|
||||
fi
|
||||
fi
|
||||
+ AC_DEFINE([USE_EXCEPTIONS], 1, [Define to make Coin use/catch exceptions at some particular places.])
|
||||
fi
|
||||
])
|
||||
|
||||
@@ -9374,12 +9381,7 @@
|
||||
# warning level 3
|
||||
SIM_AC_CC_COMPILER_OPTION([/W3], [sim_ac_compiler_CFLAGS="$sim_ac_compiler_CFLAGS /W3"])
|
||||
SIM_AC_CXX_COMPILER_OPTION([/W3], [sim_ac_compiler_CXXFLAGS="$sim_ac_compiler_CXXFLAGS /W3"])
|
||||
-
|
||||
- if test ${sim_ac_msvc_version-0} -gt 6; then
|
||||
- # 64-bit porting warnings
|
||||
- SIM_AC_CC_COMPILER_OPTION([/Wp64], [sim_ac_compiler_CFLAGS="$sim_ac_compiler_CFLAGS /Wp64"])
|
||||
- SIM_AC_CXX_COMPILER_OPTION([/Wp64], [sim_ac_compiler_CXXFLAGS="$sim_ac_compiler_CXXFLAGS /Wp64"])
|
||||
- fi
|
||||
+
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
diff -r 4fcac12559f8 configure
|
||||
--- a/configure Tue Jun 02 13:03:34 2009 +0000
|
||||
+++ b/configure Mon Jan 11 18:23:22 2010 +0100
|
||||
@@ -1817,33 +1817,42 @@
|
||||
: ${BUILD_WITH_MSVC=false}
|
||||
if $sim_ac_try_msvc; then
|
||||
if test -z "$CC" -a -z "$CXX"; then
|
||||
- sim_ac_wrapmsvc=`cd $ac_aux_dir; pwd`/wrapmsvc.exe
|
||||
- echo "$as_me:$LINENO: sim_ac_wrapmsvc=$sim_ac_wrapmsvc" >&5
|
||||
echo "$as_me:$LINENO: checking setup for wrapmsvc.exe" >&5
|
||||
echo $ECHO_N "checking setup for wrapmsvc.exe... $ECHO_C" >&6
|
||||
- if $sim_ac_wrapmsvc >&5 2>&5; then
|
||||
-
|
||||
-
|
||||
- CC=$sim_ac_wrapmsvc
|
||||
- CXX=$sim_ac_wrapmsvc
|
||||
- export CC CXX
|
||||
- BUILD_WITH_MSVC=true
|
||||
- echo "$as_me:$LINENO: result: working" >&5
|
||||
+ case $host in
|
||||
+ *-cygwin)
|
||||
+ valid_system=true
|
||||
+ ;;
|
||||
+ * )
|
||||
+ valid_system=false
|
||||
+ ;;
|
||||
+ esac
|
||||
+ if $valid_system; then
|
||||
+ sim_ac_wrapmsvc=`cd $ac_aux_dir; pwd`/wrapmsvc.exe
|
||||
+ echo "$as_me:$LINENO: sim_ac_wrapmsvc=$sim_ac_wrapmsvc" >&5
|
||||
+ if $sim_ac_wrapmsvc >&5 2>&5; then
|
||||
+
|
||||
+
|
||||
+ CC=$sim_ac_wrapmsvc
|
||||
+ CXX=$sim_ac_wrapmsvc
|
||||
+ export CC CXX
|
||||
+ BUILD_WITH_MSVC=true
|
||||
+ echo "$as_me:$LINENO: result: working" >&5
|
||||
echo "${ECHO_T}working" >&6
|
||||
|
||||
- # Robustness: we had multiple reports of Cygwin ''link'' getting in
|
||||
- # the way of MSVC link.exe, so do a little sanity check for that.
|
||||
- #
|
||||
- # FIXME: a better fix would be to call link.exe with full path from
|
||||
- # the wrapmsvc wrapper, to avoid any trouble with this -- I believe
|
||||
- # that should be possible, using the dirname of the full cl.exe path.
|
||||
- # 20050714 mortene.
|
||||
- sim_ac_check_link=`type link`
|
||||
- echo "$as_me:$LINENO: checking whether Cygwin's /usr/bin/link shadows MSVC link.exe" >&5
|
||||
+ # Robustness: we had multiple reports of Cygwin ''link'' getting in
|
||||
+ # the way of MSVC link.exe, so do a little sanity check for that.
|
||||
+ #
|
||||
+ # FIXME: a better fix would be to call link.exe with full path from
|
||||
+ # the wrapmsvc wrapper, to avoid any trouble with this -- I believe
|
||||
+ # that should be possible, using the dirname of the full cl.exe path.
|
||||
+ # 20050714 mortene.
|
||||
+ sim_ac_check_link=`type link`
|
||||
+ echo "$as_me:$LINENO: checking whether Cygwin's /usr/bin/link shadows MSVC link.exe" >&5
|
||||
echo $ECHO_N "checking whether Cygwin's /usr/bin/link shadows MSVC link.exe... $ECHO_C" >&6
|
||||
- case x"$sim_ac_check_link" in
|
||||
- x"link is /usr/bin/link"* )
|
||||
- echo "$as_me:$LINENO: result: yes" >&5
|
||||
+ case x"$sim_ac_check_link" in
|
||||
+ x"link is /usr/bin/link"* )
|
||||
+ echo "$as_me:$LINENO: result: yes" >&5
|
||||
echo "${ECHO_T}yes" >&6
|
||||
|
||||
echo >&2 ""
|
||||
@@ -1872,16 +1881,14 @@
|
||||
echo "$as_me: error: aborting" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
|
||||
- ;;
|
||||
- * )
|
||||
- echo "$as_me:$LINENO: result: no" >&5
|
||||
-echo "${ECHO_T}no" >&6
|
||||
- ;;
|
||||
- esac
|
||||
-
|
||||
- else
|
||||
- case $host in
|
||||
- *-cygwin)
|
||||
+ ;;
|
||||
+ * )
|
||||
+ echo "$as_me:$LINENO: result: no" >&5
|
||||
+echo "${ECHO_T}no" >&6
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
+ else
|
||||
echo "$as_me:$LINENO: result: not working" >&5
|
||||
echo "${ECHO_T}not working" >&6
|
||||
|
||||
@@ -1910,12 +1917,11 @@
|
||||
{ { echo "$as_me:$LINENO: error: aborting" >&5
|
||||
echo "$as_me: error: aborting" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
- ;;
|
||||
- *)
|
||||
- echo "$as_me:$LINENO: result: not working (as expected)" >&5
|
||||
-echo "${ECHO_T}not working (as expected)" >&6
|
||||
- ;;
|
||||
- esac
|
||||
+
|
||||
+ fi
|
||||
+ else
|
||||
+ echo "$as_me:$LINENO: result: not a cygwin host" >&5
|
||||
+echo "${ECHO_T}not a cygwin host" >&6
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
@@ -5272,7 +5278,7 @@
|
||||
;;
|
||||
*-*-irix6*)
|
||||
# Find out which ABI we are using.
|
||||
- echo '#line 5275 "configure"' > conftest.$ac_ext
|
||||
+ echo '#line 5281 "configure"' > conftest.$ac_ext
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
(eval $ac_compile) 2>&5
|
||||
ac_status=$?
|
||||
@@ -6407,7 +6413,7 @@
|
||||
|
||||
|
||||
# Provide some information about the compiler.
|
||||
-echo "$as_me:6410:" \
|
||||
+echo "$as_me:6416:" \
|
||||
"checking for Fortran 77 compiler version" >&5
|
||||
ac_compiler=`set X $ac_compile; echo $2`
|
||||
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
|
||||
@@ -7470,11 +7476,11 @@
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:7473: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:7479: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
- echo "$as_me:7477: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:7483: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings other than the usual output.
|
||||
@@ -7738,11 +7744,11 @@
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:7741: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:7747: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
- echo "$as_me:7745: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:7751: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings other than the usual output.
|
||||
@@ -7842,11 +7848,11 @@
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:7845: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:7851: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>out/conftest.err)
|
||||
ac_status=$?
|
||||
cat out/conftest.err >&5
|
||||
- echo "$as_me:7849: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:7855: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||
then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
@@ -10187,7 +10193,7 @@
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 10190 "configure"
|
||||
+#line 10196 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@@ -10287,7 +10293,7 @@
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 10290 "configure"
|
||||
+#line 10296 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@@ -12627,11 +12633,11 @@
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:12630: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:12636: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
- echo "$as_me:12634: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:12640: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings other than the usual output.
|
||||
@@ -12731,11 +12737,11 @@
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:12734: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:12740: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>out/conftest.err)
|
||||
ac_status=$?
|
||||
cat out/conftest.err >&5
|
||||
- echo "$as_me:12738: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:12744: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||
then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
@@ -14301,11 +14307,11 @@
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:14304: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:14310: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
- echo "$as_me:14308: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:14314: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings other than the usual output.
|
||||
@@ -14405,11 +14411,11 @@
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:14408: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:14414: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>out/conftest.err)
|
||||
ac_status=$?
|
||||
cat out/conftest.err >&5
|
||||
- echo "$as_me:14412: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:14418: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||
then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
@@ -16608,11 +16614,11 @@
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:16611: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:16617: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
- echo "$as_me:16615: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:16621: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings other than the usual output.
|
||||
@@ -16876,11 +16882,11 @@
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:16879: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:16885: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
- echo "$as_me:16883: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:16889: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings other than the usual output.
|
||||
@@ -16980,11 +16986,11 @@
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
- (eval echo "\"\$as_me:16983: $lt_compile\"" >&5)
|
||||
+ (eval echo "\"\$as_me:16989: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>out/conftest.err)
|
||||
ac_status=$?
|
||||
cat out/conftest.err >&5
|
||||
- echo "$as_me:16987: \$? = $ac_status" >&5
|
||||
+ echo "$as_me:16993: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||
then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
@@ -25638,6 +25644,11 @@
|
||||
echo "$as_me: WARNING: --enable-exceptions only has effect when using GNU g++" >&2;}
|
||||
fi
|
||||
fi
|
||||
+
|
||||
+cat >>confdefs.h <<\_ACEOF
|
||||
+#define USE_EXCEPTIONS 1
|
||||
+_ACEOF
|
||||
+
|
||||
fi
|
||||
|
||||
|
||||
@@ -27886,161 +27897,6 @@
|
||||
|
||||
|
||||
|
||||
- if test ${sim_ac_msvc_version-0} -gt 6; then
|
||||
- # 64-bit porting warnings
|
||||
-
|
||||
-
|
||||
-
|
||||
-ac_ext=c
|
||||
-ac_cpp='$CPP $CPPFLAGS'
|
||||
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
-
|
||||
-echo "$as_me:$LINENO: checking whether $CC accepts /Wp64" >&5
|
||||
-echo $ECHO_N "checking whether $CC accepts /Wp64... $ECHO_C" >&6
|
||||
-
|
||||
-sim_ac_save_cppflags=$CPPFLAGS
|
||||
-CPPFLAGS="$CPPFLAGS /Wp64"
|
||||
-cat >conftest.$ac_ext <<_ACEOF
|
||||
-/* confdefs.h. */
|
||||
-_ACEOF
|
||||
-cat confdefs.h >>conftest.$ac_ext
|
||||
-cat >>conftest.$ac_ext <<_ACEOF
|
||||
-/* end confdefs.h. */
|
||||
-
|
||||
-int
|
||||
-main ()
|
||||
-{
|
||||
-
|
||||
- ;
|
||||
- return 0;
|
||||
-}
|
||||
-_ACEOF
|
||||
-rm -f conftest.$ac_objext
|
||||
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
- (eval $ac_compile) 2>conftest.er1
|
||||
- ac_status=$?
|
||||
- grep -v '^ *+' conftest.er1 >conftest.err
|
||||
- rm -f conftest.er1
|
||||
- cat conftest.err >&5
|
||||
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
- (exit $ac_status); } &&
|
||||
- { ac_try='test -z "$ac_c_werror_flag"
|
||||
- || test ! -s conftest.err'
|
||||
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
- (eval $ac_try) 2>&5
|
||||
- ac_status=$?
|
||||
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
- (exit $ac_status); }; } &&
|
||||
- { ac_try='test -s conftest.$ac_objext'
|
||||
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
- (eval $ac_try) 2>&5
|
||||
- ac_status=$?
|
||||
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
- (exit $ac_status); }; }; then
|
||||
- sim_ac_accept_result=yes
|
||||
-else
|
||||
- echo "$as_me: failed program was:" >&5
|
||||
-sed 's/^/| /' conftest.$ac_ext >&5
|
||||
-
|
||||
-sim_ac_accept_result=no
|
||||
-fi
|
||||
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
-echo "$as_me:$LINENO: result: $sim_ac_accept_result" >&5
|
||||
-echo "${ECHO_T}$sim_ac_accept_result" >&6
|
||||
-CPPFLAGS=$sim_ac_save_cppflags
|
||||
-# This need to go last, in case CPPFLAGS is modified in arg 2 or arg 3.
|
||||
-if test $sim_ac_accept_result = yes; then
|
||||
- sim_ac_compiler_CFLAGS="$sim_ac_compiler_CFLAGS /Wp64"
|
||||
-else
|
||||
- :
|
||||
-fi
|
||||
-
|
||||
-ac_ext=cc
|
||||
-ac_cpp='$CXXCPP $CPPFLAGS'
|
||||
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
||||
-
|
||||
-
|
||||
-
|
||||
-
|
||||
-
|
||||
-ac_ext=cc
|
||||
-ac_cpp='$CXXCPP $CPPFLAGS'
|
||||
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
||||
-
|
||||
-echo "$as_me:$LINENO: checking whether $CXX accepts /Wp64" >&5
|
||||
-echo $ECHO_N "checking whether $CXX accepts /Wp64... $ECHO_C" >&6
|
||||
-
|
||||
-sim_ac_save_cppflags=$CPPFLAGS
|
||||
-CPPFLAGS="$CPPFLAGS /Wp64"
|
||||
-cat >conftest.$ac_ext <<_ACEOF
|
||||
-/* confdefs.h. */
|
||||
-_ACEOF
|
||||
-cat confdefs.h >>conftest.$ac_ext
|
||||
-cat >>conftest.$ac_ext <<_ACEOF
|
||||
-/* end confdefs.h. */
|
||||
-
|
||||
-int
|
||||
-main ()
|
||||
-{
|
||||
-
|
||||
- ;
|
||||
- return 0;
|
||||
-}
|
||||
-_ACEOF
|
||||
-rm -f conftest.$ac_objext
|
||||
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
- (eval $ac_compile) 2>conftest.er1
|
||||
- ac_status=$?
|
||||
- grep -v '^ *+' conftest.er1 >conftest.err
|
||||
- rm -f conftest.er1
|
||||
- cat conftest.err >&5
|
||||
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
- (exit $ac_status); } &&
|
||||
- { ac_try='test -z "$ac_cxx_werror_flag"
|
||||
- || test ! -s conftest.err'
|
||||
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
- (eval $ac_try) 2>&5
|
||||
- ac_status=$?
|
||||
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
- (exit $ac_status); }; } &&
|
||||
- { ac_try='test -s conftest.$ac_objext'
|
||||
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
- (eval $ac_try) 2>&5
|
||||
- ac_status=$?
|
||||
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
- (exit $ac_status); }; }; then
|
||||
- sim_ac_accept_result=yes
|
||||
-else
|
||||
- echo "$as_me: failed program was:" >&5
|
||||
-sed 's/^/| /' conftest.$ac_ext >&5
|
||||
-
|
||||
-sim_ac_accept_result=no
|
||||
-fi
|
||||
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
-echo "$as_me:$LINENO: result: $sim_ac_accept_result" >&5
|
||||
-echo "${ECHO_T}$sim_ac_accept_result" >&6
|
||||
-CPPFLAGS=$sim_ac_save_cppflags
|
||||
-# This need to go last, in case CPPFLAGS is modified in arg 2 or arg 3.
|
||||
-if test $sim_ac_accept_result = yes; then
|
||||
- sim_ac_compiler_CXXFLAGS="$sim_ac_compiler_CXXFLAGS /Wp64"
|
||||
-else
|
||||
- :
|
||||
-fi
|
||||
-
|
||||
-ac_ext=cc
|
||||
-ac_cpp='$CXXCPP $CPPFLAGS'
|
||||
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
||||
-
|
||||
-
|
||||
- fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
diff -r 4fcac12559f8 src/discard.h.in
|
||||
--- a/src/discard.h.in Tue Jun 02 13:03:34 2009 +0000
|
||||
+++ b/src/discard.h.in Mon Jan 11 18:23:22 2010 +0100
|
||||
@@ -480,6 +480,9 @@
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
+/* Define to make Coin use/catch exceptions at some particular places. */
|
||||
+#undef USE_EXCEPTIONS
|
||||
+
|
||||
/* define to use the POSIX threads API */
|
||||
#undef USE_PTHREAD
|
||||
|
@ -1,3 +1 @@
|
||||
DIST dssi-1.0.0.tar.gz 406947 SHA256 7db597cac9974d1d1562ae406caabaec8ab810c4535522a8c29373cd02fc3816
|
||||
DIST dssi-1.1.0.tar.gz 420681 SHA256 cea3c22b34e251372c4ae81dbb7256038b7026184d7598b318a0b69475f69b53
|
||||
DIST dssi-1.1.1.tar.gz 712038 SHA256 f2c82b073a947c8255284249097667f9b14e660bf86186f3fcd3b3b3e087814e
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/dssi/dssi-1.0.0.ebuild,v 1.7 2012/05/05 08:02:30 jdhore Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils libtool multilib
|
||||
|
||||
DESCRIPTION="Plugin API for software instruments with user interfaces"
|
||||
HOMEPAGE="http://dssi.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/dssi/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1 BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="media-libs/alsa-lib
|
||||
>=media-libs/liblo-0.12
|
||||
>=media-sound/jack-audio-connection-kit-0.99.0-r1
|
||||
>=media-libs/ladspa-sdk-1.12-r2
|
||||
>=media-libs/libsndfile-1.0.11
|
||||
>=media-libs/libsamplerate-0.1.1-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/sed
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "s:libdir=.*:libdir=@libdir@:" \
|
||||
dssi.pc.in || die
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
QTDIR=/WONT_BE_FOUND
|
||||
econf \
|
||||
--disable-dependency-tracking
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc README doc/TODO doc/*.txt
|
||||
find "${D}" -name '*.la' -delete
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/dssi/dssi-1.1.0.ebuild,v 1.3 2013/03/02 21:42:29 hwoarang Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Plugin API for software instruments with user interfaces"
|
||||
HOMEPAGE="http://dssi.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/dssi/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="qt4"
|
||||
|
||||
RDEPEND="media-libs/alsa-lib
|
||||
>=media-libs/liblo-0.12
|
||||
>=media-sound/jack-audio-connection-kit-0.99.14
|
||||
>=media-libs/ladspa-sdk-1.12-r2
|
||||
>=media-libs/libsndfile-1.0.11
|
||||
>=media-libs/libsamplerate-0.1.1-r1
|
||||
qt4? ( dev-qt/qtgui:4 )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/sed
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's:libdir=.*:libdir=@libdir@:' \
|
||||
dssi.pc.in || die
|
||||
|
||||
if ! use qt4; then
|
||||
sed -i -e '/PKG_CHECK_MODULES(QT/s:QtGui:dIsAbLe&:' configure.ac || die
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-dependency-tracking
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc README doc/TODO doc/*.txt
|
||||
find "${D}" -name '*.la' -delete
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST exempi-2.1.1.tar.gz 3401564 SHA256 b06b67472ff673e2d4257ae0b687ba421af1f9952428e7caead870868c2a4dd3 SHA512 8c3ccad1f784dc307bc604a0caf1509f1478de3e127ca1ddad8b58b0558eb00926fc029d9f13218afe3935503ef6d142ec0446c21774741752a69d3de39cbae0 WHIRLPOOL 5003265bab2211835c234dce8a057dd0b0f1a3a64394c5b52198786ce51ee11f401ce8a4a4445f08e48edf994c1c920fa50b84a891919ab6d129963556835536
|
||||
DIST exempi-2.2.0.tar.gz 3555957 SHA256 710a01a4e879c3a58304021d8a9624cf8b65f79b2b949951a873c91f6d64d102 SHA512 bb477787204bdc2cc8e9949c8407beb5af2aeab8f3e769ce814ee7eaf7476336b68635d6301cfbd600da34b1003c371e624866ec6c3b426d06076ec90c663f82 WHIRLPOOL 4c4b9a69f24c0ea792062e27a25688cc70a58baa6853a7b2a078732e33281c5ee9d9e21488d90a86a1fe28b6f227cfeb64a7e1524a815fa7a30a955fde2e4983
|
||||
DIST exempi-2.2.1.tar.gz 3566843 SHA256 a99e1569047988200e4935cf4395667341a5bd8d6067847a08df4304546cc362 SHA512 f4b97ec7af89924755a0695464bad5081de6a5d6a6f28c06984c051d677f8771c39df12951761ecd28d6ff520ddec4e21179dcba8b58f0ef649bbdad1a53aa9c WHIRLPOOL 622d23cb519f2dda988b7d13dd26be55dd207bfe8ec2f2c0b8b568974571780b51b5284d871a310e461041f1054265efb199cf5c21fcf6eee6619cb85dc335e9
|
||||
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/exempi/exempi-2.1.1.ebuild,v 1.10 2010/07/21 10:51:23 jer Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Exempi is a port of the Adobe XMP SDK to work on UNIX"
|
||||
HOMEPAGE="http://libopenraw.freedesktop.org/wiki/Exempi"
|
||||
SRC_URI="http://libopenraw.freedesktop.org/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="2"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="dev-libs/expat
|
||||
virtual/libiconv
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext"
|
||||
|
||||
# boost and valgrind required and is causing tests to fail depending on system
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-iconv.patch
|
||||
cp /usr/share/gettext/config.rpath . || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
--disable-unittest
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO || die
|
||||
|
||||
if use examples; then
|
||||
emake -C samples/source distclean
|
||||
rm -f samples/{,source,testfiles}/Makefile*
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r samples/* || die
|
||||
fi
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib/imlib-1.9.15-r3.ebuild,v 1.8 2014/07/10 13:25:35 kensington Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit autotools eutils
|
||||
|
||||
PVP=(${PV//[-\._]/ })
|
||||
DESCRIPTION="Image loading and rendering library"
|
||||
HOMEPAGE="http://ftp.acc.umu.se/pub/GNOME/sources/imlib/1.9/"
|
||||
SRC_URI="mirror://gnome/sources/${PN}/${PVP[0]}.${PVP[1]}/${P}.tar.bz2
|
||||
mirror://gentoo/gtk-1-for-imlib.m4.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
RDEPEND=">=media-libs/tiff-3.5.5
|
||||
>=media-libs/giflib-4.1.0
|
||||
>=media-libs/libpng-1.2.1
|
||||
virtual/jpeg:0
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libXext"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# Fix aclocal underquoted definition warnings.
|
||||
# Conditionalize gdk functions for bug 40453.
|
||||
# Fix imlib-config for bug 3425.
|
||||
epatch "${FILESDIR}"/${P}.patch
|
||||
epatch "${FILESDIR}"/${PN}-security.patch #security #72681
|
||||
epatch "${FILESDIR}"/${P}-bpp16-CVE-2007-3568.patch # security #201887
|
||||
epatch "${FILESDIR}"/${P}-fix-rendering.patch #197489
|
||||
epatch "${FILESDIR}"/${P}-asneeded.patch #207638
|
||||
epatch "${FILESDIR}"/${P}-libpng15.patch #357167
|
||||
|
||||
mkdir m4 && cp "${WORKDIR}"/gtk-1-for-imlib.m4 m4
|
||||
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--sysconfdir=/etc/imlib \
|
||||
$(use_enable static-libs static) \
|
||||
--disable-gdk \
|
||||
--disable-gtktest
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
dodoc AUTHORS ChangeLog README
|
||||
use doc && dohtml doc/*
|
||||
|
||||
# Punt unused files
|
||||
rm -f "${D}"/usr/lib*/pkgconfig/imlibgdk.pc
|
||||
find "${D}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libbs2b/libbs2b-3.1.0.ebuild,v 1.12 2014/03/04 20:45:46 vincent Exp $
|
||||
|
||||
DESCRIPTION="Bauer stereophonic-to-binaural DSP library"
|
||||
HOMEPAGE="http://bs2b.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/bs2b/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="media-libs/libsndfile"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_install()
|
||||
{
|
||||
emake install DESTDIR="${D}" || die "emake install failed"
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST libcaca-0.99.beta17.tar.gz 1110516 SHA256 6355ae9e3961e983ef66057a232d25f1fba2e7fa615d7591aba011d78764f1d6 SHA512 1d08a45a742cbda2c80810e753b49588cb9073ef545a1d47537745c4e62dc79748a25907903ffee58676d9aa5b75c5e0658666429cf028e10c09157d418c8d19 WHIRLPOOL bb241f90a36e2b73e2b50dcf15260153385ac2521bbe43a120c55ce5f2560ab9078ca40cf90a799646e6736461a876e33203abdd39f4ab794e6b509f8622b2d4
|
||||
DIST libcaca-0.99.beta18.tar.gz 1168552 SHA256 77ea06633f4a6022dccd4f76c1823e167a40cb05308fc1c7ea0fa1f80f6c33a1 SHA512 b2a8264ec36b74a01ff415a1fd7cb1806c76e28795b73607d4f8fa5ed5cc776b215f2817f45f06c672688f010622ee5c5e2f9dc4d0c43417dedbff545d575ca5 WHIRLPOOL 3e6404f0d16ca5718022a919c1568b0e8afaa40d58ca4a1e3271c437bebd3cde40ac63f45c6bbfea00a4936a673c24bdd21ecc0070f4814464d787dab33c183b
|
||||
DIST libcaca-0.99.beta19.tar.gz 1203495 SHA256 128b467c4ed03264c187405172a4e83049342cc8cc2f655f53a2d0ee9d3772f4 SHA512 780fc7684d40207cc10df3f87d6d8f1d47ddfffa0e76e41a5ce671b82d5c7f090facb054c3d49ca7c4ea1a619625bb9085ce52f837f50792b4a2d776a4c68e15 WHIRLPOOL 5e0e72543aab79f39c063ab67396ec5e31610c4cffade8c33f5f54e75ccb2ced561da194d287d4857cb712b6cd813bc1430197cc101ca675a441b7ea74d44839
|
||||
|
@ -1,102 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/libcaca-0.99_beta17.ebuild,v 1.25 2013/08/12 23:53:21 aballier Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit autotools flag-o-matic mono multilib java-pkg-opt-2
|
||||
|
||||
MY_P=${P/_/.}
|
||||
|
||||
DESCRIPTION="A library that creates colored ASCII-art graphics"
|
||||
HOMEPAGE="http://libcaca.zoy.org/"
|
||||
SRC_URI="http://libcaca.zoy.org/files/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 ISC LGPL-2.1 WTFPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="cxx doc imlib java mono ncurses opengl ruby slang static-libs truetype X"
|
||||
|
||||
COMMON_DEPEND="imlib? ( media-libs/imlib2 )
|
||||
mono? ( dev-lang/mono )
|
||||
ncurses? ( >=sys-libs/ncurses-5.3 )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
media-libs/freeglut
|
||||
truetype? ( >=media-libs/ftgl-2.1.3_rc5 )
|
||||
)
|
||||
ruby? ( =dev-lang/ruby-1.8* )
|
||||
slang? ( >=sys-libs/slang-2 )
|
||||
X? ( x11-libs/libX11 x11-libs/libXt )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
java? ( >=virtual/jre-1.5 )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen
|
||||
virtual/latex-base
|
||||
dev-tex/xcolor
|
||||
dev-texlive/texlive-fontsrecommended )
|
||||
java? ( >=virtual/jdk-1.5 )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/doxygen_tests = check-doxygen/d' test/Makefile.am || die #339962
|
||||
|
||||
sed -i \
|
||||
-e 's:-g -O2 -fno-strength-reduce -fomit-frame-pointer::' \
|
||||
configure.ac || die
|
||||
|
||||
sed -i \
|
||||
-e 's:$(JAVAC):$(JAVAC) $(JAVACFLAGS):' \
|
||||
-e 's:libcaca_java_la_CPPFLAGS =:libcaca_java_la_CPPFLAGS = -I../caca:' \
|
||||
java/Makefile.am || die
|
||||
|
||||
if ! use truetype; then
|
||||
sed -i -e '/PKG_CHECK_MODULES/s:ftgl:dIsAbLe&:' configure.ac || die
|
||||
fi
|
||||
|
||||
if use imlib && ! use X; then
|
||||
append-cflags -DX_DISPLAY_MISSING
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
|
||||
java-pkg-opt-2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use java; then
|
||||
export JAVACFLAGS="$(java-pkg_javac-args)"
|
||||
append-cflags "$(java-pkg_get-jni-cflags)"
|
||||
fi
|
||||
|
||||
use mono && export CSC=gmcs #329651
|
||||
export VARTEXFONTS="${T}/fonts" #44128
|
||||
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable slang) \
|
||||
$(use_enable ncurses) \
|
||||
$(use_enable X x11) $(use_with X x) --x-libraries=/usr/$(get_libdir) \
|
||||
$(use_enable opengl gl) \
|
||||
$(use_enable mono csharp) \
|
||||
$(use_enable java) \
|
||||
$(use_enable cxx) \
|
||||
$(use_enable ruby) \
|
||||
$(use_enable imlib imlib2) \
|
||||
$(use_enable doc)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog NEWS NOTES README THANKS
|
||||
|
||||
if use java; then
|
||||
java-pkg_newjar java/libjava.jar
|
||||
fi
|
||||
|
||||
rm -rf "${D}"/usr/share/java
|
||||
find "${D}" -name '*.la' -delete
|
||||
}
|
@ -1,128 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/libcaca-0.99_beta18-r1.ebuild,v 1.5 2015/04/08 17:59:35 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit autotools eutils flag-o-matic mono multilib java-pkg-opt-2 python-single-r1
|
||||
|
||||
MY_P=${P/_/.}
|
||||
DESCRIPTION="A library that creates colored ASCII-art graphics"
|
||||
HOMEPAGE="http://libcaca.zoy.org/"
|
||||
SRC_URI="http://libcaca.zoy.org/files/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 ISC LGPL-2.1 WTFPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="cxx doc imlib java mono ncurses opengl python ruby slang static-libs test truetype X"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
COMMON_DEPEND="imlib? ( media-libs/imlib2 )
|
||||
mono? ( dev-lang/mono )
|
||||
ncurses? ( >=sys-libs/ncurses-5.3 )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
media-libs/freeglut
|
||||
truetype? ( >=media-libs/ftgl-2.1.3_rc5 )
|
||||
)
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
ruby? ( =dev-lang/ruby-1.8* )
|
||||
slang? ( >=sys-libs/slang-2 )
|
||||
X? ( x11-libs/libX11 x11-libs/libXt )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
java? ( >=virtual/jre-1.5 )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
virtual/latex-base
|
||||
>=dev-texlive/texlive-fontsrecommended-2012
|
||||
>=dev-texlive/texlive-latexextra-2012
|
||||
dev-tex/xcolor
|
||||
)
|
||||
java? ( >=virtual/jdk-1.5 )
|
||||
test? ( dev-util/cppunit )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS NOTES README THANKS )
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/doxygen_tests = check-doxygen/d' test/Makefile.am || die #339962
|
||||
|
||||
sed -i \
|
||||
-e 's:-g -O2 -fno-strength-reduce -fomit-frame-pointer::' \
|
||||
-e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
|
||||
configure.ac || die
|
||||
|
||||
sed -i \
|
||||
-e 's:$(JAVAC):$(JAVAC) $(JAVACFLAGS):' \
|
||||
-e 's:libcaca_java_la_CPPFLAGS =:libcaca_java_la_CPPFLAGS = -I../caca:' \
|
||||
java/Makefile.am || die
|
||||
|
||||
if ! use truetype; then
|
||||
sed -i -e '/PKG_CHECK_MODULES/s:ftgl:dIsAbLe&:' configure.ac || die
|
||||
fi
|
||||
|
||||
if use imlib && ! use X; then
|
||||
append-cflags -DX_DISPLAY_MISSING
|
||||
fi
|
||||
|
||||
has_version '>=dev-texlive/texlive-latex-2013' && epatch "${FILESDIR}/${P}-latex_hacks.patch"
|
||||
|
||||
eautoreconf
|
||||
|
||||
java-pkg-opt-2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use java; then
|
||||
export JAVACFLAGS="$(java-pkg_javac-args)"
|
||||
append-cflags "$(java-pkg_get-jni-cflags)"
|
||||
fi
|
||||
|
||||
use mono && export CSC="$(type -P gmcs)" #329651
|
||||
export VARTEXFONTS="${T}/fonts" #44128
|
||||
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable slang) \
|
||||
$(use_enable ncurses) \
|
||||
$(use_enable X x11) $(use_with X x) --x-libraries=/usr/$(get_libdir) \
|
||||
$(use_enable opengl gl) \
|
||||
$(use_enable mono csharp) \
|
||||
$(use_enable java) \
|
||||
$(use_enable cxx) \
|
||||
$(use_enable python) \
|
||||
$(use_enable ruby) \
|
||||
$(use_enable imlib imlib2) \
|
||||
$(use_enable doc) \
|
||||
$(use_enable test cppunit)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local _java_makeopts
|
||||
use java && _java_makeopts="-j1" #480864
|
||||
emake ${_java_makeopts}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use java; then
|
||||
java-pkg_newjar java/libjava.jar
|
||||
fi
|
||||
|
||||
rm -rf "${D}"/usr/share/java
|
||||
|
||||
prune_libtool_files --modules
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libdca/libdca-0.0.5-r2.ebuild,v 1.13 2012/05/17 14:14:49 aballier Exp $
|
||||
|
||||
EAPI=3
|
||||
inherit autotools eutils flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="library for decoding DTS Coherent Acoustics streams used in DVD"
|
||||
HOMEPAGE="http://www.videolan.org/developers/libdca.html"
|
||||
SRC_URI="http://www.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2
|
||||
mirror://gentoo/${P}-constant.patch.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="debug oss static-libs"
|
||||
|
||||
RDEPEND="!media-libs/libdts"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-cflags.patch \
|
||||
"${FILESDIR}"/${P}-tests-optional.patch \
|
||||
"${WORKDIR}"/${P}-constant.patch
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-lfs-flags #328875
|
||||
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
$(use_enable debug) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable oss)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake OPT_CFLAGS="" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO doc/${PN}.txt
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f '{}' +
|
||||
rm -f "${ED}"/usr/$(get_libdir)/libdts.a
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvb/libdvb-0.5.5.1-r2.ebuild,v 1.10 2012/02/15 18:37:20 hd_brummy Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="libdvb package with added CAM library and libdvbmpegtools as well as dvb-mpegtools"
|
||||
HOMEPAGE="http://www.metzlerbros.org/dvb/"
|
||||
SRC_URI="http://www.metzlerbros.org/dvb/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="virtual/linuxtv-dvb-headers"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# Disable compilation of sample programs
|
||||
# and use DESTDIR when installing
|
||||
epatch "${FILESDIR}"/${P}-gentoo.patch
|
||||
epatch "${FILESDIR}"/${P}-gentoo-file-collisions.patch
|
||||
|
||||
sed -i -e '/^CFLAGS=/d' config.mk || die
|
||||
sed -i.orig Makefile -e 's-/include-/include/libdvb-'
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#einstall DESTDIR="${D}" || die "Install problem"
|
||||
make DESTDIR="${D}" PREFIX=/usr install || die
|
||||
|
||||
use doc && insinto "/usr/share/doc/${PF}/sample_progs" && \
|
||||
doins sample_progs/* && \
|
||||
insinto "/usr/share/doc/${PF}/samplerc" && \
|
||||
doins samplerc/*
|
||||
|
||||
elog "The script called 'dia' has been installed as dia-dvb"
|
||||
elog "so that it doesn't overwrite the binary of app-office/dia."
|
||||
|
||||
dodoc README
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST libfpx-1.2.0.9.tar.bz2 2240442 SHA256 a7e475f14b1110c79d49e777a7d70341f6e2335ef8a28825295a6a279eca701e
|
||||
DIST libfpx-1.3.0-1.tar.bz2 2285921 SHA256 0cc240e9458d099c0a50db9c771b3e5b109164472c08f40f31e1190716af48b6
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libfpx/libfpx-1.2.0.9.ebuild,v 1.23 2013/01/19 11:22:05 ulm Exp $
|
||||
|
||||
### uncomment the right variables depending on if we have a patchlevel or not
|
||||
#MY_P=${PN}-${PV%.*}-${PV#*.*.*.}
|
||||
#MY_P2=${PN}-${PV%.*}
|
||||
MY_P=${PN}-${PV}
|
||||
MY_P2=${PN}-${PV}
|
||||
|
||||
DESCRIPTION="A library for manipulating FlashPIX images"
|
||||
HOMEPAGE="http://www.i3a.org/"
|
||||
SRC_URI="mirror://imagemagick/delegates/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Flashpix"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${MY_P2}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die
|
||||
dodoc doc/*
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST libiec61883-1.1.0.tar.gz 366682 SHA256 78f6c7ca80ff622f2b0b3691f715d84bb94a00f5f60560cca7989abb8e62c025 SHA512 5911b5328e3d6ecb5d5802b3403e6a67fc6d45969b67aaf8a5fc0ab8c22c0662e11c48b8b724430944dafe08a1d1c5dd74a9b295f26539710744afd50bcf8fdd WHIRLPOOL 0c9916a5b6d40358c22e993187e30f81890bd6220c9cb52d84cdb755a109290e5e841ec32d1e34a30de3aab876fecb2ac1c7cbe775b27fd2abc67ebfd14ba49d
|
||||
DIST libiec61883-1.2.0.tar.xz 233640 SHA256 d1e02c7e276fac37313a2f8c1c33d7a9e19282ff16f32e72435428ff5121f09e SHA512 817177081a229c6253340e5911369aab746bd657d5b3d6a1ef3cf639cceee667bdb677fb0536163468cc9e719c4e81c6beaf42c93e5a56eb52684964b6dd1e23 WHIRLPOOL ded259537d15ea7b5571552044b9f47c08b06dab68ecccfa46f96fd88457cc5a9de26809516f6dbe27ff463304de49855c2b373001887d17e24251d7cbac261d
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libiec61883/libiec61883-1.1.0.ebuild,v 1.13 2015/01/31 01:50:29 patrick Exp $
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="library for capturing video (dv or mpeg2) over the IEEE 1394 bus"
|
||||
HOMEPAGE="http://www.linux1394.org"
|
||||
#AFAIK, this isn't mirrored on sourceforge like libraw1394.
|
||||
SRC_URI="http://www.linux1394.org/dl/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( LGPL-2.1 GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 sparc x86"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND=">=sys-libs/libraw1394-1.2.1"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd ${S}
|
||||
|
||||
if use examples
|
||||
then
|
||||
sed -i -e "s:noinst_PROGRAMS.*:noinst_PROGRAMS = :g" \
|
||||
-e "s:in_PROGRAMS.*:in_PROGRAMS = plugreport plugctl test-amdtp test-dv test-mpeg2 test-plugs:g" \
|
||||
examples/Makefile.am || die "noinst patching failed"
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install () {
|
||||
make DESTDIR="${D}" install || die "installation failed"
|
||||
dodoc AUTHORS ChangeLog NEWS README
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libiec61883/libiec61883-1.2.0.ebuild,v 1.10 2013/07/21 15:58:38 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit autotools eutils unpacker
|
||||
|
||||
DESCRIPTION="Library for capturing video (dv or mpeg2) over the IEEE 1394 bus"
|
||||
HOMEPAGE="http://dennedy.org/cgi-bin/gitweb.cgi?p=dennedy.org/libiec61883.git"
|
||||
SRC_URI="mirror://kernel/linux/libs/ieee1394/${P}.tar.xz"
|
||||
|
||||
LICENSE="|| ( LGPL-2.1 GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND=">=sys-libs/libraw1394-1.2.1"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
if use examples; then
|
||||
sed -i -e "s:noinst_PROGRAMS.*:noinst_PROGRAMS = :g" \
|
||||
-e "s:in_PROGRAMS.*:in_PROGRAMS = plugreport plugctl test-amdtp test-dv test-mpeg2 test-plugs:g" \
|
||||
examples/Makefile.am || die "noinst patching failed"
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST libjackasyn-0.10.tar.gz 71529 SHA256 2620756cf4e7e38bc700508b822a2e8505bff3ba72c08cc14f31515c98a28a9f
|
||||
DIST libjackasyn-0.13.tar.gz 74041 SHA256 77cf477815a054d508b0bdd34ffcedfe22c091bfbd4367c55c7e33e29089a902
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libjackasyn/libjackasyn-0.10.ebuild,v 1.13 2014/08/10 21:08:55 slyfox Exp $
|
||||
|
||||
IUSE=""
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="An application/library for connecting OSS apps to Jackit"
|
||||
HOMEPAGE="http://gige.xdv.org/soft/libjackasyn"
|
||||
SRC_URI="http://gige.xdv.org/soft/libjackasyn/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 sparc x86"
|
||||
|
||||
DEPEND="media-sound/jack-audio-connection-kit
|
||||
media-libs/libsamplerate"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd ${S}
|
||||
epatch ${FILESDIR}/${P}-destdir.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf || die
|
||||
emake -j1 || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin
|
||||
dodir /usr/$(get_libdir)
|
||||
dodir /usr/include
|
||||
|
||||
make DESTDIR="${D}" libdir="/usr/$(get_libdir)" install || die
|
||||
dodoc AUTHORS CHANGELOG WORKING TODO
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST libkarma-0.1.0.tar.gz 79137 SHA256 eb5d4e8468c92d480f469cd467a7d9a3ee51a76d7f217c0d34e9c7a503984523
|
||||
DIST libkarma-0.1.2.tar.gz 81447 SHA256 27281bab00fe11f0416b5b8728f95bcfa738292976e34511826cca8aa4f84223
|
||||
|
@ -1,152 +0,0 @@
|
||||
diff -ur libkarma-0.1.0.orig/karma-sharp/Makefile libkarma-0.1.0/karma-sharp/Makefile
|
||||
--- libkarma-0.1.0.orig/karma-sharp/Makefile 2007-05-15 19:29:02.000000000 +0300
|
||||
+++ libkarma-0.1.0/karma-sharp/Makefile 2009-05-12 13:58:55.000000000 +0300
|
||||
@@ -26,18 +26,18 @@
|
||||
|
||||
ifdef HAS_MONO
|
||||
install: $(ASSEMBLY) karma-sharp.pc
|
||||
- ../install-sh -d $(DEST)/lib/karma-sharp
|
||||
- ../install-sh -d $(DEST)/lib/pkgconfig
|
||||
- ../install-sh -t $(DEST)/lib/karma-sharp $(ASSEMBLY)
|
||||
- ../install-sh -t $(DEST)/lib/pkgconfig -m 0644 karma-sharp.pc
|
||||
+ ../install-sh -d $(DESTDIR)$(PREFIX)/lib/karma-sharp
|
||||
+ ../install-sh -d $(DESTDIR)$(PREFIX)/lib/pkgconfig
|
||||
+ ../install-sh -t $(DESTDIR)$(PREFIX)/lib/karma-sharp $(ASSEMBLY)
|
||||
+ ../install-sh -t $(DESTDIR)$(PREFIX)/lib/pkgconfig -m 0644 karma-sharp.pc
|
||||
else
|
||||
install:
|
||||
|
||||
endif
|
||||
|
||||
uninstall: FORCE
|
||||
- $(RM) -r $(DEST)/lib/karma-sharp
|
||||
- $(RM) $(DEST)/lib/pkgconfig/karma-sharp.pc
|
||||
+ $(RM) -r $(PREFIX)/lib/karma-sharp
|
||||
+ $(RM) $(PREFIX)/lib/pkgconfig/karma-sharp.pc
|
||||
|
||||
$(ASSEMBLY): $(ASSEMBLY_SOURCES) $(ASSEMBLY_RESOURCES)
|
||||
$(MCS) $(MCS_FLAGS) -unsafe -target:library -out:$@ $(ASSEMBLY_SOURCES) $(ASSEMBLY_RESOURCES:%=-resource:%) -r:Mono.Posix
|
||||
diff -ur libkarma-0.1.0.orig/Makefile libkarma-0.1.0/Makefile
|
||||
--- libkarma-0.1.0.orig/Makefile 2007-05-15 19:29:02.000000000 +0300
|
||||
+++ libkarma-0.1.0/Makefile 2009-05-12 13:57:16.000000000 +0300
|
||||
@@ -1,14 +1,12 @@
|
||||
LK_SRC=src
|
||||
TOOLSDIR=tools
|
||||
-PREFIX=/usr/local
|
||||
+PREFIX=/usr
|
||||
INSTALL?=./install-sh
|
||||
VERSION=0.1.0
|
||||
-DEST=$(PREFIX)
|
||||
SHELL=/bin/bash
|
||||
|
||||
export PREFIX
|
||||
export VERSION
|
||||
-export DEST
|
||||
|
||||
DISTNAME=libkarma-$(VERSION)
|
||||
DISTFILES= $(LK_SRC)/{Jamfile,Makefile,*[ch]} \
|
||||
@@ -16,11 +14,10 @@
|
||||
karma-sharp/{Makefile,karma-sharp.pc.in,Song.cs,Device.cs} \
|
||||
Jamfile Makefile COPYING ChangeLog THANKS INSTALL* TODO \
|
||||
install-sh karma-tools.spec
|
||||
-DOCS=THANKS TODO ChangeLog
|
||||
|
||||
INSTALL_DIR := $(INSTALL) -d -o root -g root -m 0755
|
||||
INSTALL_FILE := $(INSTALL) -o root -g root -m 0644
|
||||
-INSTALL_PROGRAM := $(INSTALL) -o root -g root -m 0755 # -s
|
||||
+INSTALL_PROGRAM := $(INSTALL) -o root -g root -m 0755
|
||||
INSTALL_SCRIPT := $(INSTALL) -o root -g root -m 0755
|
||||
|
||||
all: libkarma tools karma-sharp
|
||||
@@ -31,14 +28,11 @@
|
||||
cd $(LK_SRC) && $(MAKE) install
|
||||
cd karma-sharp && $(MAKE) install
|
||||
cd tools && $(MAKE) install
|
||||
- $(INSTALL_DIR) $(DESTDIR)$(PREFIX)/share/doc/libkarma
|
||||
- $(INSTALL_FILE) $(DOCS) $(DESTDIR)$(PREFIX)/share/doc/libkarma
|
||||
|
||||
uninstall:
|
||||
cd $(LK_SRC) && $(MAKE) uninstall
|
||||
cd karma-sharp && $(MAKE) uninstall
|
||||
cd tools && $(MAKE) uninstall
|
||||
- rm -rf $(DESTDIR)$(PREFIX)/share/doc/libkarma
|
||||
|
||||
libkarma: FORCE
|
||||
cd $(LK_SRC) && $(MAKE)
|
||||
diff -ur libkarma-0.1.0.orig/src/Makefile libkarma-0.1.0/src/Makefile
|
||||
--- libkarma-0.1.0.orig/src/Makefile 2007-05-15 19:29:02.000000000 +0300
|
||||
+++ libkarma-0.1.0/src/Makefile 2009-05-12 14:06:24.000000000 +0300
|
||||
@@ -14,7 +14,7 @@
|
||||
LN_S?=ln -s
|
||||
|
||||
CFLAGS+=-fPIC -D_REENTRANT -Wall -pedantic
|
||||
-CFLAGS+=-ggdb -W -Wchar-subscripts -Wmissing-prototypes
|
||||
+CFLAGS+=-W -Wchar-subscripts -Wmissing-prototypes
|
||||
CFLAGS+=-Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused
|
||||
|
||||
MAJOR?=$(shell VERSION=${VERSION} echo $${VERSION%%\.*})
|
||||
@@ -37,20 +37,20 @@
|
||||
default: all
|
||||
|
||||
install: shared-lib-stamp static-lib-stamp
|
||||
- ../install-sh -m 0755 -d $(DEST)/lib
|
||||
- ../install-sh -m 0755 -d $(DEST)/include
|
||||
- ../install-sh -m 0755 -d $(DEST)/include/libkarma
|
||||
- ../install-sh -m 0644 -t $(DEST)/lib/ $(LIBDIR)/$(TARGET).a
|
||||
- ../install-sh -m 0755 -t $(PREFIX)/lib/ $(LIBDIR)/$(OUT_VERSION)
|
||||
- $(RM) $(PREFIX)/lib/$(OUT_MAJOR)
|
||||
- $(RM) $(PREFIX)/lib/$(OUT_BASE)
|
||||
- $(LN_S) $(OUT_VERSION) $(PREFIX)/lib/$(OUT_MAJOR)
|
||||
- $(LN_S) $(OUT_VERSION) $(PREFIX)/lib/$(OUT_BASE)
|
||||
- ../install-sh -m 0644 -t $(DEST)/include/libkarma/ $(INST_HEADERS)
|
||||
+ ../install-sh -m 0755 -d $(DESTDIR)$(PREFIX)/lib
|
||||
+ ../install-sh -m 0755 -d $(DESTDIR)$(PREFIX)/include
|
||||
+ ../install-sh -m 0755 -d $(DESTDIR)$(PREFIX)/include/libkarma
|
||||
+ ../install-sh -m 0644 -t $(DESTDIR)$(PREFIX)/lib/ $(LIBDIR)/$(TARGET).a
|
||||
+ ../install-sh -m 0755 -t $(DESTDIR)$(PREFIX)/lib/ $(LIBDIR)/$(OUT_VERSION)
|
||||
+ $(RM) $(DESTDIR)$(PREFIX)/lib/$(OUT_MAJOR)
|
||||
+ $(RM) $(DESTDIR)$(PREFIX)/lib/$(OUT_BASE)
|
||||
+ $(LN_S) $(OUT_VERSION) $(DESTDIR)$(PREFIX)/lib/$(OUT_MAJOR)
|
||||
+ $(LN_S) $(OUT_VERSION) $(DESTDIR)$(PREFIX)/lib/$(OUT_BASE)
|
||||
+ ../install-sh -m 0644 -t $(DESTDIR)$(PREFIX)/include/libkarma/ $(INST_HEADERS)
|
||||
|
||||
uninstall:
|
||||
$(RM) $(PREFIX)/lib/$(TARGET).a $(PREFIX)/lib/$(OUT_MAJOR) $(PREFIX)/lib/$(OUT_BASE) $(PREFIX)/lib/$(OUT_VERSION)
|
||||
- $(RM) -r $(DEST)/include/libkarma
|
||||
+ $(RM) -r $(PREFIX)/include/libkarma
|
||||
|
||||
OBJS = $(SRCS:.c=.o)
|
||||
|
||||
diff -ur libkarma-0.1.0.orig/tools/Makefile libkarma-0.1.0/tools/Makefile
|
||||
--- libkarma-0.1.0.orig/tools/Makefile 2007-05-15 19:29:02.000000000 +0300
|
||||
+++ libkarma-0.1.0/tools/Makefile 2009-05-12 13:56:31.000000000 +0300
|
||||
@@ -17,8 +17,8 @@
|
||||
|
||||
SRCS=pathedit.c
|
||||
|
||||
-CC=gcc
|
||||
-CFLAGS+=-Wall -pedantic -g
|
||||
+CC?=gcc
|
||||
+CFLAGS+=-Wall -pedantic
|
||||
LDFLAGS+=-ltag_c -lz -L $(LIBDIR)
|
||||
|
||||
OBJS=$(SRCS:.c=.o)
|
||||
@@ -43,13 +43,13 @@
|
||||
$(CC) $(INCLUDES) $(CFLAGS) $@.c -o $@ -lusb
|
||||
|
||||
install:
|
||||
- ../install-sh -m 0755 -d $(DEST)/bin
|
||||
- ../install-sh -m 0755 -t $(DEST)/bin/ $(TOOLS)
|
||||
- ../install-sh -m 0755 -d $(PREFIX)/share/man/man1
|
||||
- ../install-sh -m 0755 -t $(PREFIX)/share/man/man1 $(MANPAGES)
|
||||
+ ../install-sh -m 0755 -d $(DESTDIR)$(PREFIX)/bin
|
||||
+ ../install-sh -m 0755 -t $(DESTDIR)$(PREFIX)/bin/ $(TOOLS)
|
||||
+ ../install-sh -m 0755 -d $(DESTDIR)$(PREFIX)/share/man/man1
|
||||
+ ../install-sh -m 0755 -t $(DESTDIR)$(PREFIX)/share/man/man1 $(MANPAGES)
|
||||
|
||||
uninstall:
|
||||
- cd $(DEST)/bin && $(RM) $(TOOLS)
|
||||
+ cd $(PREFIX)/bin && $(RM) $(TOOLS)
|
||||
|
||||
.PHONY: clean
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libkarma/libkarma-0.1.0-r1.ebuild,v 1.5 2011/03/20 18:13:56 ssuominen Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils mono toolchain-funcs
|
||||
|
||||
DESCRIPTION="Support library for using Rio devices with mtp"
|
||||
HOMEPAGE="http://www.freakysoft.de/html/libkarma/"
|
||||
SRC_URI="http://www.freakysoft.de/html/libkarma/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/libiconv
|
||||
media-libs/taglib
|
||||
dev-lang/mono
|
||||
virtual/libusb:0"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-destdir.patch
|
||||
|
||||
# Make this respect LDFLAGS, bug #336151
|
||||
epatch "${FILESDIR}"/${P}-ldflags.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR CC RANLIB
|
||||
emake all || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc THANKS TODO
|
||||
mono_multilib_comply
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST liblqr-1-0.4.1.tar.bz2 347474 SHA256 9fda316804a4fa0a07184483a4b488611963340610615ea9cc25f6f31407e909 SHA512 1f923a1745c30c3e8033602882bbab4160464192646779b5a7c1adff80253f21e6f4e2a516ad3cee061d5c62fb57c606691fb2ed3d9033c3c610e8ed3a6f6c66 WHIRLPOOL 4af2bdead78f68557c3601e94e91088e2fabc712c97e2b24fa9f1a152a909b006e3c081b3d643cac4d52d386edeeeff91f5ff12099f72a678c94c03c726fcbf0
|
||||
DIST liblqr-1-0.4.2.tar.bz2 344739 SHA256 173a822efd207d72cda7d7f4e951c5000f31b10209366ff7f0f5972f7f9ff137 SHA512 57d9ed67d5a11c970262263a34b6797576088e14f2ccb01b393eff55bfd22c8bb2b2189e3ed5ff6c187f709c556225fc1fb1038bd0d7e0c03d8839ef0ce998a3 WHIRLPOOL 439720dcbc6b19e49d57151bc8c60392da3ceeb31a6edfaee0c2bb3f9bba89a3a89903f79b06a5f5f2a19377d5548506bcefa3d9b5497d651672c03c86d71cb6
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/liblqr/liblqr-0.4.1.ebuild,v 1.18 2013/11/15 11:30:48 pinkbyte Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
DESCRIPTION="An easy to use C/C++ seam carving library"
|
||||
HOMEPAGE="http://liblqr.wikidot.com/"
|
||||
SRC_URI="http://liblqr.wikidot.com/local--files/en:download-page/${PN}-1-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( GPL-3 LGPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="dev-libs/glib:2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=$WORKDIR/${PN}-1-${PV}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable doc install-man)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmp3splt/libmp3splt-0.5.9.ebuild,v 1.6 2014/08/10 21:09:44 slyfox Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="a library for mp3splt to split mp3 and ogg files without decoding"
|
||||
HOMEPAGE="http://mp3splt.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/mp3splt/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~hppa ~ppc ~ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="media-libs/libmad
|
||||
media-libs/libvorbis
|
||||
media-libs/libogg
|
||||
media-libs/libid3tag"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/findutils"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog LIMITS NEWS README TODO || die
|
||||
find "${D}"/usr -name '*.la' -delete
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmp3splt/libmp3splt-0.7.2.ebuild,v 1.3 2014/08/10 21:09:44 slyfox Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit versionator autotools eutils multilib
|
||||
|
||||
DESCRIPTION="a library for mp3splt to split mp3 and ogg files without decoding"
|
||||
HOMEPAGE="http://mp3splt.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN:3}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="doc pcre"
|
||||
|
||||
RDEPEND="media-libs/libmad
|
||||
media-libs/libvorbis
|
||||
media-libs/libogg
|
||||
media-libs/libid3tag
|
||||
pcre? ( dev-libs/libpcre )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen media-gfx/graphviz )
|
||||
sys-apps/findutils"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.7-libltdl.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
--disable-static \
|
||||
$(use_enable pcre) \
|
||||
$(use_enable doc doxygen_doc) \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--disable-cutter # TODO package cutter <http://cutter.sourceforge.net/>
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog LIMITS NEWS README TODO || die
|
||||
find "${D}"/usr -name '*.la' -delete
|
||||
}
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/libmpeg2-0.5.1-r1.ebuild,v 1.8 2012/05/17 14:32:33 aballier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools eutils libtool
|
||||
|
||||
DESCRIPTION="library for decoding mpeg-2 and mpeg-1 video"
|
||||
HOMEPAGE="http://libmpeg2.sourceforge.net/"
|
||||
SRC_URI="http://libmpeg2.sourceforge.net/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ppc ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
IUSE="sdl static-libs X"
|
||||
|
||||
RDEPEND="sdl? ( media-libs/libsdl )
|
||||
X? ( x11-libs/libXv
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libXt )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xextproto )"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README TODO )
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-arm-private-symbols.patch \
|
||||
"${FILESDIR}"/${P}-global-symbol-test.patch \
|
||||
"${FILESDIR}"/${P}-armv4l.patch
|
||||
elibtoolize
|
||||
### PowerPC fix for altivec
|
||||
epatch "${FILESDIR}"/${P}-altivec.patch
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--enable-shared \
|
||||
$(use_enable sdl) \
|
||||
$(use_with X x)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake OPT_CFLAGS="${CFLAGS}" \
|
||||
MPEG2DEC_CFLAGS="${CFLAGS}" \
|
||||
LIBMPEG2_CFLAGS=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/libmpeg2-0.5.1.ebuild,v 1.9 2009/02/18 19:03:52 armin76 Exp $
|
||||
|
||||
inherit eutils libtool
|
||||
|
||||
DESCRIPTION="library for decoding mpeg-2 and mpeg-1 video"
|
||||
HOMEPAGE="http://libmpeg2.sourceforge.net/"
|
||||
SRC_URI="http://libmpeg2.sourceforge.net/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="sdl X"
|
||||
|
||||
RDEPEND="sdl? ( media-libs/libsdl )
|
||||
X? (
|
||||
x11-libs/libXv
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libXt
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xextproto )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# Fix problem that the test for external symbols
|
||||
# uses nm which also displays hidden symbols. Bug #130831
|
||||
# Breaks tests on other platforms: bug #255151
|
||||
# epatch "${FILESDIR}"/${PN}-0.4.1-use-readelf-for-test.patch
|
||||
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
--enable-shared \
|
||||
--disable-dependency-tracking \
|
||||
$(use_enable sdl) \
|
||||
$(use_with X x)
|
||||
emake \
|
||||
OPT_CFLAGS="${CFLAGS}" \
|
||||
MPEG2DEC_CFLAGS="${CFLAGS}" \
|
||||
LIBMPEG2_CFLAGS="" \
|
||||
|| die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST libmtp-1.1.6.tar.gz 733519 SHA256 3a1c1c83af91de4052eb54feb795c141b4c04a252e0031954ebbf6175970cb0a SHA512 fe6d9bc0621d6ad2325164585ec5f3e20824add5ee763d6d14ba7dbea6d2aacd75afa450627f3a03691c33ffb92675abebce64c3f8e32e8c2db511e814207ab3 WHIRLPOOL 176f2d64241735f2de33da4d84142debb2343aeb3abbd27a2af8e2a1815aa239c5f4ed9f38316bd2a8deb9d8faad4e293a5abae46e54d9137bfe8fcba279b371
|
||||
DIST libmtp-1.1.8.tar.gz 757109 SHA256 3f9e87536aa40e560d0c153a505e38096b1df5ea15fad783691e9a8ca4dd2282 SHA512 34952fbe1ae1dcee456f4fc0d6208cf18e3ced22891bb748350927f06ee433f806e8339d6275085e70b6fd09a43eb0f18ac617e564c8d8162671245ecf0b8904 WHIRLPOOL 5ab0df9b566b7fe3193b0a09a0792eb2634d0775a8ee9a9358d13b2aeba4c82816f5ecb5e5d7355ed338d6171259b7a5c9802b4bc8ea2b0de3d4bbbd1aa8050c
|
||||
DIST libmtp-1.1.9.tar.gz 760593 SHA256 23f1d3c0b54107388bf2824d56415e9e087c980c86e5d179865652c022b6b189 SHA512 6be9f14602b05830ec01defaeb0f237ac4d021f76f4003d7178eda00d8bf86d7fbbeba0053dc111d2ab9eb32f1603c2dc4f2bc128f4cbe4819228486b9b85513 WHIRLPOOL d357c949907b69f3a40291a79e05cc75790d86abb7fa0ea787c5ef0cd666b7f9888f9441f9893824520345d25799142f70c0ba0b773267fb9b374bb0d8b833e6
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue