some fixes and cruft removal
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
AUX calc_addrs-pathfix.patch 385 SHA256 66393e32c40863066ca9be6176cfc6edf6aff1f844eab3b06a0a46c081b343c1 SHA512 5829b033163c53ddc4ec072a4f69f68ef31e1c2512f60c44a583bea78c851bd7f09684556ef7f24d89282110852e194395747db13b20a032431be40d002a51b9 WHIRLPOOL 7fc7ba51b927aea6b3b21c35f0ae4412bfda34dbe91753dd8ff69ea4c409fbcba24624bd36821decb897cc2b5a0851cc6eb29156714a7b36e0ac3fc26f38ecaa
|
||||
EBUILD vanitygen-plus-9999.ebuild 742 SHA256 5ad7b3bd581b2cf88a96d2719f1d0ec4cb32c147428e8978456e771d85577e7b SHA512 a4a4b254a0289dacc4bee0014025f5b471029276558ee3aabad62b0118d6be27566f73fdb49c2dacb367e40b10b4bde879de78ba21894954447b286fb5bccdc0 WHIRLPOOL 31c345e6ccd8320cb0f97ecc05f5a10801be6e262dba00eee958a0da4b4547c99b34c511f51f7a8947bcc9196c1eb2c861f92fd489d3b50f92ed8dc9b115ae7a
|
||||
EBUILD vanitygen-plus-9999.ebuild 712 SHA256 b044c137338d4bec0e8bd48c2f9c493344796c086142d17b2734effdd87ef86a SHA512 675c049ab27f18e70a0a6440f82db393c362fb965656379f121fd5f2c65bd6907b0f115e44d2e1002161eb85c0743377699f523a55905a8251d7700001aa335d WHIRLPOOL 5f87bc144159785a21c18fe52b9033ab6df27568146cb720018f868fa716deaa415f181978fef8ee7f04394fe0277126cb046c238fd7475b95b84c62e1258ce2
|
||||
|
||||
@@ -6,7 +6,6 @@ inherit eutils git-r3
|
||||
|
||||
DESCRIPTION="cryptocurrency vanity-address generator"
|
||||
HOMEPAGE="https://github.com/exploitagency/vanitygen-plus"
|
||||
EGIT_PROJECT="vanitygen-plus"
|
||||
EGIT_REPO_URI="https://github.com/exploitagency/vanitygen-plus"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
EBUILD vanitygen-9999.ebuild 661 SHA256 922618f08de2624367d9fe2702a7ac68e7d8b62bc9b49b15c2ac4900867e230e SHA512 86a8800d07a05195adf06640005097dc4d0134813432a89dc9c03bba29c706e3ac955d72ec9c1325f205c287a79bb7a28ead6c24beedd9beab04d2482a84060d WHIRLPOOL f5f50ffdf19af68196cc7262dd12227f67f85cfd649ea02cb9e3c16c954bb0333ca963ba0f09d5c09cdae6d0e4d05ef4cc09a6c5bc78aa66882b0e3383f34140
|
||||
@@ -1,41 +0,0 @@
|
||||
# $Header: $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils git-r3
|
||||
|
||||
DESCRIPTION="cryptocurrency vanity-address generator"
|
||||
HOMEPAGE="https://gitlab.com/salfter/vanitygen"
|
||||
EGIT_PROJECT="vanitygen"
|
||||
EGIT_REPO_URI="https://gitlab.com/salfter/vanitygen.git"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="opencl"
|
||||
|
||||
DEPEND="opencl? ( virtual/opencl )
|
||||
>=dev-libs/openssl-1.0.0d
|
||||
dev-libs/libpcre
|
||||
!app-crypt/vanitygen-plus"
|
||||
|
||||
src_compile()
|
||||
{
|
||||
make vanitygen
|
||||
if use opencl
|
||||
then
|
||||
make oclvanitygen
|
||||
fi
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
dobin vanitygen
|
||||
if use opencl
|
||||
then
|
||||
dobin oclvanitygen
|
||||
insinto /usr/lib/oclvanitygen
|
||||
newins calc_addrs.cl calc_addrs.cl
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
EBUILD raspi-config-9999.ebuild 681 SHA256 812312047735d1c423a97682ac88c92019d0cbf1cccd5a2e11968ac80d013d1f SHA512 fe1fec3154832663c1f23a22be5fdb8fd3fde0e66fb978924edc14358e07d60fa55c9880a7ba71ebe37086fe389931e5267207e42ea2dabe44e1cec1363ed80d WHIRLPOOL df638cd01d4b9dcb7f33209d589109453e6edfcb3187e513cb52b53509408afab785034a16926e5b2a369de12d6130980b59d9ba1186546b1caa436e60f3a5a1
|
||||
@@ -1,28 +0,0 @@
|
||||
EAPI=5
|
||||
inherit eutils git-r3
|
||||
DESCRIPTION="Raspberry Pi config tool"
|
||||
HOMEPAGE="https://github.com/asb/raspi-config"
|
||||
SRC_URI=""
|
||||
EGIT_PROJECT="raspi-config"
|
||||
EGIT_REPO_URI="git://github.com/asb/raspi-config https://github.com/asb/raspi-config"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
RDEPEND="dev-libs/newt
|
||||
sys-block/parted
|
||||
>=dev-lang/lua-5.1
|
||||
app-misc/triggerhappy"
|
||||
|
||||
src_install()
|
||||
{
|
||||
cd ${S}
|
||||
dosbin raspi-config
|
||||
}
|
||||
|
||||
pkg_postinst()
|
||||
{
|
||||
ewarn "Since raspi-config was written for Raspbian, not all functionality"
|
||||
ewarn "might work. Functions that edit /boot/config.txt (such as to control"
|
||||
ewarn "overclocking, I2C, and SPI) are known to work. Others are untested."
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
AUX sharedir.patch 1429 SHA256 1180ef0cfc23f0a5152abbed41eba82e39c5b17320ded88d62b50fb3c059d357 SHA512 0931d617d6c6f29af917e96ad641d6bdfc0b284ccf044f0a85cfbf4907a3b67a42f1211aefeb2fa56a674150c99ef8da33f6b8cf97569b6e1158506e3d973ff5 WHIRLPOOL 3e5dd186d02d8410552abe878e96a090658cf5dfb1f94bd470b5eb24d669508cf5208800079594edc66c43f1347506640c2bb183917f596f1ceb424aa3e9e9f3
|
||||
EBUILD ocropy-9999.ebuild 896 SHA256 42d6b1e7b4f390d94aa74be33197ca8ad10391aa166be32e602a275b93f05422 SHA512 77b17104894bbf7ef55906afea7763f3474f0e145e83a5e28c87e298b53c3bd9e3781375f18fc57406bb4f2e9e8da81ed11f0b9d466da9b4a0f07df6bc4ace6c WHIRLPOOL b92cf63262abda78bffc8fe5567003c1781c03bbd92f2ee15b94c02eb2d4956409a406ede1a5b540b4538a41b7395918fd0ca18d5a17fcba9fbb069a2c85c30e
|
||||
@@ -1,43 +0,0 @@
|
||||
--- ocrolib/default.py~ 2015-03-26 12:47:56.000000000 -0700
|
||||
+++ ocrolib/default.py 2015-03-26 12:59:01.461182264 -0700
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
import os
|
||||
|
||||
-modeldir = "/usr/local/share/ocropus/"
|
||||
+modeldir = "/usr/share/ocropus/"
|
||||
|
||||
def getlocal():
|
||||
"""Get the path to the local directory where OCRopus data is
|
||||
installed. Checks OCROPUS_DATA in the environment first,
|
||||
- otherwise defaults to /usr/local/share/ocropus."""
|
||||
+ otherwise defaults to /usr/share/ocropus."""
|
||||
local = os.getenv("OCROPUS_DATA") or modeldir
|
||||
return local
|
||||
|
||||
--- ocrolib/common.py~ 2015-03-26 12:47:56.000000000 -0700
|
||||
+++ ocrolib/common.py 2015-03-26 12:59:01.321178885 -0700
|
||||
@@ -617,7 +617,7 @@
|
||||
if os.path.exists(path) and os.path.isdir(path): return path
|
||||
path = local+tail
|
||||
if os.path.exists(path) and os.path.isdir(path): return path
|
||||
- raise FileNotFound("file '"+path+"' not found in . or /usr/local/share/ocropus/")
|
||||
+ raise FileNotFound("file '"+path+"' not found in . or /usr/share/ocropus/")
|
||||
|
||||
@checks(str)
|
||||
def allsplitext(path):
|
||||
@@ -670,10 +670,10 @@
|
||||
"./models",
|
||||
"./data",
|
||||
"./gui",
|
||||
- "/usr/local/share/ocropus/models",
|
||||
- "/usr/local/share/ocropus/data",
|
||||
- "/usr/local/share/ocropus/gui",
|
||||
- "/usr/local/share/ocropus",
|
||||
+ "/usr/share/ocropus/models",
|
||||
+ "/usr/share/ocropus/data",
|
||||
+ "/usr/share/ocropus/gui",
|
||||
+ "/usr/share/ocropus",
|
||||
]
|
||||
|
||||
def ocropus_find_file(fname,gz=1):
|
||||
@@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
EGIT_PROJECT="ocropy"
|
||||
EGIT_REPO_URI="https://github.com/tmbdev/ocropy"
|
||||
inherit git-r3 eutils distutils-r1
|
||||
|
||||
DESCRIPTION="open-source document analysis and OCR"
|
||||
HOMEPAGE="https://github.com/tmbdev/ocropy"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
DEPEND="dev-python/pycurl
|
||||
sci-libs/scipy
|
||||
dev-python/matplotlib
|
||||
dev-python/pytables
|
||||
www-client/firefox
|
||||
dev-python/pythonmagick
|
||||
media-libs/opencv[python]
|
||||
dev-python/beautifulsoup:4"
|
||||
|
||||
src_prepare()
|
||||
{
|
||||
cd ${WORKDIR}/${P} || die
|
||||
epatch ${FILESDIR}/sharedir.patch || die
|
||||
|
||||
# fetch models from source
|
||||
einfo "Fetching OCR models ..."
|
||||
cd ${WORKDIR}/${P}/models || die
|
||||
wget http://www.tmbdev.net/en-default.pyrnn.gz || die
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
AUX saned 150 SHA256 d18856d6dd26fac11988fea5217c8616686ad3c0c024ad5437efbf0fd24984f5 SHA512 26f3d66c6b1e75d87d7d430518aa878c77d5ab8d76a45847cef3ff15566341938eedf46c50d0fa8cdeef828df9cddefdd6fdd767c5de30d3aa7d64ed1911d910 WHIRLPOOL 5bdd707daeba740b980ce6dd51096716eec2c2939681f6abd9e7f73b50d8d384a68a07dcc11e9295cd123cc5d2a53d02def52133a559c3e33d63612028d2aac5
|
||||
AUX saned.confd 76 SHA256 197e44ba1f438a18f5f7d9f5858feb19c1ece4286d82a5e63caf9be5b964aa76 SHA512 8f4a99ef24c19b3a7213b3d25ea16f5bca8623735cf25d21e3a706e9e0135ac8cce5d0b8fb8728845977f41dcefe6bd858076d755515fc91b00e05ee5817d751 WHIRLPOOL ede920bf5eb1ee59263296a2ccce1ab2da2b04669c2f8a58de1fc4fa76cc1eee501290eb4fdaece464bc184cc0cfb17d100e9309a33d79c06142a3f03c91b837
|
||||
AUX saned.initd 412 SHA256 f1dc74e11977c5ec881401bf6a3b19b1296b5e1fbaa047ea05e802eb81a98cdd SHA512 b9bc986e21ba8c6ba7d7b877bf358bd8c35b3369e9541a3bf1f3bb910f4ef17688e321d7a0d496c8f55f1a589cadfcd266a9975b4a7378f2bac2406df53b60bf WHIRLPOOL 02d54f08f7ee410ef63a1525f5435b3eb0e21cffd83f41526c401e0889c008f6d53325842a79d885d114f5bece7f8403918e5f290d6a79278858171946d620e0
|
||||
EBUILD sane-backends-9999.ebuild 7410 SHA256 ba6527c4d7c272160732201839ca76d8dbf57a723b979a9cb7f2805272280461 SHA512 66bda43e77eab80cd41a96cac35422afa6b3e7932999cb7a2a4f1fe7bce39139a1fe13c52a62bc4a21fe4e45411a5c44397d957594044f8b7fbdbaee4c77cecc WHIRLPOOL c048015979b6f9b79846bd4c3e3906f9e3a1415e376d87d272804f0ab7c94bf31c6ed3a92e58a8a0a38eb7c6c82f1c08c6ea0e1e95c6cb366a5bf6c0ded9a40b
|
||||
@@ -1,10 +0,0 @@
|
||||
service sane-port
|
||||
{
|
||||
socket_type = stream
|
||||
server = /usr/sbin/saned
|
||||
protocol = tcp
|
||||
user = saned
|
||||
group = scanner
|
||||
wait = no
|
||||
disable = yes
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
# The user saned should drop its privileges to after startup
|
||||
#SANED_USER=""
|
||||
@@ -1,12 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/files/saned.initd,v 1.1 2013/03/15 08:15:52 phosphan Exp $
|
||||
|
||||
pidfile="/var/run/saned/saned.pid"
|
||||
command="/usr/sbin/saned"
|
||||
command_args="-a ${SANED_USER:-root}"
|
||||
|
||||
start_pre() {
|
||||
checkpath -d -o ${SANED_USER:-root} ${pidfile%/*}
|
||||
}
|
||||
@@ -1,322 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.24-r5.ebuild,v 1.12 2015/05/15 09:23:57 vapier Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit git-r3 autotools eutils flag-o-matic multilib multilib-minimal udev user toolchain-funcs
|
||||
|
||||
# gphoto and v4l are handled by their usual USE flags.
|
||||
# The pint backend was disabled because I could not get it to compile.
|
||||
IUSE_SANE_BACKENDS="
|
||||
abaton
|
||||
agfafocus
|
||||
apple
|
||||
artec
|
||||
artec_eplus48u
|
||||
as6e
|
||||
avision
|
||||
bh
|
||||
canon
|
||||
canon630u
|
||||
canon_dr
|
||||
canon_pp
|
||||
cardscan
|
||||
coolscan
|
||||
coolscan2
|
||||
coolscan3
|
||||
dc210
|
||||
dc240
|
||||
dc25
|
||||
dell1600n_net
|
||||
dmc
|
||||
epjitsu
|
||||
epson
|
||||
epson2
|
||||
fujitsu
|
||||
genesys
|
||||
gt68xx
|
||||
hp
|
||||
hp3500
|
||||
hp3900
|
||||
hp4200
|
||||
hp5400
|
||||
hp5590
|
||||
hpljm1005
|
||||
hpsj5s
|
||||
hs2p
|
||||
ibm
|
||||
kodak
|
||||
kodakaio
|
||||
kvs1025
|
||||
kvs20xx
|
||||
kvs40xx
|
||||
leo
|
||||
lexmark
|
||||
ma1509
|
||||
magicolor
|
||||
matsushita
|
||||
microtek
|
||||
microtek2
|
||||
mustek
|
||||
mustek_pp
|
||||
mustek_usb
|
||||
mustek_usb2
|
||||
nec
|
||||
net
|
||||
niash
|
||||
p5
|
||||
pie
|
||||
pixma
|
||||
plustek
|
||||
plustek_pp
|
||||
pnm
|
||||
qcam
|
||||
ricoh
|
||||
rts8891
|
||||
s9036
|
||||
sceptre
|
||||
sharp
|
||||
sm3600
|
||||
sm3840
|
||||
snapscan
|
||||
sp15c
|
||||
st400
|
||||
stv680
|
||||
tamarack
|
||||
teco1
|
||||
teco2
|
||||
teco3
|
||||
test
|
||||
u12
|
||||
umax
|
||||
umax1220u
|
||||
umax_pp
|
||||
xerox_mfp"
|
||||
|
||||
IUSE="avahi doc gphoto2 ipv6 threads usb v4l xinetd snmp systemd"
|
||||
|
||||
for backend in ${IUSE_SANE_BACKENDS}; do
|
||||
case ${backend} in
|
||||
# Disable backends that require parallel ports as no one has those anymore.
|
||||
canon_pp|hpsj5s|mustek_pp|\
|
||||
pnm)
|
||||
IUSE+=" -sane_backends_${backend}"
|
||||
;;
|
||||
mustek_usb2|kvs40xx)
|
||||
IUSE+=" sane_backends_${backend}"
|
||||
;;
|
||||
*)
|
||||
IUSE+=" +sane_backends_${backend}"
|
||||
esac
|
||||
done
|
||||
|
||||
REQUIRED_USE="
|
||||
sane_backends_mustek_usb2? ( threads )
|
||||
sane_backends_kvs40xx? ( threads )
|
||||
"
|
||||
|
||||
DESCRIPTION="Scanner Access Now Easy - Backends"
|
||||
HOMEPAGE="http://www.sane-project.org/"
|
||||
EGIT_REPO_URI="https://anonscm.debian.org/git/collab-maint/sane-backends.git git://anonscm.debian.org/collab-maint/sane-backends.git"
|
||||
|
||||
LICENSE="GPL-2 public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
|
||||
RDEPEND="
|
||||
sane_backends_dc210? ( >=virtual/jpeg-0-r2[${MULTILIB_USEDEP}] )
|
||||
sane_backends_dc240? ( >=virtual/jpeg-0-r2[${MULTILIB_USEDEP}] )
|
||||
sane_backends_dell1600n_net? ( >=virtual/jpeg-0-r2[${MULTILIB_USEDEP}]
|
||||
>=media-libs/tiff-3.9.7-r1[${MULTILIB_USEDEP}] )
|
||||
avahi? ( >=net-dns/avahi-0.6.31-r2[${MULTILIB_USEDEP}] )
|
||||
sane_backends_canon_pp? ( >=sys-libs/libieee1284-0.2.11-r3[${MULTILIB_USEDEP}] )
|
||||
sane_backends_hpsj5s? ( >=sys-libs/libieee1284-0.2.11-r3[${MULTILIB_USEDEP}] )
|
||||
sane_backends_mustek_pp? ( >=sys-libs/libieee1284-0.2.11-r3[${MULTILIB_USEDEP}] )
|
||||
usb? ( >=virtual/libusb-1-r1:1[${MULTILIB_USEDEP}] )
|
||||
gphoto2? (
|
||||
>=media-libs/libgphoto2-2.5.3.1:=[${MULTILIB_USEDEP}]
|
||||
>=virtual/jpeg-0-r2[${MULTILIB_USEDEP}]
|
||||
)
|
||||
v4l? ( >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}] )
|
||||
xinetd? ( sys-apps/xinetd )
|
||||
snmp? ( net-analyzer/net-snmp )
|
||||
systemd? ( sys-apps/systemd:0= )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
v4l? ( sys-kernel/linux-headers )
|
||||
doc? (
|
||||
virtual/latex-base
|
||||
dev-texlive/texlive-latexextra
|
||||
)
|
||||
>=sys-apps/sed-4
|
||||
|
||||
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
|
||||
|
||||
# We now use new syntax construct (SUBSYSTEMS!="usb|usb_device)
|
||||
RDEPEND="${RDEPEND}
|
||||
!<sys-fs/udev-114
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-medialibs-20140508
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)]
|
||||
)"
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/sane-config
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup scanner
|
||||
enewuser saned -1 -1 -1 scanner
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
#cat >> backend/dll.conf.in <<-EOF
|
||||
## Add support for the HP-specific backend. Needs net-print/hplip installed.
|
||||
#hpaio
|
||||
## Add support for the Epson-specific backend. Needs media-gfx/iscan installed.
|
||||
#epkowa
|
||||
#EOF
|
||||
# Fix for "make check".
|
||||
#sed -i -e 's/sane-backends 1.0.24git/sane-backends 1.0.24/' testsuite/tools/data/html*
|
||||
AT_NOELIBTOOLIZE=yes eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# the blank is intended - an empty string would result in building ALL backends.
|
||||
local BACKENDS=" "
|
||||
|
||||
use gphoto2 && BACKENDS="gphoto2"
|
||||
use v4l && BACKENDS="${BACKENDS} v4l"
|
||||
for backend in ${IUSE_SANE_BACKENDS}; do
|
||||
if use "sane_backends_${backend}" && [ ${backend} != pnm ]; then
|
||||
BACKENDS="${BACKENDS} ${backend}"
|
||||
fi
|
||||
done
|
||||
|
||||
local myconf=(
|
||||
$(use_enable usb libusb_1_0)
|
||||
$(multilib_native_use_with snmp)
|
||||
)
|
||||
|
||||
# you can only enable this backend, not disable it...
|
||||
if use sane_backends_pnm; then
|
||||
myconf+=( --enable-pnm-backend )
|
||||
fi
|
||||
if ! use doc; then
|
||||
myconf+=( --disable-latex )
|
||||
fi
|
||||
if use sane_backends_mustek_pp; then
|
||||
myconf+=( --enable-parport-directio )
|
||||
fi
|
||||
if ! { use sane_backends_canon_pp || use sane_backends_hpsj5s || use sane_backends_mustek_pp; }; then
|
||||
myconf+=( sane_cv_use_libieee1284=no )
|
||||
fi
|
||||
# if LINGUAS is set, just use the listed and supported localizations.
|
||||
if [ "${LINGUAS-NoLocalesSet}" != NoLocalesSet ]; then
|
||||
mkdir -p po || die
|
||||
echo > po/LINGUAS
|
||||
for lang in ${LINGUAS}; do
|
||||
if [ -a "${S}"/po/${lang}.po ]; then
|
||||
echo ${lang} >> po/LINGUAS
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# relative path must be used for tests to work properly
|
||||
ECONF_SOURCE=../${P} \
|
||||
SANEI_JPEG="sanei_jpeg.o" SANEI_JPEG_LO="sanei_jpeg.lo" \
|
||||
BACKENDS="${BACKENDS}" \
|
||||
econf \
|
||||
$(use_with gphoto2) \
|
||||
$(multilib_native_use_with systemd) \
|
||||
$(use_with v4l) \
|
||||
$(use_enable avahi) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable threads pthread) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake VARTEXFONTS="${T}/fonts"
|
||||
|
||||
if use usb; then
|
||||
cd tools/hotplug || die
|
||||
sed -i -e '/^$/d' libsane.usermap || die
|
||||
fi
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
# The build system sucks and doesn't handle this properly.
|
||||
# https://alioth.debian.org/tracker/index.php?func=detail&aid=314236&group_id=30186&atid=410366
|
||||
tc-export_build_env BUILD_CC
|
||||
cd "${BUILD_DIR}"/tools || die
|
||||
${BUILD_CC} ${BUILD_CPPFLAGS} ${BUILD_CFLAGS} -I. -I../include -I"${S}"/include \
|
||||
"${S}"/sanei/sanei_config.c "${S}"/sanei/sanei_constrain_value.c \
|
||||
"${S}"/sanei/sanei_init_debug.c "${S}"/tools/sane-desc.c -o sane-desc || die
|
||||
local dirs=( hal hotplug hotplug-ng udev )
|
||||
local targets=(
|
||||
hal/libsane.fdi
|
||||
hotplug/libsane.usermap
|
||||
hotplug-ng/libsane.db
|
||||
udev/libsane.rules
|
||||
)
|
||||
mkdir -p "${dirs[@]}" || die
|
||||
emake "${targets[@]}"
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake INSTALL_LOCKPATH="" DESTDIR="${D}" install \
|
||||
docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
if use usb; then
|
||||
insinto /etc/hotplug/usb
|
||||
doins tools/hotplug/libsane.usermap
|
||||
fi
|
||||
|
||||
udev_newrules tools/udev/libsane.rules 41-libsane.rules
|
||||
insinto "/usr/share/pkgconfig"
|
||||
doins tools/sane-backends.pc
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
keepdir /var/lib/lock/sane
|
||||
fowners root:scanner /var/lib/lock/sane
|
||||
fperms g+w /var/lib/lock/sane
|
||||
dodir /etc/env.d
|
||||
|
||||
if use usb; then
|
||||
exeinto /etc/hotplug/usb
|
||||
doexe tools/hotplug/libusbscanner
|
||||
newdoc tools/hotplug/README README.hotplug
|
||||
fi
|
||||
|
||||
dodoc NEWS AUTHORS ChangeLog* PROBLEMS README README.linux
|
||||
prune_libtool_files --all
|
||||
if use xinetd; then
|
||||
insinto /etc/xinetd.d
|
||||
doins "${FILESDIR}"/saned
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/saned.initd saned
|
||||
newconfd "${FILESDIR}"/saned.confd saned
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use xinetd; then
|
||||
elog "If you want remote clients to connect, edit"
|
||||
elog "/etc/sane.d/saned.conf and /etc/hosts.allow"
|
||||
fi
|
||||
|
||||
elog "If you are using a USB scanner, add all users who want"
|
||||
elog "to access your scanner to the \"scanner\" group."
|
||||
}
|
||||
@@ -1 +1,3 @@
|
||||
EBUILD vobsub2srt-9999.ebuild 598 SHA256 096bc053deafc70694a4eaf9a92b0c5f7021fd9e8dd9a6140dffe508d8d38e6e SHA512 e7d07b3655674f005a3fdef5f2dbe97a350109a3ff453547d557c8d349fc8ee62b471a08c31b579c34fa33aea6ea6def2f9a6449c85804980b87abdf30e5acae WHIRLPOOL 7051f7e7628476705d9e58d75851f58434c335647b80f69a33ae90fa0a6beb186364c8f96f0f1a5a1a5e7012a6b5b7c3bb37e24b4e7bd687ec08371f1a98ebb1
|
||||
AUX cppflags.patch 600 SHA256 f6d8273c84a7d085b5c8d9b1f0b1272e0fe6615882db7c1ca76dfb21160ea3fc SHA512 923bb4adc875b98958805f0b1417e7709c4674c2f28f5f12eb14f9d7c158a8ab1445ec772872577d99add7db926c7a8beb7100035b518d238e6c8b180ccebe8e WHIRLPOOL 15a81f10a34fcefde80db464f5717b64c2cf1c92a35a3e9049788a0ca2653e5263f26ec04f2bf289f1d9d07a51178708c0065b8a3193b0a0c58e97f93e8b3b77
|
||||
DIST vobsub2srt-1.0_alpha7.tar.gz 66259 SHA256 5e2ba6b6003575b1aa8e46b38d30af0188026e1ed946816e23b9c6adfc727ecf SHA512 49f1a0566910a385deef650d9210c98534f001d7aa0f266e18cf39028ab8fa9d55e7d305f4c1dd38c8a209f7917491b74f6191d2ab1b42b48046d142e7449e30 WHIRLPOOL 94c2e5848ace1ba048527a12e0ad315a98f0ddc17826ff0c336af69b4d60915a808d2e62777b38ad31bfd0272450b385e378f6d0140c293725436c1ad775c768
|
||||
EBUILD vobsub2srt-1.0_alpha7.ebuild 685 SHA256 19778ac2aae7d7a96e515d4f1b8963699a920ae41c4d27b895468c0ead837824 SHA512 4e3f75457b08cecc432736d76a49b724b56c74122fffc6040e8032179813997fd93be98dadb3b37d506311d599f07b4e65e174b177bee5022f75467da7ff598b WHIRLPOOL 1599c2c5e146bf21782d936f71c367b0be3c9d076a4df471c054d37b99fff8d536dc82c825a4eacb08aa7055a9742cfd3dc6f1911dccadc7acca53c1c6984b5f
|
||||
|
||||
12
media-video/vobsub2srt/files/cppflags.patch
Normal file
12
media-video/vobsub2srt/files/cppflags.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
https://github.com/ruediger/VobSub2SRT/issues/67#issuecomment-363196505
|
||||
--- CMakeLists.txt 2015-08-30 10:45:47.000000000 -0700
|
||||
+++ CMakeLists.txt 2020-02-10 15:24:27.673022371 -0800
|
||||
@@ -54,7 +54,7 @@
|
||||
include(CheckCXXSourceRuns)
|
||||
|
||||
set(CMAKE_C_FLAGS "-std=gnu99")
|
||||
-set(CMAKE_CXX_FLAGS "-ansi -pedantic -Wall -Wextra -Wno-long-long")
|
||||
+set(CMAKE_CXX_FLAGS "-ansi -pedantic -Wall -Wextra -Wno-long-long -std=gnu++11")
|
||||
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -mtune=native -march=native -DNDEBUG -fomit-frame-pointer -ffast-math") # TODO -Ofast GCC 4.6
|
||||
set(CMAKE_C_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE})
|
||||
@@ -7,15 +7,18 @@
|
||||
|
||||
EAPI="5"
|
||||
|
||||
EGIT_REPO_URI="git://github.com/ruediger/VobSub2SRT.git"
|
||||
SRC_URI="https://github.com/ruediger/VobSub2SRT/archive/v1.0pre7.tar.gz -> $P.tar.gz"
|
||||
S=$WORKDIR/VobSub2SRT-1.0pre7
|
||||
|
||||
inherit cmake-utils git-r3
|
||||
inherit cmake-utils
|
||||
|
||||
IUSE=""
|
||||
|
||||
DESCRIPTION="Converts image subtitles created by VobSub (.sub/.idx) to .srt textual subtitles using tesseract OCR engine"
|
||||
HOMEPAGE="https://github.com/ruediger/VobSub2SRT"
|
||||
|
||||
PATCHES=$FILESDIR/cppflags.patch
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
@@ -1 +0,0 @@
|
||||
EBUILD krnlx-ccminer-xevan-9999.ebuild 793 SHA256 2665da4968cb244a77ce337cc569a70b6e024edf87dac10beb25d8e025b733c7 SHA512 70dc31c5454221aefaa121e53efa084173801a6377c6405da6f20ce6adb445331ab7324606347db21c3e25cf78db6d57a22db23ea21c0124fe84b271ccc1f769 WHIRLPOOL 1d33cea6c57803b61e3d3bab567c7eb161dbf0d2fd73a381f1d47c7ff7a6e6da124fbccf182d84c77d89fe5e064a08ad7287a22f1b0a64350cb57ba014882499
|
||||
@@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit autotools flag-o-matic versionator git-r3
|
||||
|
||||
DESCRIPTION="xevan GPU miner"
|
||||
HOMEPAGE="https://bitcointalk.org/index.php?topic=2237852.0"
|
||||
EGIT_PROJECT="krnlx-ccminer-xevan"
|
||||
EGIT_REPO_URI="https://github.com/krnlx/ccminer-xevan"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
|
||||
IUSE="hardened"
|
||||
|
||||
DEPEND="
|
||||
net-misc/curl
|
||||
dev-libs/jansson
|
||||
dev-util/nvidia-cuda-sdk
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
filter-flags -ggdb -pipe -m*
|
||||
append-cppflags -I/opt/cuda/include
|
||||
append-ldflags -L/opt/cuda/lib64
|
||||
use hardened && append-cppflags -nopie
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin ccminer kxccminer-xevan
|
||||
dodoc README.txt
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
EBUILD wolf-m7m-cpuminer-9999.ebuild 554 SHA256 56491207bc526fc8b89d9ec157842a49c56b03db86d5fcad83decb64204a78dd SHA512 2f1bd39918417cd7cda238b0c79904f099953b45b28ccbd136a0e5e0621f1a44c702afd00faf50cf07908b13931d14e395c945ca8360b4e23078dcff3496afec WHIRLPOOL 1d60da6208c34bac304f3bb01fd4a84d66b3082ff5db9bfbdacc9c29295c359ba302550993522c8be0e479ee9b4eaa4fdc7f4029fd9b56994f6f6fafddb8ff75
|
||||
EBUILD wolf-m7m-cpuminer-9999.ebuild 521 SHA256 eacbb6557e57e8755004eff600fdb197cd55aff2433f19651cda0003afb0947d SHA512 88e454cb55a902534a298ee9f24cced43b29e86e4bdfc85c858c875349d755aed7a7037aa66e516f51bfc3a9fec2660d50c57dcaa303d79bc6c53697d83b9f1d WHIRLPOOL dc4a3c9642921ac9ed5e5a2f5479768acdbdace4065aaeafed3dfe6fbd1342d28b77cdec621b3887925c47552ae81688b64c5fbc89670033cbd877fe04ee641c
|
||||
|
||||
@@ -4,7 +4,6 @@ inherit autotools flag-o-matic versionator git-r3
|
||||
|
||||
DESCRIPTION="m7m CPU miner"
|
||||
HOMEPAGE="https://github.com/magi-project/wolf-m7m-cpuminer-V2"
|
||||
EGIT_PROJECT="wolf-m7m-cpuminer"
|
||||
EGIT_REPO_URI="https://github.com/magi-project/wolf-m7m-cpuminer-V2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
|
||||
Reference in New Issue
Block a user