parent
f927972f5b
commit
92653ede6e
@ -1,2 +1,3 @@
|
||||
DIST dpkg_1.17.10.tar.xz 4198340 SHA256 a3a6d4da2b99484c04b2aa8af83d59d87a988baea627d276308467b22310b4d9 SHA512 db4fdd08cf00eeb611759c02eb70285f36d8fadb7d9d5b35123c02181889319ae46e8ec0d051b64f0d5e7ea3c20da63ba7b9015a9aecdba9b2cb3e20f2e87ecd WHIRLPOOL 15be369b0e10bd8f18ad212d03f614feccf612a125227644d39611beac78b0e42971399b1def825ce9c336aa32c07a8740e7180954879bef7940b641ff02169f
|
||||
DIST dpkg_1.17.12.tar.xz 4214396 SHA256 053cdacdc4166dc31160fc7b33a616261796513fdd4a5d4e79d4e972af11a52c SHA512 67dbfc765ec9e937142cf486ba763ae2f17384a7dab433fbf78945291acb4963a3eef336f3db09c2f374ffb1878a94ee69f2569e04eabd9f9a8a9d2808ae2063 WHIRLPOOL 5d4ed06973a7124fa69788701ac3e27df380aae0b7d5fc39772518e4bafd4444937a340ae8d06e35248a0e31c9477376b46a7a95fc9e8f915211bae1b764863e
|
||||
DIST dpkg_1.17.13.tar.xz 4244552 SHA256 c49c57297d16f068022a2439e50b67f7e0ad88e8acddb18d3e86b144900b67b5 SHA512 739d673a5ebbb779e7b9fb5d440ecf8ed441e04fce99fd90e2a8ba5a249560dc52c382d43ffd57a9eab45b2c6ec726752bd61633877368559f008cfa9dab9a9a WHIRLPOOL 7bf5e9b0853aeec7269fd9f79d66f3eb17c94cc10e29e44355f2309a7e3238e6de0a021814aa034cc1f19ed7656352178846e23c011c8dfa687aba04ed46e832
|
||||
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/dpkg-1.17.13.ebuild,v 1.1 2014/08/20 07:12:46 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib autotools toolchain-funcs
|
||||
|
||||
DESCRIPTION="Package maintenance system for Debian"
|
||||
HOMEPAGE="http://packages.qa.debian.org/dpkg"
|
||||
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="+bzip2 +lzma nls selinux test unicode +update-alternatives +zlib"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/perl-5.6.0
|
||||
dev-perl/TimeDate
|
||||
>=sys-libs/ncurses-5.2-r7
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
zlib? ( >=sys-libs/zlib-1.1.4 )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
nls? (
|
||||
app-text/po4a
|
||||
>=sys-devel/gettext-0.18.2
|
||||
)
|
||||
test? (
|
||||
dev-perl/DateTime-Format-DateParse
|
||||
dev-perl/IO-String
|
||||
dev-perl/Test-Pod
|
||||
virtual/perl-Test-Harness
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( ChangeLog THANKS TODO )
|
||||
|
||||
src_prepare() {
|
||||
# do not expect Debian's gzip --rsyncable extension
|
||||
epatch "${FILESDIR}"/${PN}-1.17.0-gzip-rsyncable.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.17.1-flags.patch
|
||||
|
||||
# Force the use of the running bash for get-version (this file is never
|
||||
# installed, so no need to worry about hardcoding a temporary bash)
|
||||
sed -i -e '1c\#!'"${BASH}" get-version || die
|
||||
|
||||
# test fails (bug #414095)
|
||||
sed -i utils/Makefile.am \
|
||||
-e '/^test_cases/d;/100_update_alternatives/d' || die
|
||||
|
||||
use nls && strip-linguas -i po
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable unicode) \
|
||||
$(use_enable update-alternatives) \
|
||||
$(use_with bzip2 bz2) \
|
||||
$(use_with lzma liblzma) \
|
||||
$(use_with selinux) \
|
||||
$(use_with zlib) \
|
||||
--disable-compiler-warnings \
|
||||
--disable-dselect \
|
||||
--disable-silent-rules \
|
||||
--disable-start-stop-daemon \
|
||||
--localstatedir="${EPREFIX}"/var
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR=$(tc-getAR)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
keepdir /usr/$(get_libdir)/db/methods/{mnt,floppy,disk}
|
||||
keepdir /usr/$(get_libdir)/db/{alternatives,info,methods,parts,updates}
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST tinyca2-0.7.3.tar.bz2 146531 SHA256 0c54163f7740486c1d4370803270e4dd12946dd58ed7c8b183e6f21da639b987 SHA512 a38c11ce17e3e3b90f39bda408b5a6aa0ccaa2baf87e6a01d1133e8f32e0b7b06db958754b5e3c8c636782180c1f449b83bedec5ec111f65e9e8d2542dbfd0ff WHIRLPOOL dc263a92f5c1dfd421a4783caeafed5dd9166877fb2f96deafa03b65903a06b098473b2b6e28b6971a182fd1a148a3a327aaa549cca27d564772b2be57e29b28
|
||||
DIST tinyca2-0.7.5.tar.bz2 172779 SHA256 dc7d8180bf1db572fa4b08e15ecf8a47fc1c5bfdb55109bf2b3a54f86e5e60b7 SHA512 47df0b995715ad973b12da7d2999ae90f8887549437235b287e1d294331adc8d527bf4435ce1c30df278db8e5f8fc7df29a35d3650d41bfd4d0a0a7c193994aa WHIRLPOOL 5f990529ee503f07d8df0132c1b5834b8353d4908650535adb67ba82f04b1472559dca40ee972e4ce6ac22f31706774c981fc8fc905964df4b837ba6bec1a9be
|
||||
|
@ -0,0 +1,47 @@
|
||||
--- tinyca2-0.7.5.orig/lib/GUI.pm 2006-07-25 16:12:00.000000000 -0400
|
||||
--- tinyca2-0.7.5/lib/GUI.pm 2006-07-25 16:12:00.000000000 -0400
|
||||
@@ -978,7 +978,7 @@
|
||||
$piter = $store->append($root);
|
||||
$store->set($piter, 0 => $t);
|
||||
|
||||
- for my $l qw(CN EMAIL O OU C ST L) {
|
||||
+ for my $l (qw(CN EMAIL O OU C ST L)) {
|
||||
if(defined($parsed->{$l})) {
|
||||
if($l eq "OU") {
|
||||
foreach my $ou (@{$parsed->{'OU'}}) {
|
||||
@@ -1003,7 +1003,7 @@
|
||||
$piter = $store->append($root);
|
||||
$store->set($piter, 0 => $t);
|
||||
|
||||
- for my $l qw(CN EMAIL O OU C ST L) {
|
||||
+ for my $l (qw(CN EMAIL O OU C ST L)) {
|
||||
if(defined($parsed->{'ISSUERDN'}->{$l})) {
|
||||
if($l eq "OU") {
|
||||
foreach my $ou (@{$parsed->{'ISSUERDN'}->{'OU'}}) {
|
||||
@@ -1029,7 +1029,7 @@
|
||||
$piter = $store->append($root);
|
||||
$store->set($piter, 0 => $t);
|
||||
|
||||
- for my $l qw(STATUS NOTBEFORE NOTAFTER) {
|
||||
+ for my $l (qw(STATUS NOTBEFORE NOTAFTER)) {
|
||||
if(defined($parsed->{$l})) {
|
||||
$citer = $store->append($piter);
|
||||
$store->set($citer,
|
||||
@@ -1045,7 +1045,7 @@
|
||||
$store->set($piter, 0 => $t);
|
||||
|
||||
|
||||
- for my $l qw(STATUS SERIAL KEYSIZE PK_ALGORITHM SIG_ALGORITHM TYPE) {
|
||||
+ for my $l (qw(STATUS SERIAL KEYSIZE PK_ALGORITHM SIG_ALGORITHM TYPE)) {
|
||||
if(defined($parsed->{$l})) {
|
||||
$citer = $store->append($piter);
|
||||
$store->set($citer,
|
||||
@@ -1060,7 +1060,7 @@
|
||||
$piter = $store->append($root);
|
||||
$store->set($piter, 0 => $t);
|
||||
|
||||
- for my $l qw(FINGERPRINTMD5 FINGERPRINTSHA1) {
|
||||
+ for my $l (qw(FINGERPRINTMD5 FINGERPRINTSHA1)) {
|
||||
if(defined($parsed->{$l})) {
|
||||
$citer = $store->append($piter);
|
||||
$store->set($citer,
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/tinyca/tinyca-2.0.7.3.ebuild,v 1.1 2006/06/02 08:16:22 dragonheart Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_P="${PN}${PV/./-}"
|
||||
DESCRIPTION="Simple Perl/Tk GUI to manage a small certification authority"
|
||||
HOMEPAGE="http://tinyca.sm-zone.net/"
|
||||
SRC_URI="http://tinyca.sm-zone.net/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Artistic"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~sparc ~ppc ~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/openssl-0.9.7e
|
||||
dev-perl/Locale-gettext
|
||||
>=virtual/perl-MIME-Base64-2.12
|
||||
>=dev-perl/gtk2-perl-1.072"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-apps/sed-4"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${P}-compositefix.patch"
|
||||
sed -i -e 's:./lib:/usr/share/tinyca/lib:g' \
|
||||
-e 's:./templates:/usr/share/tinyca/templates:g' \
|
||||
-e 's:./locale:/usr/share/locale:g' "${S}/tinyca2"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make -C po
|
||||
}
|
||||
|
||||
locale_install() {
|
||||
dodir /usr/share/locale/$@/LC_MESSAGES/
|
||||
insinto /usr/share/locale/$@/LC_MESSAGES/
|
||||
doins locale/$@/LC_MESSAGES/tinyca2.mo
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/bin
|
||||
newexe tinyca2 tinyca
|
||||
insinto /usr/share/tinyca/lib
|
||||
doins lib/*.pm
|
||||
insinto /usr/share/tinyca/lib/GUI
|
||||
doins lib/GUI/*.pm
|
||||
insinto /usr/share/tinyca/templates
|
||||
doins templates/*
|
||||
insinto /usr/share/
|
||||
strip-linguas de cs es
|
||||
use linguas_de && locale_install de
|
||||
use linguas_cs && locale_install cs
|
||||
use linguas_es && locale_install es
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST focuswriter-1.4.2-src.tar.bz2 3149160 SHA256 f41ccf226cb5e4181162d37b2a4b5598be202bb184e2f7c26412dc371c9ef328 SHA512 4b6f503fb6624eea12372fbee169e21df3e728420ffede73bc5895ba451c80910f7f68ebba67a914fe380634d868e7d5a5d196218e255d15155ba397805a63d6 WHIRLPOOL 705694be03e514c2f432d014dbafc1a8a55d0025bdfbfd697dfe416dc2beee3ddd337f8ea50eea8737af59015a6d15e64d55f53afa80c62b5f640fefc3e7b2e9
|
||||
DIST focuswriter-1.4.4-src.tar.bz2 3361062 SHA256 b574d6b76609078e36c38dd3b632cdfe1360bfb3a71221c3afc89b1c01d7670f SHA512 2206022f4de9878629e6bb1c8c64870b73c604496d116c8a692181dedf05b9a975d845f64997e2ca3d762c49a52cfbce56167b9ec512fee64a12eb93a513df00 WHIRLPOOL 8727d83dd24830496b149a912fd351687e4fcdc63353448fa29220e909b9b78856e4d21263ddb4d7b856dc72d9aa7a1106633590597f9fed7ed0d3d934edd953
|
||||
DIST focuswriter-1.5.2-src.tar.bz2 5200637 SHA256 b1c09aafcf9a28f5a02a0c5365b6585cee3a2f027739593b80687b1efb32a7c3 SHA512 d121ceac035b447443267fe1fe422d53ce5f66f06b7ee8b37fe0e5a3ac2e599d85c2a8f753c3507f1b04c72928f310fb67310bb5b8707c06cbe095afe875925a WHIRLPOOL bdd658b60c2cd87a06cc3e57919bcd65fd68d99141a731464918dec146ae1af643f05f63c81d450d14ab70700740e31501393d18ba872d0e679c682edc23a034
|
||||
DIST focuswriter-1.5.3-src.tar.bz2 5201148 SHA256 1c48c72879a7b40cf7d97c28abf5cf713c063b7f83a1179093b1241f5797a8c4 SHA512 6796fc8dbe5d5ba545fc8ee5797f620e56dea67a038f4c4eb9e404940a863b32ea2ceb30ed7ea8e22187be2763cc128def3f08f61187ba11de94ec9ae16f807f WHIRLPOOL c5dbf0e739928833bbccdc2e5de6305ca553a3e8f0f1d54d1d2a6bd4636b8ede85c3adedcaee85d66779e25cd53678428cc3817bdedcf30be42c89fc1aebdf07
|
||||
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/focuswriter/focuswriter-1.5.3.ebuild,v 1.1 2014/08/20 09:22:47 pinkbyte Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PLOCALES="ar ca cs da de el en en_GB es_MX es fi fr he hu hy id it ja ko nl pl
|
||||
pt_BR pt ro ru sk sr sv tr uk vi zh_CN zh_TW"
|
||||
PLOCALE_BACKUP="en"
|
||||
inherit fdo-mime gnome2-utils l10n readme.gentoo qt4-r2
|
||||
|
||||
DESCRIPTION="A fullscreen and distraction-free word processor"
|
||||
HOMEPAGE="http://gottcode.org/focuswriter/"
|
||||
SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="app-text/hunspell
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtsingleapplication[X]
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( ChangeLog CREDITS NEWS README )
|
||||
DOC_CONTENTS="Focuswriter has optional sound support if media-libs/sdl-mixer is
|
||||
installed with wav useflag enabled."
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-1.5.2-unbundle-qtsingleapplication.patch" )
|
||||
|
||||
rm_loc() {
|
||||
sed -e "s|translations/${PN}_${1}.ts||" -i ${PN}.pro || die 'sed failed'
|
||||
rm translations/${PN}_${1}.{ts,qm} || die "removing ${1} locale failed"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
l10n_for_each_disabled_locale_do rm_loc
|
||||
qt4-r2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake4 PREFIX="${EPREFIX}/usr"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
readme.gentoo_create_doc
|
||||
qt4-r2_src_install
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,128 @@
|
||||
https://bitbucket.org/nikratio/python-dugong/commits/0e9d67700bc8
|
||||
diff --git a/test/test_dugong.py b/test/test_dugong.py
|
||||
--- a/test/test_dugong.py
|
||||
+++ b/test/test_dugong.py
|
||||
@@ -99,6 +99,12 @@
|
||||
request.addfinalizer(conn.disconnect)
|
||||
return conn
|
||||
|
||||
+@pytest.fixture()
|
||||
+def random_fh(request):
|
||||
+ fh = open('/dev/urandom', 'rb')
|
||||
+ request.addfinalizer(fh.close)
|
||||
+ return fh
|
||||
+
|
||||
def check_http_connection():
|
||||
'''Skip test if we can't connect to ssl test server'''
|
||||
|
||||
@@ -170,12 +176,12 @@
|
||||
conn.get_ssl_cipher()
|
||||
conn.get_ssl_peercert()
|
||||
|
||||
-def test_blocking_send(conn):
|
||||
+def test_blocking_send(conn, random_fh):
|
||||
# Send requests until we block because all TCP buffers are full
|
||||
|
||||
- path = '/send_100_1200-byte_chunks'
|
||||
+ path = '/send_102400_random_bytes'
|
||||
for count in itertools.count():
|
||||
- crt = conn.co_send_request('GET', path, body=DUMMY_DATA[:8192])
|
||||
+ crt = conn.co_send_request('GET', path, body=random_fh.read(8192))
|
||||
flag = False
|
||||
for io_req in crt:
|
||||
if not io_req.poll(1):
|
||||
@@ -539,7 +545,7 @@
|
||||
conn.read_response()
|
||||
conn.readall()
|
||||
|
||||
-def test_aborted_write1(conn, monkeypatch):
|
||||
+def test_aborted_write1(conn, monkeypatch, random_fh):
|
||||
BUFSIZE = 64*1024
|
||||
|
||||
# Monkeypatch request handler
|
||||
@@ -562,14 +568,14 @@
|
||||
# Try to write data
|
||||
with pytest.raises(ConnectionClosed):
|
||||
for _ in range(50):
|
||||
- conn.write(b'f' * BUFSIZE)
|
||||
+ conn.write(random_fh.read(BUFSIZE))
|
||||
|
||||
# Nevertheless, try to read response
|
||||
resp = conn.read_response()
|
||||
assert resp.status == 401
|
||||
assert resp.reason == 'Please stop!'
|
||||
|
||||
-def test_aborted_write2(conn, monkeypatch):
|
||||
+def test_aborted_write2(conn, monkeypatch, random_fh):
|
||||
BUFSIZE = 64*1024
|
||||
|
||||
# Monkeypatch request handler
|
||||
@@ -590,7 +596,7 @@
|
||||
# Try to write data
|
||||
with pytest.raises(ConnectionClosed):
|
||||
for _ in range(50):
|
||||
- conn.write(b'f' * BUFSIZE)
|
||||
+ conn.write(random_fh.read(BUFSIZE))
|
||||
|
||||
# Nevertheless, try to read response
|
||||
assert_raises(ConnectionClosed, conn.read_response)
|
||||
@@ -716,12 +722,13 @@
|
||||
assert conn.read(50) == b'x' * 25
|
||||
assert_raises(dugong.ConnectionTimedOut, conn.read, 50)
|
||||
|
||||
-def test_send_timeout(conn, monkeypatch):
|
||||
+def test_send_timeout(conn, monkeypatch, random_fh):
|
||||
conn.timeout = 1
|
||||
|
||||
def do_PUT(self):
|
||||
# Read just a tiny bit
|
||||
self.rfile.read(256)
|
||||
+ time.sleep(2*conn.timeout)
|
||||
monkeypatch.setattr(MockRequestHandler, 'do_PUT', do_PUT)
|
||||
|
||||
# We don't know how much data can be buffered, so we
|
||||
@@ -730,7 +737,7 @@
|
||||
conn.send_request('PUT', '/recv_something', body=BodyFollowing(len_))
|
||||
with pytest.raises(dugong.ConnectionTimedOut):
|
||||
while len_ > 0:
|
||||
- conn.write(b'x' * min(len_, 16*1024))
|
||||
+ conn.write(random_fh.read(min(len_, 16*1024)))
|
||||
|
||||
|
||||
DUMMY_DATA = ','.join(str(x) for x in range(10000)).encode()
|
||||
@@ -743,6 +750,14 @@
|
||||
def log_message(self, format, *args):
|
||||
pass
|
||||
|
||||
+ def setup(self):
|
||||
+ super().setup()
|
||||
+ self.random_fh = open('/dev/urandom', 'rb')
|
||||
+
|
||||
+ def finish(self):
|
||||
+ super().finish()
|
||||
+ self.random_fh.close()
|
||||
+
|
||||
def handle_expect_100(self):
|
||||
if self.handle_errors():
|
||||
return
|
||||
@@ -782,14 +797,17 @@
|
||||
self.wfile.close()
|
||||
return
|
||||
|
||||
- hit = re.match(r'^/send_([0-9]+)_bytes', self.path)
|
||||
+ hit = re.match(r'^/send_([0-9]+)_(random_)?bytes', self.path)
|
||||
if hit:
|
||||
len_ = int(hit.group(1))
|
||||
self.send_response(200)
|
||||
self.send_header("Content-Type", 'application/octet-stream')
|
||||
self.send_header("Content-Length", str(len_))
|
||||
self.end_headers()
|
||||
- self.wfile.write(DUMMY_DATA[:len_])
|
||||
+ if hit.group(2):
|
||||
+ self.wfile.write(self.random_fh.read(len_))
|
||||
+ else:
|
||||
+ self.wfile.write(DUMMY_DATA[:len_])
|
||||
return
|
||||
|
||||
hit = re.match(r'^/send_([0-9]+)_([0-9]+)-byte_chunks(?:_delay_([0-9]+)_ms)?',
|
||||
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mysql-python/mysql-python-1.2.3.ebuild,v 1.10 2012/09/30 16:55:11 armin76 Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
MY_P="MySQL-python-${PV}"
|
||||
|
||||
DESCRIPTION="Python interface to MySQL"
|
||||
HOMEPAGE="http://sourceforge.net/projects/mysql-python/ http://pypi.python.org/pypi/MySQL-python"
|
||||
SRC_URI="mirror://sourceforge/mysql-python/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/mysql"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
DOCS="HISTORY doc/FAQ.txt doc/MySQLdb.txt"
|
||||
PYTHON_MODNAME="MySQLdb _mysql_exceptions.py"
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/paver/paver-1.2.3.ebuild,v 1.1 2014/08/20 05:15:35 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=${PN/p/P}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Python-based software project scripting tool along the lines of Make"
|
||||
HOMEPAGE="http://www.blueskyonmars.com/projects/paver/ http://pypi.python.org/pypi/Paver"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
python_test() {
|
||||
nosetests || die "Testing failed with ${EPYTHON}"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST 2.2.0.tar.gz 251829 SHA256 b8453879b475837ca32d0d43d4b36bb0b6f217d6546ef3890a2bc0d03e19c2ca SHA512 bec38cb529a90cce8ed3ad458efaabc9dc614694492f03b722ffda24e73e3a0786d06c51c79535de42a3e8bd52a194c520755579e6488dcd6499cd7cabef9ce2 WHIRLPOOL fbd61c7e8bf15dc1d44947c885a4b5729eb6b4e07d325b83a6d08cf4c43850eb60dc497777a37dcee99ab1068f859d974cec865fc49e3385b786fdbf8ba469cc
|
||||
DIST 2.2.4.tar.gz 283710 SHA256 6c4f915fc5b76a5ac5aade7f134eb00a56c80e236738930e724e731af8475194 SHA512 980df76d1faf3ab982f905c1a6934eb19a98b460ed58327df141bf2ff84cf155e809b735ce446d0feb7462fcf03a835dce56e2a549f60d9954b010d5c0cebd18 WHIRLPOOL 190a14b05ed242488024eb413bd2d9d66baddc1c65ec1852a541693e0290f7d6b4e1bfb789ff027a443a924b57d1a56dea1b846a7d523a5338082d97ed6a941b
|
||||
DIST 2.2.5.tar.gz 290931 SHA256 c58245d96ed12aea03b90778078014a733f6a0b078e260c30ab32b339c28f888 SHA512 91938071acff3ace02dec2a421727937c6799d914a254ff2fc95bca068544169c79a02914fd0ab8c8e36f530c72c59a8123b971d280187bc9692cdcb52b9e3f9 WHIRLPOOL cebf8a0506099b2da0a48f8df7f8c82f5004f3861757c16a6a7d70a2844d592cf6338e5a67d36333fbc3398ebef415ea6728128f8ef63ecc0ddf37dbf4c8d884
|
||||
DIST peewee-2.3.0.tar.gz 297166 SHA256 b5baefc06d0a5693434acff33289acd8844ea1468ce5655906ede0e57e03cdd0 SHA512 c26e06dd63019a841746e14ddc539ae251d2ef87b0a97317cad5b96484d3a30c4b650a37614a5887b84ae5383d0b24690817ea1475772c92040fe6d1a3a61368 WHIRLPOOL d56cca2afa56a03ae658b5f5c667301ff5e3d30ae1d77c2a9a0c8723e6edb3b9a15f93f03254a0af3309ea69a736475e98fce5b0de03d37026ff56bff3a303f6
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/peewee/peewee-2.3.0.ebuild,v 1.1 2014/08/20 06:20:21 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
PYTHON_REQ_USE="sqlite(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Small python ORM"
|
||||
HOMEPAGE="https://github.com/coleifer/peewee/"
|
||||
SRC_URI="https://github.com/coleifer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/apsw[${PYTHON_USEDEP}]
|
||||
dev-python/psycopg[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
)"
|
||||
# Req'd to ensure a unique tmp.db for each python impl running the testsuite.
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" ./runtests.py || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
use examples && local EXAMPLES=( example/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pgmagick-0.5.6.tar.gz 42116 SHA256 bddc8f545645831bf1de817e4d99f7c3a1eaa076bac6a6c4101c28ddf52f5b86 SHA512 40d008b7ccf2ed53535e463aebcaa0277dbe20aa34061eeb95bdb3f529c609159bb6d6a7fedbfa5371f504bc9abe1721dc04c96f72fe1eb88fc0a7e8699d8fc0 WHIRLPOOL d237b5a6ea136122814a02106408adaf45b40e33d39b550a4f305b4bacaf70dad2d07806f1252e4e984f037262150b067a4604a16fa893274d989c31f3e4136a
|
||||
DIST pgmagick-0.5.7.tar.gz 39311 SHA256 0439eb879e0494113ea7adb704513b90b64a7bbadbbdd79809ef1f71570e5a33 SHA512 18f9b00c0cbff616af22ea4fcf33cd0fd1cf0d6be0807adfd7e96240a663c187b2593d7c4154d506ea03ad5886d7c7fdd0b108c3524e35cd654e6635d5f70ea3 WHIRLPOOL 5b70f2d5c2c25e474e4496dcb5db077690e6b89783446e6149b1f493d9a411d7c913c6177419ce164db438fb363f38d81b9414a3d7e700bc053e5675121f4244
|
||||
DIST pgmagick-0.5.8.tar.gz 39682 SHA256 b0967586daad9b977424a791af0b93573b67b957f9413ca92a26af25e86096d7 SHA512 fffb32569ab63409fc56c0f85628d5d0116a7113abbfee96c9ebeba1a3135a88b3f3d6f8694c90efdf5e53c9f64f3a22c5d13285950ca47d95669b4465cc53a3 WHIRLPOOL 454c0509f0e1d9d0bbe3c6bae178f66b492cec81db2d7569078b1ce665c48ca525e6eba4be568d6974793150752c726da45d529273ec4d1b5a1dc4c7c64daf5f
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pgmagick/pgmagick-0.5.8.ebuild,v 1.1 2014/08/20 07:48:23 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Yet another boost.python based wrapper for GraphicsMagick"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/pgmagick/ http://bitbucket.org/hhatto/pgmagick/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="media-gfx/graphicsmagick[cxx]
|
||||
dev-libs/boost:=[python,${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( ${RDEPEND}
|
||||
media-fonts/corefonts )"
|
||||
|
||||
python_test() {
|
||||
# https://bitbucket.org/hhatto/pgmagick/issue/46/
|
||||
for test in test/test_*.py; do
|
||||
"${PYTHON}" $test
|
||||
done
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST amqp-1.4.5.tar.gz 77748 SHA256 534c807c0081ce9c2d517615e724cb6e9df17f79cd6cd4929653ea1ea60edb60 SHA512 33cc0df95786afbd7861585a5fad4c9ec3d28709aaafdba6a7b2b8e2b36b79a129e320ce945ef59f87ccb4e83bdf68ca9bf54b4759dc2e6ba2f131777398d702 WHIRLPOOL 471731462bfa2104f0abbffbe870f47420813e8f1a20ec901414313f34105d1a5e2e9e2ef990b1e7ce09a3442af6fd6b4a4e25f293ae3d834f9953e63caab630
|
||||
DIST amqp-1.4.6.tar.gz 77902 SHA256 ebcfc867de5a68f9f5ba14d11dbad88e6aff8435a8d39339d5ceb0e5b06de640 SHA512 fe5cd7cafd9d6a4b8c1ab88a2757db440cd7b415b29c608f51052662d4c7d9e3fae81895ea09ec88f74e83ae9615c5f60b5857417b5d645086f88fc93527758c WHIRLPOOL 599dac45d24ac56407f9fbc1e00cc49884fa3717c3cbf8f7a9b59cfb78a5d9506341169f174cb7a1278e8e6745ae04aa14b6448a5250e5c40843a50f82d01d95
|
||||
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/py-amqp/py-amqp-1.4.6.ebuild,v 1.1 2014/08/20 08:08:22 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="amqp"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Low-level AMQP client for Python (fork of amqplib)"
|
||||
HOMEPAGE="https://github.com/celery/py-amqp http://pypi.python.org/pypi/amqp/"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples extras test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/nose-cover3[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.0[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
# Same tests from before require a socket connection
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.3.3-disable_socket_tests.patch )
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cp -r -l funtests "${BUILD_DIR}"/lib/ || die
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
if [[ ${EPYTHON:6:1} == 3 ]]; then
|
||||
# -n causes Python to write into hardlinked files
|
||||
2to3 --no-diffs -w funtests || die
|
||||
fi
|
||||
"${PYTHON}" funtests/run_all.py || die "Tests failed under ${EPYTHON}"
|
||||
rm -rf funtests/ || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( demo/. )
|
||||
use doc && local HTML_DOCS=( docs/.build/html/. )
|
||||
if use extras; then
|
||||
insinto /usr/share/${PF}/extras
|
||||
doins -r extra
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST rpy2-2.3.10.tar.gz 187420 SHA256 728326d6d13107f7156f1f3d6ad3a7d6a19ae4d6801e56708e794196d5b0a509 SHA512 58013019bb71c28b0c890a599687628d94fc0a59f7071177618d8494eca485eb08ae9f7d27cf529fe973b01254c00373130b68c8ce863b69f8dcfa54bd5bf9f8 WHIRLPOOL bf8e8c19b75622eb5c923496d0ae1625f3196d3e760fbf60558f692847f0a35a3a1f2112951cb48fa5c9c111fdc145e0babe99f489aa29033b9e21edf0b6180e
|
||||
DIST rpy2-2.4.0.tar.gz 160914 SHA256 3cb6360d4d0af7996979f50d0347f5f74fc3fcf98e3ee8057c4c886b358d17e1 SHA512 cd6432ba2f5c4f0e8e0a49e473efd917cfd279f435dc4fa31e417a725085937126ea2435f43f2a9fdd01f2d4f53698f1684375885525fba095ad657e7890facf WHIRLPOOL f67c5ddb7fd3576bf3cc143d6be4b803e49f3b56154c2ad7689a0c90511e7d037b370fa76b64a7d8b72dd49b5850c96382bdd3f67b0145afd68959a8112150b0
|
||||
DIST rpy2-2.4.2.tar.gz 161135 SHA256 c88f961e6ea8bbb24dbffab6738a0bc090ca8597ae8292731ae3362e64c839c8 SHA512 e939504d8907772d203e9f999cb31951e4803e125ada8cc1c8103185ec9bbb8a1aa65324aa843f0bfa6686b2a76be66b536d04ee992e18fa1bd3db85970e09e9 WHIRLPOOL 831d5d9ca2b54622731b3d0d65b34f21d3f275c7686060a24b5bf2121e191e11dad264327f6132cba6d634e35851f22d51ace62912233e520080659ca4fb7ef9
|
||||
DIST rpy2-2.4.3.tar.gz 159655 SHA256 1d7970d1723d52c4bbd510ee88c0a6b8273a3bba8a05c124fb8be35d75616906 SHA512 03920dd045cccd58f5254035fcb1b49c2eb8fdf046281ecbbe687ac273f2b304fa9c574d9f247830dedec35f5bd18a22cc11cf18790e029e3942878442a1e874 WHIRLPOOL bf1f238228c399f3cb3554805ff3d734733f9d740f82e2e67366118285e29d1a8bc91a7d37a149dc6776a8a7adf14f0be59abcd928e0d25646e354c078a8cfcc
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/rpy/rpy-2.4.3.ebuild,v 1.1 2014/08/20 10:00:16 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
MYSLOT=2
|
||||
MY_PN=${PN}${MYSLOT}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Python interface to the R Programming Language"
|
||||
HOMEPAGE="http://rpy.sourceforge.net/ https://pypi.python.org/pypi/rpy2"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3 GPL-2 LGPL-2.1 MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/R-3
|
||||
dev-python/numpy[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/pandas-0.13[${PYTHON_USEDEP}] )"
|
||||
# ggplot2 is an optional test dep but not in portage
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
${PYTHON} -m 'rpy2.tests' -v || die
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/simplejson/simplejson-3.6.2.ebuild,v 1.1 2014/08/20 10:54:02 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="Simple, fast, extensible JSON encoder/decoder for Python"
|
||||
HOMEPAGE="http://undefined.org/python/#simplejson http://pypi.python.org/pypi/simplejson"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MIT AFL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} == python2.7 ]]; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST SPARQLWrapper-1.5.2.tar.gz 24953 SHA256 65254c7c3cae093fbd5e6b65e2c725db3ad80ab7402c4aa59d18a9cb8f5695b4 SHA512 adb70599d5c67c4cbd5277de30325a993057ff50c72eba89cea6b5ba8daea9bd7717fef4cd62e250b77c818498580d7f26e359fc4a9e344b2ba82c71912fcee3 WHIRLPOOL a8231a0745e798240620f46af625ff325a770f97f100fbfa5cda4f2e8e1dd1f8b8900fae13a8ade9ba0f71a3fc714be14d83e34848479e7a4e93c7993a1b207c
|
||||
DIST SPARQLWrapper-1.6.0.tar.gz 20698 SHA256 dadcbf190dd090d90325ca4126e96f262d620c45c4693ee9f168cf39af2fa373 SHA512 e70a003807329602360e0c1ffc4091668e5a7bbce84305ecee5a381759500282abc57f39879a8372a35f7edd36bf7d4f2dc8efad717bb620e430d207c52a4754 WHIRLPOOL f76f9ebc20daac75f0cdbddccd7bb48695289829ab08d9e013ab2e9c0220a7bd770afd5dc1431d520369dd8a1c6cd96034c4452537fb50b58d41b36fa0eb7b20
|
||||
DIST SPARQLWrapper-1.6.1.tar.gz 25894 SHA256 809ecc29ca6d3dcfdfd75163173d00b45405ddf5e848edc648b8aec553c765d0 SHA512 2500133ea235c1c91ef0f9479f570ec9376704e2ba39ec9d044bb24dfa56dd8613d4677d473d0694edd7095874c17f2277ccb2ef3c07ffff9c50b5b814f26812 WHIRLPOOL a460d9d82c0b0854a9eadefd242b7cac4daaa870e42ae6b9d5eed94cfc0fe76c914bd68517bec6449c1b614e40a684231b70982f95f2f39e8f8c01f5d56cc579
|
||||
DIST SPARQLWrapper-1.6.2.tar.gz 25939 SHA256 1af3dcccf5cfbc0c078f95109138a8be221d29e158a2ae81b239d857f7c3224d SHA512 a75cb881b34fd8963c35b9fb7bb3fb1662257c9a36a03d22227968fc8f23c7813b73d29d3bdc26f362023a871960ce6326d70f8fdfb911ceec88212ed3737831 WHIRLPOOL fe2a29206f0f8730e3046ee67649370f866043dfcaf42416753ec6f3e1795fa4372ef48db9a95b87e116e6f007d3c4d8d7b357622dc40d52448cb5dc8d73848f
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/sparql-wrapper/sparql-wrapper-1.6.2.ebuild,v 1.1 2014/08/20 11:02:15 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=SPARQLWrapper
|
||||
DESCRIPTION="Wrapper around a SPARQL service"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/${MY_PN}"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="W3C"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="dev-python/rdflib[${PYTHON_USEDEP}]"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}-${PV}
|
@ -1 +1,2 @@
|
||||
DIST rouge-1.6.1.tar.gz 382691 SHA256 8792efc85781e07f53a12b90388116fc624f6b733a651d81a04e63020ac365bf SHA512 878393050ae4745927bf7f8d73c0d14db94dbdad053eccc886673a47bf3605e6c704e874ca1d79cf8097a310c2eb6515c1fad7f649f01f788344cb73b6fcb2e9 WHIRLPOOL fbbd1365d60d283f6facf21ca1f95403c8dcd3365772572f8040b44f3d91098824ddc6a3591fcccaa25193b47c087a444f214104bfaab5fb7184b79a30aac351
|
||||
DIST rouge-1.6.2.tar.gz 383562 SHA256 2aa63964eb3423e7637fd58689a55911ee75c25ba84a7d54948149029cacb85f SHA512 75759e0b9f328c8bdf364e62b9941f3e245b794cf95cf3e80f3994431228f2d438b8c31c15e49d2b4e5441457c9cd9a0adc905cf2ecdfbee3d2f3d1da9e1a66b WHIRLPOOL 4123125793840b01ad009849bb94e57b0f26f7b3be7d1d6602624f06e57d4ad5c29320d848849fb9d0284363ffe615315cb6d2661d17735c4ee6e951aeff3e90
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rouge/rouge-1.6.2.ebuild,v 1.1 2014/08/20 12:59:19 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="yard"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Yet-another-markdown-parser but fast, pure Ruby, using a strict syntax definition"
|
||||
HOMEPAGE="http://github.com/jayferd/rouge"
|
||||
SRC_URI="https://github.com/jayferd/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "dev-ruby/redcarpet"
|
||||
|
||||
RESTRICT="test"
|
||||
# Depends on dev-ruby/wrong, which is not packaged yet.
|
@ -1,3 +1,4 @@
|
||||
DIST rspec-core-2.12.2-git.tgz 169377 SHA256 ce19262c407725ad5ea894710536e576344575ed074f4be3905f8663cd03713b SHA512 fddb456e010a8713a9e04eba4f7133498fc01ea99fd3ba66dde485f6f2e2fa56c056d8a1d0b7aee80cccc8e45a4e90f3ce2ee9f554ad9330071917293b607756 WHIRLPOOL 8cf1e8536ed8449b2f8b5c607a88688405b25489adf7a3ea9773e8b61f08b8ec20cf32f85821aadb102ff371ec4cde35f643a97fdbaff77c22ad2fe3d718686e
|
||||
DIST rspec-core-2.14.8-git.tgz 195949 SHA256 757febdcc4465b62fb41572e1fb7e0deb86f903127cb2941ea65d2c1d4ac29db SHA512 2be487f0a820cb959771b0c2a725aa7a43cd80a76f85ed42f3341420cefa4ba6413b5dbd86e8fba9f5515afef3e895e0f1f2f8239d50f0b764f037d5f0791095 WHIRLPOOL 5b2422d7f1d087caf654ea04d81f269ae90be63eb73135d34691839c27e6dfa152aac425f64a860b3af50ef0bf513ac7f4a68c979c254083f187e57a96c20fe3
|
||||
DIST rspec-core-2.99.1-git.tgz 212855 SHA256 998725627c1047010e43bc99863859fcc37c71b832264fa8aa1cfb45f18149c2 SHA512 218dfb42ddb425f49b3f46f892bed0ddf4d873b3e4919348d1f6f0a9fa93e1440ac9505e8b943f43c1a7d83430471ba7a0c5534dca5e22971b510cf4ab5f8292 WHIRLPOOL a23641c73536ad8ea1084d0a41cb3046cdf0df339f2a31ca9140891e074c51b6371e41560e132dd5ba409e325d9810ba09692ed4c7c08724ca1858b52e314881
|
||||
DIST rspec-core-2.99.2-git.tgz 212935 SHA256 75794e3f94f3323b1212b93e827d37d6ab2813dea2f5f927929b40e9ee170c43 SHA512 e13bc3384fd85c367481a8651c14be4a412cba5f58e12a8f4ab14b5d2768a7b92191b81e000e7dbf6a28275b41044d8b3eb70a04e4b30b5bf88db98cbec4cc44 WHIRLPOOL 5584be2da2310688155c4fe600a4a36f68434440ebc00b063e9fcdcb3188138831a210f482ac86a469984fcf9838d795511ea02433020ecc6bc1d6aacc8c72bd
|
||||
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.99.2.ebuild,v 1.1 2014/08/20 05:40:55 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
RUBY_FAKEGEM_TASK_DOC="none"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
||||
|
||||
# Also install this custom path since internal paths depend on it.
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="exe"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="rspec-core.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
||||
HOMEPAGE="http://rspec.rubyforge.org/"
|
||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/nokogiri-1.5.2
|
||||
dev-ruby/syntax
|
||||
>=dev-ruby/zentest-4.6.2
|
||||
>=dev-ruby/rspec-expectations-2.14.0:2
|
||||
>=dev-ruby/rspec-mocks-2.99.0:2
|
||||
)"
|
||||
|
||||
# Skip yard for ruby20 for now since we don't support ruby20 eselected
|
||||
# yet and we can't bootstrap otherwise.
|
||||
USE_RUBY=${USE_RUBY/ruby20/} ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Don't set up bundler: it doesn't understand our setup.
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
|
||||
# Avoid dependency on cucumber since we can't run the features anyway.
|
||||
sed -i -e '/[Cc]ucumber/ s:^:#:' Rakefile || die
|
||||
|
||||
# Duplicate exe also in bin. We can't change it since internal stuff
|
||||
# also depends on this and fixing that is going to be fragile. This
|
||||
# way we can at least install proper bin scripts.
|
||||
cp -R exe bin || die
|
||||
|
||||
# Avoid unneeded dependency on git.
|
||||
sed -i -e '/git ls-files/ s:^:#:' rspec-core.gemspec || die
|
||||
|
||||
# Avoid aruba dependency so that we don't end up in dependency hell.
|
||||
sed -i -e '/aruba/ s:^:#:' -e '/Aruba/,/}/ s:^:#:' spec/spec_helper.rb || die
|
||||
rm spec/command_line/order_spec.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
sed -i -e 's:ruby -e:'${RUBY}' -e:' spec/rspec/core_spec.rb || die
|
||||
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
# Avoid tests specific to jruby but without jruby 1.6 support.
|
||||
sed -e '/JRUBY_VERSION/ s:^:#:' -i spec/rspec/core/filter_manager_spec.rb || die
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
if use doc ; then
|
||||
yardoc || die
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -Ilib bin/rspec spec || die "Tests failed."
|
||||
}
|
@ -1,10 +1,5 @@
|
||||
DIST stone-soup.png 1351 SHA256 486da51db277817f6fa59c32b131fa4d50cace7d8c9a84995d22f13a92e384e1 SHA512 4695204c8b936f7aac1ba15b02a6115a955fb2c56aa9a0b968ff007bc9a1a59b608110d60cce5625a9b92cd2c869bbea7e15433a53c1a338622809477a5846bc WHIRLPOOL 621b93f192d9335f57b18a72489450511be993f79ac5ea26529d3424adcddf1c64cb2c996fa1265cbd341a31dabe550253d0302c941fcd751197aff7840acee3
|
||||
DIST stone-soup.svg 68546 SHA256 f2b476f57f6e8a9b56bc20ec2da0accac9376fea1ff3e4dbe59e7f2f231eb071 SHA512 dca555271faf704eb8ecdf5ee8a763df42cdeba94e9c163608c438cfc73c6fbf53416547050cad57f477ade191842e701785b65b7a9f18e27ceab05df8f2f75f WHIRLPOOL 49b7e0ca45319b2f016203e02b1e08207e9f0c18501b17f5922f1983fbb6bfabc12a9ca3199697f78561739e253f200bfbe984082bb99e1c8e289e5c41004bed
|
||||
DIST stone_soup-0.11.2-nodeps.tar.xz 7518884 SHA256 ae399a9ef1861918b5cef3224893618167b709d5d72321cc328859e111f8e259 SHA512 28d4fe005727fdc8662581921c33edb325bb561f7be2823bd036bfd84422128a0c85ac774785277f326c92de6ec3743751b86a5f74f12559b77f1fb02f1e1614 WHIRLPOOL 5c65c7efddba01265e9223d90ea539b42750e1d49fc76e7ada94b484244b5fb1301da3b3a883b89e3ebeff92279f92d69999cae69f6cf9de19f4a7d19aeae277
|
||||
DIST stone_soup-0.12.2-nodeps.tar.xz 8661464 SHA256 d9ecb2c121596fa635fd98a3f1363038beabf67159c7822e79eaf4698efef274 SHA512 4e961dc3a878a02f3cb88106c0bb23792a05cb99a5491126e83d9c2aa92021db226304ebf21e4334310460ef9c3e593a48e7d99543afbbb714fb407fb558972f WHIRLPOOL 894d19af22d4c422af6f16fa9f9c22d4f66241675077b657ed8031195c241d1b9282d1df9340ac1f756a948b2932019e645a1d9097264281e095bb8f7df079b5
|
||||
DIST stone_soup-0.12.3-nodeps.tar.xz 8665464 SHA256 11c43653da7f2862a7f67f6d596f024778cb5618b3d30f74a0bc07b5e8a58fc1 SHA512 b1f82013844cb8ae5778ebac85d3aede6a22667f026b51cb346d6f8ea017ead0357cabec03f112f216506a9f1a628e12b6565b7eb04a906a21534f87940800cf WHIRLPOOL 734c584f817ec14fe2d3cf39386be4da99b8174baf45bcdf85c4d140991bfe15e5a7e88c24da41f57c68efe000f073cdb0899f766d28a000803101d8fe810359
|
||||
DIST stone_soup-0.13.0-nodeps.tar.xz 9456072 SHA256 e2f0d9f1995b286faaa0794509398c793c2500b467f517158b1e7b0bf2e00ee7 SHA512 996f35a17b5174bd059e707a0fde49c0104b26927aa7fa41879368478baac9098850f2ee711c2f2caab78e6f7ef0d94d2baafa906c3cf401d7600ce8786b3b6e WHIRLPOOL fc3cabf555b41c60a6114e51f77758eaa5a88ea6b12a93ff8ef5dfd95832e56fd64c26b7feecfef3f3c95c369edaa8cfee8efab22ba82d8c87fcbe9ae51218ad
|
||||
DIST stone_soup-0.13.1-nodeps.tar.xz 9456356 SHA256 9e32ca7e48bc3e12ce6bc8d963b01a0bce3f5826c6ca1d60947867f5602921e8 SHA512 1fbb69cf79d5e44e3a2f7a7a16b6284d9ffcaaec0033627c1f0f485fb6012fde8b5bb81557d8ba96cd19d5cd53d989bc71cdb8fd8397ba4c518d596e5e845e8b WHIRLPOOL b956dc51a2d26175adf62076a9d62faa7977b496a3337db488c5ab6849986f719c201befe8e08cb74abc20af3bebb39fa9a223979522ab9ed31be4958ded4bb0
|
||||
DIST stone_soup-0.13.2-nodeps.tar.xz 9512924 SHA256 279ff5f27fdff6f970f97cb2aaebe8915c0b407f781d48275de87571cb356eea SHA512 9f35aec7e4fca61c1a464e7b97974b49cb8b90d84897bd246505ce4db2e0ebf2f758038963364702db4ea87de323d897b6114ae94a89a8ef1753115077bff61a WHIRLPOOL 62b8ac3432126d48dd3693c11535eba55406aec48c7710ecd88f3475fadf1fb075b0aa229193fc8e3d4da6e6bf3d2bedf050911e2031093b3accf7d09e92fe3e
|
||||
DIST stone_soup-0.14.0-nodeps.tar.xz 8905556 SHA256 0ce09e2d6a1908016c34717008334bad4378240fb507cae68dd9bdcc3ae3dfa2 SHA512 69c2c0d1a8c65943b24164b6a73e2532739a2e97254aff2dd5769bfd52ba5dad7ec07a91e1735e7e0ad746f1a322856fef6d7ecf45143226f2ea6f08223c4643 WHIRLPOOL 7cc2185f0cd4918fbe391403f5cdd096196427e08c5cb3bc837c1651ac90d8780b6ba5331ccc5e3964e6b681df391c09e5dcb4e664ab56495fed15f7efdb89af
|
||||
DIST stone_soup-0.14.1-nodeps.tar.xz 8903416 SHA256 91726d0224b93ba26b5d4bd3762bc5aabe1f02974ea6c937be89dc6c6ab7a4dd SHA512 9b304c9e993b000316aa2e3975c3802caa76a0d8687f20f03560f6cf39d2bc7cbf78fce30d12ccfa671e4679adc0e2a29f98c647fd2d9997b7a045af3956db88 WHIRLPOOL 498ee49cf693de3cabf1a9441b23582acfa63be84215434943b455fd16c84243d5a5871224f11b0cc358325281732335e2f8b9f102db31cf2338b93d80075d27
|
||||
|
@ -1,133 +0,0 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Fri Oct 5 13:55:07 UTC 2012
|
||||
Subject: build system
|
||||
|
||||
respect flags and compiler
|
||||
|
||||
--- source/Makefile
|
||||
+++ source/Makefile
|
||||
@@ -112,7 +112,7 @@
|
||||
|
||||
else
|
||||
|
||||
-CFOPTIMIZE := -O2
|
||||
+CFOPTIMIZE := $(CXXFLAGS)
|
||||
|
||||
endif # USE_ICC
|
||||
|
||||
@@ -120,21 +120,19 @@
|
||||
CFOPTIMIZE += -flto=jobserver -fwhole-program
|
||||
endif
|
||||
|
||||
-CFOTHERS := -pipe $(EXTERNAL_FLAGS)
|
||||
+CFOTHERS := $(EXTERNAL_FLAGS)
|
||||
CFWARN := -Wall -Wformat-security
|
||||
CFWARN_L := -Wundef
|
||||
|
||||
DEFINES := $(EXTERNAL_DEFINES)
|
||||
|
||||
-LDFLAGS := $(EXTERNAL_LDFLAGS)
|
||||
-
|
||||
#
|
||||
# The GCC and GXX variables are set later.
|
||||
#
|
||||
-AR = ar
|
||||
-RANLIB = ranlib
|
||||
-CC = $(GCC)
|
||||
-CXX = $(GXX)
|
||||
+AR ?= ar
|
||||
+RANLIB ?= ranlib
|
||||
+CC ?= $(GCC)
|
||||
+CXX ?= $(GXX)
|
||||
RM = rm -f
|
||||
COPY = cp
|
||||
COPY_R = cp -r
|
||||
@@ -145,7 +143,7 @@
|
||||
PNGCRUSH = $(COPY)
|
||||
PNGCRUSH_LABEL = COPY
|
||||
ADVPNG = advpng -z -4
|
||||
-PKGCONFIG = pkg-config
|
||||
+PKGCONFIG ?= pkg-config
|
||||
DOXYGEN = doxygen
|
||||
DOXYGEN_SIMPLE_CONF = crawl_simple.doxy
|
||||
DOXYGEN_ALL_CONF = crawl_all.doxy
|
||||
@@ -1228,7 +1226,6 @@
|
||||
endif
|
||||
[ -d $(prefix_fp)/$(bin_prefix) ] || mkdir -p $(prefix_fp)/$(bin_prefix)
|
||||
$(COPY) $(GAME) $(prefix_fp)/$(bin_prefix)/
|
||||
- $(STRIP) $(prefix_fp)/$(bin_prefix)/$(GAME)
|
||||
mkdir -p $(datadir_fp)/dat/des
|
||||
mkdir -p $(datadir_fp)/dat/dlua
|
||||
mkdir -p $(datadir_fp)/dat/clua
|
||||
@@ -1570,7 +1567,7 @@
|
||||
|
||||
.PHONY: build-rltiles
|
||||
build-rltiles: .contrib-libs $(RLTILES)/dc-unrand.txt
|
||||
- +$(MAKE) -C $(RLTILES) all ARCH=$(ARCH) TILES=$(TILES)$(WEBTILES)
|
||||
+ +$(MAKE) -C $(RLTILES) all ARCH=$(ARCH) DEBUG=$(DEBUG) TILES=$(TILES)$(WEBTILES)
|
||||
|
||||
$(TILEDEFSRCS) $(TILEDEFHDRS) $(ORIGTILEFILES): build-rltiles
|
||||
|
||||
--- source/rltiles/Makefile
|
||||
+++ source/rltiles/Makefile
|
||||
@@ -1,7 +1,7 @@
|
||||
uname_S := $(shell uname -s)
|
||||
|
||||
ifneq (,$(findstring MINGW,$(uname_S)))
|
||||
-LDFLAGS += -lmingw32
|
||||
+LIBS += -lmingw32
|
||||
endif
|
||||
|
||||
# Note: since generation of tiles is done on the host, we don't care about
|
||||
@@ -10,7 +10,7 @@
|
||||
# Also, cross-compilation with no system libraries for host rather than target
|
||||
# is not supported. If host=target, contribs are enough.
|
||||
|
||||
-CFLAGS := -O2 -g -Wall -Wextra -Wno-parentheses -Wno-unused-parameter
|
||||
+CXXFLAGS += -Wall -Wextra -Wno-parentheses -Wno-unused-parameter
|
||||
|
||||
ifdef TILES
|
||||
ifndef CONTRIB_SDL
|
||||
@@ -29,24 +29,24 @@
|
||||
PNG_LIB := ../contrib/install/$(ARCH)/lib/libpng.a ../contrib/install/$(ARCH)/lib/libz.a
|
||||
endif
|
||||
|
||||
- CFLAGS += $(SDL_CFLAGS) $(PNG_INCLUDE)
|
||||
- LDFLAGS += $(SDL_LDFLAGS) $(PNG_LIB)
|
||||
+ CXXFLAGS += $(SDL_CFLAGS) $(PNG_INCLUDE)
|
||||
+ LIBS += $(SDL_LDFLAGS) $(PNG_LIB)
|
||||
|
||||
- CFLAGS += -DUSE_TILE
|
||||
+ CXXFLAGS += -DUSE_TILE
|
||||
endif
|
||||
|
||||
ifdef DEBUG
|
||||
-CFLAGS += -O0 -DDEBUG -ggdb
|
||||
+CXXFLAGS += -DDEBUG
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring MINGW,$(uname_S)))
|
||||
-LDFLAGS += -lgdi32 -lwinmm
|
||||
+LIBS += -lgdi32 -lwinmm
|
||||
endif
|
||||
ifeq ($(uname_S),Darwin)
|
||||
LDFLAGS += -framework AppKit -framework AudioUnit -framework Carbon -framework IOKit -framework OpenGL
|
||||
endif
|
||||
ifeq ($(uname_S),Linux)
|
||||
-LDFLAGS += -ldl -lpthread
|
||||
+LIBS += -ldl -lpthread
|
||||
endif
|
||||
|
||||
# Attempt to use a full compiler name, to make
|
||||
@@ -127,9 +127,9 @@
|
||||
distclean: clean
|
||||
|
||||
%.o: %.cc .cflags
|
||||
- $(QUIET_HOSTCXX)$(HOSTCXX) $(CFLAGS) -Wp,-MMD,$*.d,-MT,$@ -c $< -o $@
|
||||
+ $(CXX) $(CXXFLAGS) -Wp,-MD,$*.d,-MT,$@ -c $< -o $@
|
||||
|
||||
$(TILEGEN): $(OBJECTS)
|
||||
- $(QUIET_HOSTLINK)$(HOSTCXX) $(OBJECTS) -o $@ $(LDFLAGS)
|
||||
+ $(CXX) $(CXXFLAGS) $(OBJECTS) -o $@ $(LDFLAGS) $(LIBS)
|
||||
|
||||
.PHONY: all clean distclean
|
@ -1,99 +0,0 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Fri Oct 5 13:55:07 UTC 2012
|
||||
Subject: build system
|
||||
|
||||
respect flags and compiler
|
||||
|
||||
--- source/Makefile
|
||||
+++ source/Makefile
|
||||
@@ -101,7 +101,7 @@
|
||||
#
|
||||
|
||||
|
||||
-CFOTHERS := -pipe $(EXTERNAL_FLAGS)
|
||||
+CFOTHERS := $(EXTERNAL_FLAGS)
|
||||
CFWARN := -Wall -Wformat-security
|
||||
CFWARN_L := -Wundef
|
||||
|
||||
@@ -733,7 +733,6 @@
|
||||
DEFINES += -DFULLDEBUG
|
||||
endif
|
||||
ifdef DEBUG
|
||||
-CFOTHERS := -ggdb $(CFOTHERS)
|
||||
DEFINES += -DDEBUG
|
||||
endif
|
||||
ifndef NOWIZARD
|
||||
@@ -1488,7 +1487,7 @@
|
||||
# prove that tiles were generated properly
|
||||
grep tile_info rltiles/*.cc| head
|
||||
else
|
||||
- +$(MAKE) -C $(RLTILES) all ARCH=$(ARCH) TILES=$(TILES)$(WEBTILES)
|
||||
+ +$(MAKE) -C $(RLTILES) all V=$(V) ARCH=$(ARCH) DEBUG=$(DEBUG) TILES=$(TILES)$(WEBTILES)
|
||||
endif
|
||||
|
||||
$(TILEDEFSRCS) $(TILEDEFHDRS) $(ORIGTILEFILES): build-rltiles
|
||||
--- source/rltiles/Makefile
|
||||
+++ source/rltiles/Makefile
|
||||
@@ -1,7 +1,7 @@
|
||||
uname_S := $(shell uname -s)
|
||||
|
||||
ifneq (,$(findstring MINGW,$(uname_S)))
|
||||
-LDFLAGS += -lmingw32
|
||||
+LIBS += -lmingw32
|
||||
endif
|
||||
|
||||
# Note: since generation of tiles is done on the host, we don't care about
|
||||
@@ -10,7 +10,7 @@
|
||||
# Also, cross-compilation with no system libraries for host rather than target
|
||||
# is not supported. If host=target, contribs are enough.
|
||||
|
||||
-CFLAGS := -O2 -g -Wall -Wextra -Wno-parentheses -Wno-unused-parameter
|
||||
+CXXFLAGS += -Wall -Wextra -Wno-parentheses -Wno-unused-parameter
|
||||
|
||||
ifdef ANDROID
|
||||
CXXFLAGS :=
|
||||
@@ -35,24 +35,24 @@
|
||||
PNG_LIB := ../contrib/install/$(ARCH)/lib/libpng.a ../contrib/install/$(ARCH)/lib/libz.a
|
||||
endif
|
||||
|
||||
- CFLAGS += $(SDL_CFLAGS) $(PNG_INCLUDE)
|
||||
- LDFLAGS += $(SDL_LDFLAGS) $(PNG_LIB)
|
||||
+ CXXFLAGS += $(SDL_CFLAGS) $(PNG_INCLUDE)
|
||||
+ LIBS += $(SDL_LDFLAGS) $(PNG_LIB)
|
||||
|
||||
- CFLAGS += -DUSE_TILE
|
||||
+ CXXFLAGS += -DUSE_TILE
|
||||
endif
|
||||
|
||||
ifdef DEBUG
|
||||
-CFLAGS += -O0 -DDEBUG -ggdb
|
||||
+CXXFLAGS += -DDEBUG
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring MINGW,$(uname_S)))
|
||||
-LDFLAGS += -lgdi32 -lwinmm
|
||||
+LIBS += -lgdi32 -lwinmm
|
||||
endif
|
||||
ifeq ($(uname_S),Darwin)
|
||||
LDFLAGS += -framework AppKit -framework AudioUnit -framework Carbon -framework IOKit -framework OpenGL
|
||||
endif
|
||||
ifeq ($(uname_S),Linux)
|
||||
-LDFLAGS += -ldl -lpthread
|
||||
+LIBS += -ldl -lpthread
|
||||
endif
|
||||
|
||||
# Attempt to use a full compiler name, to make
|
||||
@@ -137,10 +137,10 @@
|
||||
|
||||
distclean: clean
|
||||
|
||||
-%.o: %.cc .cflags
|
||||
- $(QUIET_HOSTCXX)$(HOSTCXX) $(CFLAGS) -MMD -c $< -o $@
|
||||
+%.o: %.cc
|
||||
+ $(QUIET_HOSTLINK)$(HOSTCXX) $(CXXFLAGS) -c $< -o $@
|
||||
|
||||
$(TILEGEN): $(OBJECTS)
|
||||
- $(QUIET_HOSTLINK)$(HOSTCXX) $(OBJECTS) -o $@ $(LDFLAGS)
|
||||
+ $(QUIET_HOSTLINK)$(HOSTCXX) $(CXXFLAGS) $(OBJECTS) -o $@ $(LDFLAGS) $(LIBS)
|
||||
|
||||
.PHONY: all clean distclean
|
@ -1,99 +0,0 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Fri Oct 5 13:55:07 UTC 2012
|
||||
Subject: build system
|
||||
|
||||
respect flags and compiler
|
||||
|
||||
--- source/Makefile
|
||||
+++ source/Makefile
|
||||
@@ -101,7 +101,7 @@
|
||||
#
|
||||
|
||||
|
||||
-CFOTHERS := -pipe $(EXTERNAL_FLAGS)
|
||||
+CFOTHERS := $(EXTERNAL_FLAGS)
|
||||
CFWARN := -Wall -Wformat-security
|
||||
CFWARN_L := -Wundef
|
||||
|
||||
@@ -733,7 +733,6 @@
|
||||
DEFINES += -DFULLDEBUG
|
||||
endif
|
||||
ifdef DEBUG
|
||||
-CFOTHERS := -ggdb $(CFOTHERS)
|
||||
DEFINES += -DDEBUG
|
||||
endif
|
||||
ifndef NOWIZARD
|
||||
@@ -1488,7 +1487,7 @@
|
||||
# prove that tiles were generated properly
|
||||
grep tile_info rltiles/*.cc| head
|
||||
else
|
||||
- +$(MAKE) -C $(RLTILES) all ARCH=$(ARCH) TILES=$(TILES)$(WEBTILES)
|
||||
+ +$(MAKE) -C $(RLTILES) all V=$(V) ARCH=$(ARCH) DEBUG=$(DEBUG) TILES=$(TILES)$(WEBTILES)
|
||||
endif
|
||||
|
||||
$(TILEDEFSRCS) $(TILEDEFHDRS) $(ORIGTILEFILES): build-rltiles
|
||||
--- source/rltiles/Makefile
|
||||
+++ source/rltiles/Makefile
|
||||
@@ -1,7 +1,7 @@
|
||||
uname_S := $(shell uname -s)
|
||||
|
||||
ifneq (,$(findstring MINGW,$(uname_S)))
|
||||
-LDFLAGS += -lmingw32
|
||||
+LIBS += -lmingw32
|
||||
endif
|
||||
|
||||
# Note: since generation of tiles is done on the host, we don't care about
|
||||
@@ -10,7 +10,7 @@
|
||||
# Also, cross-compilation with no system libraries for host rather than target
|
||||
# is not supported. If host=target, contribs are enough.
|
||||
|
||||
-CFLAGS := -O2 -g -Wall -Wextra -Wno-parentheses -Wno-unused-parameter
|
||||
+CXXFLAGS += -Wall -Wextra -Wno-parentheses -Wno-unused-parameter
|
||||
|
||||
ifdef ANDROID
|
||||
CXXFLAGS :=
|
||||
@@ -35,24 +35,24 @@
|
||||
PNG_LIB := ../contrib/install/$(ARCH)/lib/libpng.a ../contrib/install/$(ARCH)/lib/libz.a
|
||||
endif
|
||||
|
||||
- CFLAGS += $(SDL_CFLAGS) $(PNG_INCLUDE)
|
||||
- LDFLAGS += $(SDL_LDFLAGS) $(PNG_LIB)
|
||||
+ CXXFLAGS += $(SDL_CFLAGS) $(PNG_INCLUDE)
|
||||
+ LIBS += $(SDL_LDFLAGS) $(PNG_LIB)
|
||||
|
||||
- CFLAGS += -DUSE_TILE
|
||||
+ CXXFLAGS += -DUSE_TILE
|
||||
endif
|
||||
|
||||
ifdef DEBUG
|
||||
-CFLAGS += -O0 -DDEBUG -ggdb
|
||||
+CXXFLAGS += -DDEBUG
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring MINGW,$(uname_S)))
|
||||
-LDFLAGS += -lgdi32 -lwinmm
|
||||
+LIBS += -lgdi32 -lwinmm
|
||||
endif
|
||||
ifeq ($(uname_S),Darwin)
|
||||
LDFLAGS += -framework AppKit -framework AudioUnit -framework Carbon -framework IOKit -framework OpenGL
|
||||
endif
|
||||
ifeq ($(uname_S),Linux)
|
||||
-LDFLAGS += -ldl -lpthread
|
||||
+LIBS += -ldl -lpthread
|
||||
endif
|
||||
|
||||
# Attempt to use a full compiler name, to make
|
||||
@@ -137,10 +137,10 @@
|
||||
|
||||
distclean: clean
|
||||
|
||||
-%.o: %.cc .cflags
|
||||
- $(QUIET_HOSTCXX)$(HOSTCXX) $(CFLAGS) -MMD -c $< -o $@
|
||||
+%.o: %.cc
|
||||
+ $(QUIET_HOSTLINK)$(HOSTCXX) $(CXXFLAGS) -c $< -o $@
|
||||
|
||||
$(TILEGEN): $(OBJECTS)
|
||||
- $(QUIET_HOSTLINK)$(HOSTCXX) $(OBJECTS) -o $@ $(LDFLAGS)
|
||||
+ $(QUIET_HOSTLINK)$(HOSTCXX) $(CXXFLAGS) $(OBJECTS) -o $@ $(LDFLAGS) $(LIBS)
|
||||
|
||||
.PHONY: all clean distclean
|
@ -1,99 +0,0 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Fri Oct 5 13:55:07 UTC 2012
|
||||
Subject: build system
|
||||
|
||||
respect flags and compiler
|
||||
|
||||
--- a/source/Makefile
|
||||
+++ b/source/Makefile
|
||||
@@ -101,7 +101,7 @@ include Makefile.obj
|
||||
#
|
||||
|
||||
|
||||
-CFOTHERS := -pipe $(EXTERNAL_FLAGS)
|
||||
+CFOTHERS := $(EXTERNAL_FLAGS)
|
||||
CFWARN := -Wall -Wformat-security
|
||||
CFWARN_L := -Wundef
|
||||
|
||||
@@ -747,7 +747,6 @@ ifdef FULLDEBUG
|
||||
DEFINES += -DFULLDEBUG
|
||||
endif
|
||||
ifdef DEBUG
|
||||
-CFOTHERS := -ggdb $(CFOTHERS)
|
||||
DEFINES += -DDEBUG
|
||||
endif
|
||||
ifndef NOWIZARD
|
||||
@@ -1513,7 +1512,7 @@ ifdef ANDROID
|
||||
# prove that tiles were generated properly
|
||||
grep tile_info rltiles/*.cc| head
|
||||
else
|
||||
- +$(MAKE) -C $(RLTILES) all ARCH=$(ARCH) TILES=$(TILES)$(WEBTILES)
|
||||
+ +$(MAKE) -C $(RLTILES) all V=$(V) ARCH=$(ARCH) DEBUG=$(DEBUG) TILES=$(TILES)$(WEBTILES)
|
||||
endif
|
||||
|
||||
$(TILEDEFSRCS) $(TILEDEFHDRS) $(ORIGTILEFILES): build-rltiles
|
||||
--- a/source/rltiles/Makefile
|
||||
+++ b/source/rltiles/Makefile
|
||||
@@ -1,7 +1,7 @@
|
||||
uname_S := $(shell uname -s)
|
||||
|
||||
ifneq (,$(findstring MINGW,$(uname_S)))
|
||||
-LDFLAGS += -lmingw32
|
||||
+LIBS += -lmingw32
|
||||
endif
|
||||
|
||||
# Note: since generation of tiles is done on the host, we don't care about
|
||||
@@ -10,7 +10,7 @@ endif
|
||||
# Also, cross-compilation with no system libraries for host rather than target
|
||||
# is not supported. If host=target, contribs are enough.
|
||||
|
||||
-CFLAGS := -O2 -g -Wall -Wextra -Wno-parentheses -Wno-unused-parameter
|
||||
+CXXFLAGS := -Wall -Wextra -Wno-parentheses -Wno-unused-parameter
|
||||
|
||||
ifdef ANDROID
|
||||
CXXFLAGS :=
|
||||
@@ -35,24 +35,24 @@ ifdef TILES
|
||||
PNG_LIB := ../contrib/install/$(ARCH)/lib/libpng.a ../contrib/install/$(ARCH)/lib/libz.a
|
||||
endif
|
||||
|
||||
- CFLAGS += $(SDL_CFLAGS) $(PNG_INCLUDE)
|
||||
- LDFLAGS += $(SDL_LDFLAGS) $(PNG_LIB)
|
||||
+ CXXFLAGS += $(SDL_CFLAGS) $(PNG_INCLUDE)
|
||||
+ LIBS += $(SDL_LDFLAGS) $(PNG_LIB)
|
||||
|
||||
- CFLAGS += -DUSE_TILE
|
||||
+ CXXFLAGS += -DUSE_TILE
|
||||
endif
|
||||
|
||||
ifdef DEBUG
|
||||
-CFLAGS += -O0 -DDEBUG -ggdb
|
||||
+CXXFLAGS += -DDEBUG
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring MINGW,$(uname_S)))
|
||||
-LDFLAGS += -lgdi32 -lwinmm
|
||||
+LIBS += -lgdi32 -lwinmm
|
||||
endif
|
||||
ifeq ($(uname_S),Darwin)
|
||||
LDFLAGS += -framework AppKit -framework AudioUnit -framework Carbon -framework IOKit -framework OpenGL
|
||||
endif
|
||||
ifeq ($(uname_S),Linux)
|
||||
-LDFLAGS += -ldl -lpthread
|
||||
+LIBS += -ldl -lpthread
|
||||
endif
|
||||
|
||||
# Attempt to use a full compiler name, to make
|
||||
@@ -137,10 +137,10 @@ clean:
|
||||
|
||||
distclean: clean
|
||||
|
||||
-%.o: %.cc .cflags
|
||||
- $(QUIET_HOSTCXX)$(HOSTCXX) $(CFLAGS) -MMD -c $< -o $@
|
||||
+%.o: %.cc
|
||||
+ $(QUIET_HOSTLINK)$(HOSTCXX) $(CXXFLAGS) -c $< -o $@
|
||||
|
||||
$(TILEGEN): $(OBJECTS)
|
||||
- $(QUIET_HOSTLINK)$(HOSTCXX) $(OBJECTS) -o $@ $(LDFLAGS)
|
||||
+ $(QUIET_HOSTLINK)$(HOSTCXX) $(CXXFLAGS) $(OBJECTS) -o $@ $(LDFLAGS) $(LIBS)
|
||||
|
||||
.PHONY: all clean distclean
|
@ -1,99 +0,0 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Fri Oct 5 13:55:07 UTC 2012
|
||||
Subject: build system
|
||||
|
||||
respect flags and compiler
|
||||
|
||||
--- a/source/Makefile
|
||||
+++ b/source/Makefile
|
||||
@@ -101,7 +101,7 @@ include Makefile.obj
|
||||
#
|
||||
|
||||
|
||||
-CFOTHERS := -pipe $(EXTERNAL_FLAGS)
|
||||
+CFOTHERS := $(EXTERNAL_FLAGS)
|
||||
CFWARN := -Wall -Wformat-security
|
||||
CFWARN_L := -Wundef
|
||||
|
||||
@@ -747,7 +747,6 @@ ifdef FULLDEBUG
|
||||
DEFINES += -DFULLDEBUG
|
||||
endif
|
||||
ifdef DEBUG
|
||||
-CFOTHERS := -ggdb $(CFOTHERS)
|
||||
DEFINES += -DDEBUG
|
||||
endif
|
||||
ifndef NOWIZARD
|
||||
@@ -1513,7 +1512,7 @@ ifdef ANDROID
|
||||
# prove that tiles were generated properly
|
||||
grep tile_info rltiles/*.cc| head
|
||||
else
|
||||
- +$(MAKE) -C $(RLTILES) all ARCH=$(ARCH) TILES=$(TILES)$(WEBTILES)
|
||||
+ +$(MAKE) -C $(RLTILES) all V=$(V) ARCH=$(ARCH) DEBUG=$(DEBUG) TILES=$(TILES)$(WEBTILES)
|
||||
endif
|
||||
|
||||
$(TILEDEFSRCS) $(TILEDEFHDRS) $(ORIGTILEFILES): build-rltiles
|
||||
--- a/source/rltiles/Makefile
|
||||
+++ b/source/rltiles/Makefile
|
||||
@@ -1,7 +1,7 @@
|
||||
uname_S := $(shell uname -s)
|
||||
|
||||
ifneq (,$(findstring MINGW,$(uname_S)))
|
||||
-LDFLAGS += -lmingw32
|
||||
+LIBS += -lmingw32
|
||||
endif
|
||||
|
||||
# Note: since generation of tiles is done on the host, we don't care about
|
||||
@@ -10,7 +10,7 @@ endif
|
||||
# Also, cross-compilation with no system libraries for host rather than target
|
||||
# is not supported. If host=target, contribs are enough.
|
||||
|
||||
-CFLAGS := -O2 -g -Wall -Wextra -Wno-parentheses -Wno-unused-parameter
|
||||
+CXXFLAGS := -Wall -Wextra -Wno-parentheses -Wno-unused-parameter
|
||||
|
||||
ifdef ANDROID
|
||||
CXXFLAGS :=
|
||||
@@ -35,24 +35,24 @@ ifdef TILES
|
||||
PNG_LIB := ../contrib/install/$(ARCH)/lib/libpng.a ../contrib/install/$(ARCH)/lib/libz.a
|
||||
endif
|
||||
|
||||
- CFLAGS += $(SDL_CFLAGS) $(PNG_INCLUDE)
|
||||
- LDFLAGS += $(SDL_LDFLAGS) $(PNG_LIB)
|
||||
+ CXXFLAGS += $(SDL_CFLAGS) $(PNG_INCLUDE)
|
||||
+ LIBS += $(SDL_LDFLAGS) $(PNG_LIB)
|
||||
|
||||
- CFLAGS += -DUSE_TILE
|
||||
+ CXXFLAGS += -DUSE_TILE
|
||||
endif
|
||||
|
||||
ifdef DEBUG
|
||||
-CFLAGS += -O0 -DDEBUG -ggdb
|
||||
+CXXFLAGS += -DDEBUG
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring MINGW,$(uname_S)))
|
||||
-LDFLAGS += -lgdi32 -lwinmm
|
||||
+LIBS += -lgdi32 -lwinmm
|
||||
endif
|
||||
ifeq ($(uname_S),Darwin)
|
||||
LDFLAGS += -framework AppKit -framework AudioUnit -framework Carbon -framework IOKit -framework OpenGL
|
||||
endif
|
||||
ifeq ($(uname_S),Linux)
|
||||
-LDFLAGS += -ldl -lpthread
|
||||
+LIBS += -ldl -lpthread
|
||||
endif
|
||||
|
||||
# Attempt to use a full compiler name, to make
|
||||
@@ -137,10 +137,10 @@ clean:
|
||||
|
||||
distclean: clean
|
||||
|
||||
-%.o: %.cc .cflags
|
||||
- $(QUIET_HOSTCXX)$(HOSTCXX) $(CFLAGS) -MMD -c $< -o $@
|
||||
+%.o: %.cc
|
||||
+ $(QUIET_HOSTLINK)$(HOSTCXX) $(CXXFLAGS) -c $< -o $@
|
||||
|
||||
$(TILEGEN): $(OBJECTS)
|
||||
- $(QUIET_HOSTLINK)$(HOSTCXX) $(OBJECTS) -o $@ $(LDFLAGS)
|
||||
+ $(QUIET_HOSTLINK)$(HOSTCXX) $(CXXFLAGS) $(OBJECTS) -o $@ $(LDFLAGS) $(LIBS)
|
||||
|
||||
.PHONY: all clean distclean
|
@ -1,134 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/stone-soup/stone-soup-0.11.2.ebuild,v 1.4 2013/05/14 09:41:29 ago Exp $
|
||||
|
||||
## TODO
|
||||
# add sound support (no build switch, no sound files)
|
||||
|
||||
EAPI=5
|
||||
VIRTUALX_REQUIRED="manual"
|
||||
inherit eutils gnome2-utils virtualx games
|
||||
|
||||
MY_P="stone_soup-${PV}"
|
||||
DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons"
|
||||
HOMEPAGE="http://crawl.develz.org/wordpress/"
|
||||
SRC_URI="mirror://sourceforge/crawl-ref/Stone%20Soup/${PV}/${MY_P}-nodeps.tar.xz
|
||||
http://dev.gentoo.org/~hasufell/distfiles/${PN}.png
|
||||
http://dev.gentoo.org/~hasufell/distfiles/${PN}.svg"
|
||||
|
||||
# 3-clause BSD: mt19937ar.cc, MSVC/stdint.h
|
||||
# 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs
|
||||
# Public Domain|CC0: most of tiles
|
||||
# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/
|
||||
LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug ncurses test +tiles"
|
||||
# test is broken
|
||||
# see https://crawl.develz.org/mantis/view.php?id=6121
|
||||
#RESTRICT="!debug? ( test )"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-db/sqlite:3
|
||||
sys-libs/zlib
|
||||
tiles? (
|
||||
media-libs/freetype:2
|
||||
media-libs/libpng:0
|
||||
media-libs/libsdl[X,opengl,video]
|
||||
media-libs/sdl-image[png]
|
||||
)
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
>=dev-lang/lua-5.1.0[deprecated]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
sys-devel/flex
|
||||
virtual/yacc
|
||||
tiles? (
|
||||
sys-libs/ncurses
|
||||
virtual/pkgconfig
|
||||
test? ( ${VIRTUALX_DEPEND} )
|
||||
)"
|
||||
|
||||
REQUIRED_USE="|| ( ncurses tiles )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/source
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-build.patch
|
||||
|
||||
# if use test ; then
|
||||
# cp -av "${WORKDIR}/${MY_P}" "${WORKDIR}/${MY_P}_test" \
|
||||
# || die "setting up test-dir failed"
|
||||
# fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
S_TEST=${WORKDIR}/${MY_P}_test/source
|
||||
|
||||
# leave DATADIR at the top
|
||||
myemakeargs=(
|
||||
DATADIR="${GAMES_DATADIR}/${PN}"
|
||||
V=1
|
||||
prefix="${GAMES_PREFIX}"
|
||||
SAVEDIR="~/.crawl"
|
||||
$(usex debug "FULLDEBUG=y DEBUG=y" "")
|
||||
)
|
||||
|
||||
if use ncurses ; then
|
||||
emake ${myemakeargs[@]}
|
||||
# move it in case we build both variants
|
||||
use tiles && { mv crawl "${WORKDIR}"/crawl-ncurses || die ;}
|
||||
fi
|
||||
|
||||
if use tiles ; then
|
||||
emake clean
|
||||
emake ${myemakeargs[@]} "TILES=y"
|
||||
fi
|
||||
|
||||
# for test to work we need to compile with unset DATADIR
|
||||
# if use test ; then
|
||||
# emake ${myemakeargs[@]:1} -C "${S_TEST}"
|
||||
# fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake ${myemakeargs[@]} $(usex tiles "TILES=y" "") DESTDIR="${D}" install
|
||||
[[ -e "${WORKDIR}"/crawl-ncurses ]] && dogamesbin "${WORKDIR}"/crawl-ncurses
|
||||
|
||||
# don't relocate docs, needed at runtime
|
||||
rm -rf "${D}${GAMES_DATADIR}"/${PN}/docs/license
|
||||
dodoc "${WORKDIR}"/${MY_P}/README.{txt,pdf}
|
||||
|
||||
# icons and menu for graphical build
|
||||
if use tiles ; then
|
||||
doicon -s 48 "${DISTDIR}"/${PN}.png
|
||||
doicon -s scalable "${DISTDIR}"/${PN}.svg
|
||||
make_desktop_entry crawl
|
||||
fi
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
$(usex tiles "X" "")emake ${myemakeargs[@]:1} -C "${S_TEST}" test
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
|
||||
echo
|
||||
elog "Your old config folder under '~/.crawl' is not compatible"
|
||||
elog "with the new version. Remove it."
|
||||
echo
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,148 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/stone-soup/stone-soup-0.12.2.ebuild,v 1.4 2013/07/07 12:05:11 ago Exp $
|
||||
|
||||
## TODO
|
||||
# add sound support (no build switch, no sound files)
|
||||
|
||||
# cross compiling is severly broken
|
||||
|
||||
EAPI=5
|
||||
VIRTUALX_REQUIRED="manual"
|
||||
inherit eutils gnome2-utils virtualx toolchain-funcs games
|
||||
|
||||
MY_P="stone_soup-${PV}"
|
||||
DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons"
|
||||
HOMEPAGE="http://crawl.develz.org/wordpress/"
|
||||
SRC_URI="mirror://sourceforge/crawl-ref/Stone%20Soup/${PV}/${MY_P}-nodeps.tar.xz
|
||||
http://dev.gentoo.org/~hasufell/distfiles/${PN}.png
|
||||
http://dev.gentoo.org/~hasufell/distfiles/${PN}.svg"
|
||||
|
||||
# 3-clause BSD: mt19937ar.cc, MSVC/stdint.h
|
||||
# 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs
|
||||
# Public Domain|CC0: most of tiles
|
||||
# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/
|
||||
LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug ncurses test +tiles"
|
||||
REQUIRED_USE="|| ( ncurses tiles )"
|
||||
# test is broken
|
||||
# see https://crawl.develz.org/mantis/view.php?id=6121
|
||||
#RESTRICT="!debug? ( test )"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-db/sqlite:3
|
||||
>=dev-lang/lua-5.1.0[deprecated]
|
||||
sys-libs/zlib
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
tiles? (
|
||||
media-fonts/dejavu
|
||||
media-libs/freetype:2
|
||||
media-libs/libpng:0
|
||||
media-libs/libsdl[X,opengl,video]
|
||||
media-libs/sdl-image[png]
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
tiles? (
|
||||
sys-libs/ncurses
|
||||
test? ( ${VIRTUALX_DEPEND} )
|
||||
)"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/source
|
||||
S_TEST=${WORKDIR}/${MY_P}_test/source
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-build.patch
|
||||
|
||||
# if use test ; then
|
||||
# cp -av "${WORKDIR}/${MY_P}" "${WORKDIR}/${MY_P}_test" \
|
||||
# || die "setting up test-dir failed"
|
||||
# fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export HOSTCXX=$(tc-getBUILD_CXX)
|
||||
|
||||
# leave DATADIR at the top
|
||||
myemakeargs=(
|
||||
DATADIR="${GAMES_DATADIR}/${PN}"
|
||||
V=1
|
||||
prefix="${GAMES_PREFIX}"
|
||||
SAVEDIR="~/.crawl"
|
||||
$(usex debug "FULLDEBUG=y DEBUG=y" "")
|
||||
CFOPTIMIZE="${CXXFLAGS}"
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
MAKEOPTS="${MAKEOPTS}"
|
||||
AR="$(tc-getAR)"
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
PKGCONFIG="$(tc-getPKG_CONFIG)"
|
||||
STRIP=touch
|
||||
)
|
||||
|
||||
if use ncurses ; then
|
||||
emake "${myemakeargs[@]}"
|
||||
# move it in case we build both variants
|
||||
use tiles && { mv crawl "${WORKDIR}"/crawl-ncurses || die ;}
|
||||
fi
|
||||
|
||||
if use tiles ; then
|
||||
emake clean
|
||||
emake "${myemakeargs[@]}" "TILES=y"
|
||||
fi
|
||||
|
||||
# for test to work we need to compile with unset DATADIR
|
||||
# if use test ; then
|
||||
# emake ${myemakeargs[@]:1} -C "${S_TEST}"
|
||||
# fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${myemakeargs[@]}" $(usex tiles "TILES=y" "") DESTDIR="${D}" install
|
||||
[[ -e "${WORKDIR}"/crawl-ncurses ]] && dogamesbin "${WORKDIR}"/crawl-ncurses
|
||||
|
||||
# don't relocate docs, needed at runtime
|
||||
rm -rf "${D}${GAMES_DATADIR}"/${PN}/docs/license
|
||||
dodoc "${WORKDIR}"/${MY_P}/README.{txt,pdf}
|
||||
|
||||
# icons and menu for graphical build
|
||||
if use tiles ; then
|
||||
doicon -s 48 "${DISTDIR}"/${PN}.png
|
||||
doicon -s scalable "${DISTDIR}"/${PN}.svg
|
||||
make_desktop_entry crawl
|
||||
fi
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
$(usex tiles "X" "")emake "${myemakeargs[@]:1}" -C "${S_TEST}" test
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
|
||||
echo
|
||||
elog "Your old config folder under '~/.crawl' is not compatible"
|
||||
elog "with the new version. Remove it."
|
||||
echo
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,143 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/stone-soup/stone-soup-0.12.3.ebuild,v 1.1 2013/09/23 14:06:40 hasufell Exp $
|
||||
|
||||
## TODO
|
||||
# add sound support (no build switch, no sound files)
|
||||
|
||||
# cross compiling is severly broken
|
||||
|
||||
EAPI=5
|
||||
VIRTUALX_REQUIRED="manual"
|
||||
inherit eutils gnome2-utils virtualx toolchain-funcs games
|
||||
|
||||
MY_P="stone_soup-${PV}"
|
||||
DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons"
|
||||
HOMEPAGE="http://crawl.develz.org/wordpress/"
|
||||
SRC_URI="mirror://sourceforge/crawl-ref/Stone%20Soup/${PV}/${MY_P}-nodeps.tar.xz
|
||||
http://dev.gentoo.org/~hasufell/distfiles/${PN}.png
|
||||
http://dev.gentoo.org/~hasufell/distfiles/${PN}.svg"
|
||||
|
||||
# 3-clause BSD: mt19937ar.cc, MSVC/stdint.h
|
||||
# 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs
|
||||
# Public Domain|CC0: most of tiles
|
||||
# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/
|
||||
LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug ncurses test +tiles"
|
||||
REQUIRED_USE="|| ( ncurses tiles )"
|
||||
# test is broken
|
||||
# see https://crawl.develz.org/mantis/view.php?id=6121
|
||||
#RESTRICT="!debug? ( test )"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-db/sqlite:3
|
||||
>=dev-lang/lua-5.1.0[deprecated]
|
||||
sys-libs/zlib
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
tiles? (
|
||||
media-fonts/dejavu
|
||||
media-libs/freetype:2
|
||||
media-libs/libpng:0
|
||||
media-libs/libsdl[X,opengl,video]
|
||||
media-libs/sdl-image[png]
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
tiles? (
|
||||
sys-libs/ncurses
|
||||
test? ( ${VIRTUALX_DEPEND} )
|
||||
)"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/source
|
||||
S_TEST=${WORKDIR}/${MY_P}_test/source
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-build.patch
|
||||
|
||||
# if use test ; then
|
||||
# cp -av "${WORKDIR}/${MY_P}" "${WORKDIR}/${MY_P}_test" \
|
||||
# || die "setting up test-dir failed"
|
||||
# fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export HOSTCXX=$(tc-getBUILD_CXX)
|
||||
|
||||
# leave DATADIR at the top
|
||||
myemakeargs=(
|
||||
DATADIR="${GAMES_DATADIR}/${PN}"
|
||||
V=1
|
||||
prefix="${GAMES_PREFIX}"
|
||||
SAVEDIR="~/.crawl"
|
||||
$(usex debug "FULLDEBUG=y DEBUG=y" "")
|
||||
CFOPTIMIZE="${CXXFLAGS}"
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
MAKEOPTS="${MAKEOPTS}"
|
||||
AR="$(tc-getAR)"
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
PKGCONFIG="$(tc-getPKG_CONFIG)"
|
||||
STRIP=touch
|
||||
)
|
||||
|
||||
if use ncurses ; then
|
||||
emake "${myemakeargs[@]}"
|
||||
# move it in case we build both variants
|
||||
use tiles && { mv crawl "${WORKDIR}"/crawl-ncurses || die ;}
|
||||
fi
|
||||
|
||||
if use tiles ; then
|
||||
emake clean
|
||||
emake "${myemakeargs[@]}" "TILES=y"
|
||||
fi
|
||||
|
||||
# for test to work we need to compile with unset DATADIR
|
||||
# if use test ; then
|
||||
# emake ${myemakeargs[@]:1} -C "${S_TEST}"
|
||||
# fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${myemakeargs[@]}" $(usex tiles "TILES=y" "") DESTDIR="${D}" install
|
||||
[[ -e "${WORKDIR}"/crawl-ncurses ]] && dogamesbin "${WORKDIR}"/crawl-ncurses
|
||||
|
||||
# don't relocate docs, needed at runtime
|
||||
rm -rf "${D}${GAMES_DATADIR}"/${PN}/docs/license
|
||||
dodoc "${WORKDIR}"/${MY_P}/README.{txt,pdf}
|
||||
|
||||
# icons and menu for graphical build
|
||||
if use tiles ; then
|
||||
doicon -s 48 "${DISTDIR}"/${PN}.png
|
||||
doicon -s scalable "${DISTDIR}"/${PN}.svg
|
||||
make_desktop_entry crawl
|
||||
fi
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
$(usex tiles "X" "")emake "${myemakeargs[@]:1}" -C "${S_TEST}" test
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,145 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/stone-soup/stone-soup-0.13.0.ebuild,v 1.3 2013/12/24 12:44:34 ago Exp $
|
||||
|
||||
## TODO
|
||||
# add sound support (no build switch, no sound files)
|
||||
|
||||
# check if luajit works
|
||||
|
||||
# cross compiling is severly broken
|
||||
|
||||
EAPI=5
|
||||
VIRTUALX_REQUIRED="manual"
|
||||
inherit eutils gnome2-utils virtualx toolchain-funcs games
|
||||
|
||||
MY_P="stone_soup-${PV}"
|
||||
DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons"
|
||||
HOMEPAGE="http://crawl.develz.org/wordpress/"
|
||||
SRC_URI="mirror://sourceforge/crawl-ref/Stone%20Soup/${PV}/${MY_P}-nodeps.tar.xz
|
||||
http://dev.gentoo.org/~hasufell/distfiles/${PN}.png
|
||||
http://dev.gentoo.org/~hasufell/distfiles/${PN}.svg"
|
||||
|
||||
# 3-clause BSD: mt19937ar.cc, MSVC/stdint.h
|
||||
# 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs
|
||||
# Public Domain|CC0: most of tiles
|
||||
# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/
|
||||
LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug ncurses test +tiles"
|
||||
REQUIRED_USE="|| ( ncurses tiles )"
|
||||
# test is broken
|
||||
# see https://crawl.develz.org/mantis/view.php?id=6121
|
||||
#RESTRICT="!debug? ( test )"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-db/sqlite:3
|
||||
>=dev-lang/lua-5.1.0[deprecated]
|
||||
sys-libs/zlib
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
tiles? (
|
||||
media-fonts/dejavu
|
||||
media-libs/freetype:2
|
||||
media-libs/libpng:0
|
||||
media-libs/libsdl[X,opengl,video]
|
||||
media-libs/sdl-image[png]
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
tiles? (
|
||||
sys-libs/ncurses
|
||||
test? ( ${VIRTUALX_DEPEND} )
|
||||
)"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/source
|
||||
S_TEST=${WORKDIR}/${MY_P}_test/source
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-build.patch
|
||||
|
||||
# if use test ; then
|
||||
# cp -av "${WORKDIR}/${MY_P}" "${WORKDIR}/${MY_P}_test" \
|
||||
# || die "setting up test-dir failed"
|
||||
# fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export HOSTCXX=$(tc-getBUILD_CXX)
|
||||
|
||||
# leave DATADIR at the top
|
||||
myemakeargs=(
|
||||
DATADIR="${GAMES_DATADIR}/${PN}"
|
||||
V=1
|
||||
prefix="${GAMES_PREFIX}"
|
||||
SAVEDIR="~/.crawl"
|
||||
$(usex debug "FULLDEBUG=y DEBUG=y" "")
|
||||
CFOPTIMIZE="${CXXFLAGS}"
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
MAKEOPTS="${MAKEOPTS}"
|
||||
AR="$(tc-getAR)"
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
PKGCONFIG="$(tc-getPKG_CONFIG)"
|
||||
STRIP=touch
|
||||
)
|
||||
|
||||
if use ncurses ; then
|
||||
emake "${myemakeargs[@]}"
|
||||
# move it in case we build both variants
|
||||
use tiles && { mv crawl "${WORKDIR}"/crawl-ncurses || die ;}
|
||||
fi
|
||||
|
||||
if use tiles ; then
|
||||
emake clean
|
||||
emake "${myemakeargs[@]}" "TILES=y"
|
||||
fi
|
||||
|
||||
# for test to work we need to compile with unset DATADIR
|
||||
# if use test ; then
|
||||
# emake ${myemakeargs[@]:1} -C "${S_TEST}"
|
||||
# fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${myemakeargs[@]}" $(usex tiles "TILES=y" "") DESTDIR="${D}" install
|
||||
[[ -e "${WORKDIR}"/crawl-ncurses ]] && dogamesbin "${WORKDIR}"/crawl-ncurses
|
||||
|
||||
# don't relocate docs, needed at runtime
|
||||
rm -rf "${D}${GAMES_DATADIR}"/${PN}/docs/license
|
||||
dodoc "${WORKDIR}"/${MY_P}/README.{txt,pdf}
|
||||
|
||||
# icons and menu for graphical build
|
||||
if use tiles ; then
|
||||
doicon -s 48 "${DISTDIR}"/${PN}.png
|
||||
doicon -s scalable "${DISTDIR}"/${PN}.svg
|
||||
make_desktop_entry crawl
|
||||
fi
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
$(usex tiles "X" "")emake "${myemakeargs[@]:1}" -C "${S_TEST}" test
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,145 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/stone-soup/stone-soup-0.14.0.ebuild,v 1.1 2014/04/22 13:31:00 hasufell Exp $
|
||||
|
||||
## TODO
|
||||
# add sound support (no build switch, no sound files)
|
||||
|
||||
# check if luajit works
|
||||
|
||||
# cross compiling is severly broken
|
||||
|
||||
EAPI=5
|
||||
VIRTUALX_REQUIRED="manual"
|
||||
inherit eutils gnome2-utils virtualx toolchain-funcs games
|
||||
|
||||
MY_P="stone_soup-${PV}"
|
||||
DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons"
|
||||
HOMEPAGE="http://crawl.develz.org/wordpress/"
|
||||
SRC_URI="mirror://sourceforge/crawl-ref/Stone%20Soup/${PV}/${MY_P}-nodeps.tar.xz
|
||||
http://dev.gentoo.org/~hasufell/distfiles/${PN}.png
|
||||
http://dev.gentoo.org/~hasufell/distfiles/${PN}.svg"
|
||||
|
||||
# 3-clause BSD: mt19937ar.cc, MSVC/stdint.h
|
||||
# 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs
|
||||
# Public Domain|CC0: most of tiles
|
||||
# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/
|
||||
LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug ncurses test +tiles"
|
||||
REQUIRED_USE="|| ( ncurses tiles )"
|
||||
# test is broken
|
||||
# see https://crawl.develz.org/mantis/view.php?id=6121
|
||||
#RESTRICT="!debug? ( test )"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-db/sqlite:3
|
||||
>=dev-lang/lua-5.1.0[deprecated]
|
||||
sys-libs/zlib
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
tiles? (
|
||||
media-fonts/dejavu
|
||||
media-libs/freetype:2
|
||||
media-libs/libpng:0
|
||||
media-libs/libsdl[X,opengl,video]
|
||||
media-libs/sdl-image[png]
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
tiles? (
|
||||
sys-libs/ncurses
|
||||
test? ( ${VIRTUALX_DEPEND} )
|
||||
)"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/source
|
||||
S_TEST=${WORKDIR}/${MY_P}_test/source
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-build.patch
|
||||
|
||||
# if use test ; then
|
||||
# cp -av "${WORKDIR}/${MY_P}" "${WORKDIR}/${MY_P}_test" \
|
||||
# || die "setting up test-dir failed"
|
||||
# fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export HOSTCXX=$(tc-getBUILD_CXX)
|
||||
|
||||
# leave DATADIR at the top
|
||||
myemakeargs=(
|
||||
DATADIR="${GAMES_DATADIR}/${PN}"
|
||||
V=1
|
||||
prefix="${GAMES_PREFIX}"
|
||||
SAVEDIR="~/.crawl"
|
||||
$(usex debug "FULLDEBUG=y DEBUG=y" "")
|
||||
CFOPTIMIZE="${CXXFLAGS}"
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
MAKEOPTS="${MAKEOPTS}"
|
||||
AR="$(tc-getAR)"
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
PKGCONFIG="$(tc-getPKG_CONFIG)"
|
||||
STRIP=touch
|
||||
)
|
||||
|
||||
if use ncurses ; then
|
||||
emake "${myemakeargs[@]}"
|
||||
# move it in case we build both variants
|
||||
use tiles && { mv crawl "${WORKDIR}"/crawl-ncurses || die ;}
|
||||
fi
|
||||
|
||||
if use tiles ; then
|
||||
emake clean
|
||||
emake "${myemakeargs[@]}" "TILES=y"
|
||||
fi
|
||||
|
||||
# for test to work we need to compile with unset DATADIR
|
||||
# if use test ; then
|
||||
# emake ${myemakeargs[@]:1} -C "${S_TEST}"
|
||||
# fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${myemakeargs[@]}" $(usex tiles "TILES=y" "") DESTDIR="${D}" install
|
||||
[[ -e "${WORKDIR}"/crawl-ncurses ]] && dogamesbin "${WORKDIR}"/crawl-ncurses
|
||||
|
||||
# don't relocate docs, needed at runtime
|
||||
rm -rf "${D}${GAMES_DATADIR}"/${PN}/docs/license
|
||||
dodoc "${WORKDIR}"/${MY_P}/README.{txt,pdf}
|
||||
|
||||
# icons and menu for graphical build
|
||||
if use tiles ; then
|
||||
doicon -s 48 "${DISTDIR}"/${PN}.png
|
||||
doicon -s scalable "${DISTDIR}"/${PN}.svg
|
||||
make_desktop_entry crawl
|
||||
fi
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
$(usex tiles "X" "")emake "${myemakeargs[@]:1}" -C "${S_TEST}" test
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST 147453-photo-0.7.1.1.tar.gz 343026 SHA256 e93d03208b5be97ac8dd1234fcfa18801521f2a1c24f411db42d5863be487a24
|
||||
DIST photo-0.8.tar.gz 241142 SHA256 123f8cfa8e86dd131147b58e1c94a138bb9d3e5873f29b550cc960e83b2c4f5f SHA512 b5b8700a4f15e4ce880c5558247cc0e96e59df21c0674f57e202b5d6474e1ef0a251d5be391e795b230c4959251e194ec4a1c87e75075ee9ae501d3e18c4e32f WHIRLPOOL c6ff5a3a41cdfac0c54593dfbabb35bcb903b592809f698cf7d7c56bce05b1a29c31d8db7031392819481188f563bcf67e997cec24acd0a0842a311efaa76529
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/photo/photo-0.7.1.1.ebuild,v 1.2 2013/03/02 21:39:03 hwoarang Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Simple but powerful Qt4-based image viewer"
|
||||
HOMEPAGE="http://qt-apps.org/content/show.php/Photo?content=147453"
|
||||
SRC_URI="http://qt-apps.org/CONTENT/content-files/147453-${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-gfx/exiv2
|
||||
dev-qt/qtgui:4"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-install-desktop.patch
|
||||
}
|
||||
|
||||
#TODO: translations
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/photo/photo-0.8-r1.ebuild,v 1.1 2014/08/19 23:52:12 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Simple but powerful Qt4-based image viewer"
|
||||
HOMEPAGE="http://photoqt.co.cc/"
|
||||
SRC_URI="http://photoqt.co.cc/pkgs/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtsql:4
|
||||
media-gfx/exiv2:=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.7.1.1-install-desktop.patch"
|
||||
)
|
||||
|
||||
# TODO: translations
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/photo/photo-0.8.ebuild,v 1.2 2013/03/02 21:39:03 hwoarang Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Simple but powerful Qt4-based image viewer"
|
||||
HOMEPAGE="http://photoqt.co.cc/"
|
||||
SRC_URI="http://photoqt.co.cc/pkgs/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-gfx/exiv2
|
||||
dev-qt/qtgui:4"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.7.1.1-install-desktop.patch
|
||||
}
|
||||
|
||||
#TODO: translations
|
@ -0,0 +1 @@
|
||||
DIST libmpris2client-0.1.0.tar.bz2 287862 SHA256 2f4abd8f1cedb687574bcf1a98c34bf4476b87b088dc0741ca8239f84494e0dd SHA512 29926a60c2da71c78b38154ff39e310785e089abac756a5e1adea71f9f33975028a3110473a07c2cf56271fa978400d1249e5cab44c4bdd440f48ef37775ca44 WHIRLPOOL 9dc3ef783ad36ffdb2ee6a97b66890a3e2c96349494c842d969153367cb0e8cfdf2742bed713849b322e501f2574d5a2b17cd0530ab7a0d2058f68d99a626aa2
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpris2client/libmpris2client-0.1.0.ebuild,v 1.1 2014/08/20 11:43:38 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils gnome2-utils
|
||||
|
||||
DESCRIPTION="An library to control MPRIS2 compatible players"
|
||||
HOMEPAGE="http://github.com/matiasdelellis/libmpris2client"
|
||||
SRC_URI="http://github.com/matiasdelellis/${PN}/releases/download/V${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2
|
||||
x11-libs/gtk+:2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS="AUTHORS NEWS README TODO"
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
||||
|
||||
pkg_preinst() { gnome2_icon_savelist; }
|
||||
pkg_postinst() { gnome2_icon_cache_update; }
|
||||
pkg_postrm() { gnome2_icon_cache_update; }
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>xfce</herd>
|
||||
</pkgmetadata>
|
@ -1,3 +1,4 @@
|
||||
DIST v4l-utils-0.8.9.tar.bz2 460681 SHA256 3e5511c252b3c320d0b03418f7ee19b42d00ed0871c6b525779007416e46d08e SHA512 3778dbd4d0bb44c6f4762a8551625c1f5bfcf7a10de33c71c2442483d496bc177aef979b747b327f4eca3229fc22eec484de7308588acf9fc48ae6d1d5edee40 WHIRLPOOL 346d2c23c5e8b8ac3128100cf660b1f4880ec5fffd3fa107accf7f536adeacc945cb9aadd61f2f99a6fd32bd7a44912680d2cf867f0a84f28c949707634c676f
|
||||
DIST v4l-utils-0.9.5.tar.bz2 975311 SHA256 6c9f1be981d5763069e0969ebe426c39da5a7d738865367e390e3b486f1b502c SHA512 219a789907279ce4532d53989f1efe5cac7bbf0971a215c4e6e42228510c88f52ed2d7a4ce80d2f6673af9c0e5acd99160b6b3e6475f7a7a80534ce867a52a63 WHIRLPOOL 716e7a8ff82b899ea18772a36d5520c5242effbff819bf30e73c7b29d087f0ed055a013fb20c469660317acf1f2df826255ce564ed318468cb0f72af39ebf47a
|
||||
DIST v4l-utils-1.0.0.tar.bz2 963427 SHA256 1de3882099e04e89e354675ee408b82c8ac8afd3ca6ab27ea321771901285f30 SHA512 19e31167015623f50f93dc27becb8f053ca7488ffc41e275c195cb46af63671a0cec6cecea71d90a43b3b01b47f6e6cc2f44517dddd3c2c376bb1d82f770117e WHIRLPOOL 133d85232457545a828e783ca503d368a5da814ab51d70648ef9a727947a21a07bf82e8ebdcbc48b4fc9a139bdff22c73f0dd1ad666cf8f8a051f7df93e4f2fe
|
||||
DIST v4l-utils-1.2.1.tar.bz2 1042071 SHA256 9b658fbcaaf8127115316e07fea314aebc21dd6dc3491cd8753a768521c4b9af SHA512 d70f2ea53b7e687aaafb3d59ba5d4d045ecbac731926f37cdd40f1d9d41ac14250055d1caa55dd2602bf86b2b80210ab63cc44208cc94570ebbcb48a70e067a5 WHIRLPOOL 99ca9702062e173ab2180cc99334881735ace042a621adc7acb7b6093b5a66bf79c51a073b550eea2e5c02f36e414a48b6138f0b2185bfe8de1b4667dceeaf5b
|
||||
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libv4l/libv4l-1.2.1.ebuild,v 1.1 2014/08/20 04:15:13 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils linux-info udev multilib-minimal
|
||||
|
||||
MY_P=v4l-utils-${PV}
|
||||
|
||||
DESCRIPTION="Separate libraries ebuild from upstream v4l-utils package"
|
||||
HOMEPAGE="http://git.linuxtv.org/v4l-utils.git"
|
||||
SRC_URI="http://linuxtv.org/downloads/v4l-utils/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
# The libraries only link to -ljpeg, therefore multilib depend only for virtual/jpeg.
|
||||
RDEPEND=">=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}]
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
x11-libs/libX11:=
|
||||
!media-tv/v4l2-ctl
|
||||
!<media-tv/ivtv-utils-1.4.0-r2
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r5
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/os-headers
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK="~SHMEM"
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
--disable-static \
|
||||
--disable-qv4l2 \
|
||||
--disable-v4l-utils \
|
||||
--with-udevdir="$(get_udevdir)"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake -C lib
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake -j1 -C lib DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc ChangeLog README.lib* TODO
|
||||
prune_libtool_files --all
|
||||
}
|
@ -0,0 +1,530 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-10.2.6.ebuild,v 1.1 2014/08/19 22:49:14 mattst88 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/mesa/mesa"
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
GIT_ECLASS="git-r3"
|
||||
EXPERIMENTAL="true"
|
||||
fi
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit base autotools multilib multilib-minimal flag-o-matic \
|
||||
python-any-r1 toolchain-funcs pax-utils ${GIT_ECLASS}
|
||||
|
||||
OPENGL_DIR="xorg-x11"
|
||||
|
||||
MY_PN="${PN/m/M}"
|
||||
MY_P="${MY_PN}-${PV/_/-}"
|
||||
MY_SRC_P="${MY_PN}Lib-${PV/_/-}"
|
||||
|
||||
FOLDER="${PV/.0_rc*/}"
|
||||
|
||||
DESCRIPTION="OpenGL-like graphic library for Linux"
|
||||
HOMEPAGE="http://mesa3d.sourceforge.net/"
|
||||
|
||||
#SRC_PATCHES="mirror://gentoo/${P}-gentoo-patches-01.tar.bz2"
|
||||
if [[ $PV = 9999* ]]; then
|
||||
SRC_URI="${SRC_PATCHES}"
|
||||
else
|
||||
SRC_URI="ftp://ftp.freedesktop.org/pub/mesa/${FOLDER}/${MY_SRC_P}.tar.bz2
|
||||
${SRC_PATCHES}"
|
||||
fi
|
||||
|
||||
# The code is MIT/X11.
|
||||
# GLES[2]/gl[2]{,ext,platform}.h are SGI-B-2.0
|
||||
LICENSE="MIT SGI-B-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
INTEL_CARDS="i915 i965 ilo intel"
|
||||
RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
|
||||
VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} freedreno nouveau vmware"
|
||||
for card in ${VIDEO_CARDS}; do
|
||||
IUSE_VIDEO_CARDS+=" video_cards_${card}"
|
||||
done
|
||||
|
||||
IUSE="${IUSE_VIDEO_CARDS}
|
||||
bindist +classic debug +dri3 +egl +gallium gbm gles1 gles2 +llvm +nptl
|
||||
opencl openvg osmesa pax_kernel openmax pic r600-llvm-compiler selinux
|
||||
vdpau wayland xvmc xa kernel_FreeBSD"
|
||||
|
||||
REQUIRED_USE="
|
||||
llvm? ( gallium )
|
||||
openvg? ( egl gallium )
|
||||
opencl? (
|
||||
gallium
|
||||
video_cards_r600? ( r600-llvm-compiler )
|
||||
video_cards_radeon? ( r600-llvm-compiler )
|
||||
video_cards_radeonsi? ( r600-llvm-compiler )
|
||||
)
|
||||
openmax? ( gallium )
|
||||
gles1? ( egl )
|
||||
gles2? ( egl )
|
||||
r600-llvm-compiler? ( gallium llvm || ( video_cards_r600 video_cards_radeonsi video_cards_radeon ) )
|
||||
wayland? ( egl gbm )
|
||||
xa? ( gallium )
|
||||
video_cards_freedreno? ( gallium )
|
||||
video_cards_intel? ( || ( classic gallium ) )
|
||||
video_cards_i915? ( || ( classic gallium ) )
|
||||
video_cards_i965? ( classic )
|
||||
video_cards_ilo? ( gallium )
|
||||
video_cards_nouveau? ( || ( classic gallium ) )
|
||||
video_cards_radeon? ( || ( classic gallium ) )
|
||||
video_cards_r100? ( classic )
|
||||
video_cards_r200? ( classic )
|
||||
video_cards_r300? ( gallium )
|
||||
video_cards_r600? ( gallium )
|
||||
video_cards_radeonsi? ( gallium llvm )
|
||||
video_cards_vmware? ( gallium )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
"
|
||||
|
||||
LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.54"
|
||||
# keep correct libdrm and dri2proto dep
|
||||
# keep blocks in rdepend for binpkg
|
||||
RDEPEND="
|
||||
!<x11-base/xorg-server-1.7
|
||||
!<=x11-proto/xf86driproto-2.0.3
|
||||
abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )
|
||||
classic? ( app-admin/eselect-mesa )
|
||||
gallium? ( app-admin/eselect-mesa )
|
||||
>=app-admin/eselect-opengl-1.2.7
|
||||
>=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
|
||||
gbm? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP}] )
|
||||
dri3? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP}] )
|
||||
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libxshmfence-1.1[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXdamage-1.1.4-r1[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libxcb-1.9.3[${MULTILIB_USEDEP}]
|
||||
llvm? (
|
||||
video_cards_radeonsi? ( || (
|
||||
>=dev-libs/elfutils-0.155-r1[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libelf-0.8.13-r2[${MULTILIB_USEDEP}]
|
||||
) )
|
||||
video_cards_r600? ( || (
|
||||
>=dev-libs/elfutils-0.155-r1[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libelf-0.8.13-r2[${MULTILIB_USEDEP}]
|
||||
) )
|
||||
!video_cards_r600? (
|
||||
video_cards_radeon? ( || (
|
||||
>=dev-libs/elfutils-0.155-r1[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libelf-0.8.13-r2[${MULTILIB_USEDEP}]
|
||||
) )
|
||||
)
|
||||
>=sys-devel/llvm-3.3-r3[${MULTILIB_USEDEP}]
|
||||
)
|
||||
opencl? (
|
||||
app-admin/eselect-opencl
|
||||
dev-libs/libclc
|
||||
)
|
||||
openmax? ( >=media-libs/libomxil-bellagio-0.9.3[${MULTILIB_USEDEP}] )
|
||||
vdpau? ( >=x11-libs/libvdpau-0.7[${MULTILIB_USEDEP}] )
|
||||
wayland? ( >=dev-libs/wayland-1.2.0[${MULTILIB_USEDEP}] )
|
||||
xvmc? ( >=x11-libs/libXvMC-1.0.8[${MULTILIB_USEDEP}] )
|
||||
${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_nouveau?,video_cards_vmware?,${MULTILIB_USEDEP}]
|
||||
"
|
||||
for card in ${INTEL_CARDS}; do
|
||||
RDEPEND="${RDEPEND}
|
||||
video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_intel] )
|
||||
"
|
||||
done
|
||||
|
||||
for card in ${RADEON_CARDS}; do
|
||||
RDEPEND="${RDEPEND}
|
||||
video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_radeon] )
|
||||
"
|
||||
done
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
llvm? (
|
||||
r600-llvm-compiler? ( sys-devel/llvm[video_cards_radeon] )
|
||||
video_cards_radeonsi? ( sys-devel/llvm[video_cards_radeon] )
|
||||
)
|
||||
opencl? (
|
||||
>=sys-devel/llvm-3.3-r3[${MULTILIB_USEDEP}]
|
||||
>=sys-devel/clang-3.3[${MULTILIB_USEDEP}]
|
||||
>=sys-devel/gcc-4.6
|
||||
)
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
>=x11-proto/dri2proto-2.8-r1[${MULTILIB_USEDEP}]
|
||||
dri3? (
|
||||
>=x11-proto/dri3proto-1.0[${MULTILIB_USEDEP}]
|
||||
>=x11-proto/presentproto-1.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
>=x11-proto/glproto-1.4.16-r1[${MULTILIB_USEDEP}]
|
||||
>=x11-proto/xextproto-7.2.1-r1[${MULTILIB_USEDEP}]
|
||||
>=x11-proto/xf86driproto-2.1.1-r1[${MULTILIB_USEDEP}]
|
||||
>=x11-proto/xf86vidmodeproto-2.3.1-r1[${MULTILIB_USEDEP}]
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
EGIT_CHECKOUT_DIR=${S}
|
||||
|
||||
# It is slow without texrels, if someone wants slow
|
||||
# mesa without texrels +pic use is worth the shot
|
||||
QA_EXECSTACK="usr/lib*/opengl/xorg-x11/lib/libGL.so*"
|
||||
QA_WX_LOAD="usr/lib*/opengl/xorg-x11/lib/libGL.so*"
|
||||
|
||||
# Think about: ggi, fbcon, no-X configs
|
||||
|
||||
pkg_setup() {
|
||||
# workaround toc-issue wrt #386545
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
|
||||
# warning message for bug 459306
|
||||
if use llvm && has_version sys-devel/llvm[!debug=]; then
|
||||
ewarn "Mismatch between debug USE flags in media-libs/mesa and sys-devel/llvm"
|
||||
ewarn "detected! This can cause problems. For details, see bug 459306."
|
||||
fi
|
||||
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
[[ $PV = 9999* ]] && git-r3_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# apply patches
|
||||
if [[ ${PV} != 9999* && -n ${SRC_PATCHES} ]]; then
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_SOURCE="${WORKDIR}/patches" \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
epatch
|
||||
fi
|
||||
|
||||
# relax the requirement that r300 must have llvm, bug 380303
|
||||
epatch "${FILESDIR}"/${PN}-10.2-dont-require-llvm-for-r300.patch
|
||||
|
||||
# fix for hardened pax_kernel, bug 240956
|
||||
[[ ${PV} != 9999* ]] && epatch "${FILESDIR}"/glx_ro_text_segm.patch
|
||||
|
||||
# Solaris needs some recent POSIX stuff in our case
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
sed -i -e "s/-DSVR4/-D_POSIX_C_SOURCE=200112L/" configure.ac || die
|
||||
fi
|
||||
|
||||
base_src_prepare
|
||||
|
||||
eautoreconf
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf
|
||||
|
||||
if use classic; then
|
||||
# Configurable DRI drivers
|
||||
driver_enable swrast
|
||||
|
||||
# Intel code
|
||||
driver_enable video_cards_i915 i915
|
||||
driver_enable video_cards_i965 i965
|
||||
if ! use video_cards_i915 && \
|
||||
! use video_cards_i965; then
|
||||
driver_enable video_cards_intel i915 i965
|
||||
fi
|
||||
|
||||
# Nouveau code
|
||||
driver_enable video_cards_nouveau nouveau
|
||||
|
||||
# ATI code
|
||||
driver_enable video_cards_r100 radeon
|
||||
driver_enable video_cards_r200 r200
|
||||
if ! use video_cards_r100 && \
|
||||
! use video_cards_r200; then
|
||||
driver_enable video_cards_radeon radeon r200
|
||||
fi
|
||||
fi
|
||||
|
||||
if use egl; then
|
||||
myconf+="--with-egl-platforms=x11$(use wayland && echo ",wayland")$(use gbm && echo ",drm") "
|
||||
fi
|
||||
|
||||
if use gallium; then
|
||||
myconf+="
|
||||
$(use_enable llvm gallium-llvm)
|
||||
$(use_enable openvg)
|
||||
$(use_enable openvg gallium-egl)
|
||||
$(use_enable openmax omx)
|
||||
$(use_enable r600-llvm-compiler)
|
||||
$(use_enable vdpau)
|
||||
$(use_enable xa)
|
||||
$(use_enable xvmc)
|
||||
"
|
||||
gallium_enable swrast
|
||||
gallium_enable video_cards_vmware svga
|
||||
gallium_enable video_cards_nouveau nouveau
|
||||
gallium_enable video_cards_i915 i915
|
||||
gallium_enable video_cards_ilo ilo
|
||||
if ! use video_cards_i915 && \
|
||||
! use video_cards_i965; then
|
||||
gallium_enable video_cards_intel i915
|
||||
fi
|
||||
|
||||
gallium_enable video_cards_r300 r300
|
||||
gallium_enable video_cards_r600 r600
|
||||
gallium_enable video_cards_radeonsi radeonsi
|
||||
if ! use video_cards_r300 && \
|
||||
! use video_cards_r600; then
|
||||
gallium_enable video_cards_radeon r300 r600
|
||||
fi
|
||||
|
||||
gallium_enable video_cards_freedreno freedreno
|
||||
# opencl stuff
|
||||
if use opencl; then
|
||||
myconf+="
|
||||
$(use_enable opencl)
|
||||
--with-opencl-libdir="${EPREFIX}/usr/$(get_libdir)/OpenCL/vendors/mesa"
|
||||
--with-clang-libdir="${EPREFIX}/usr/lib"
|
||||
"
|
||||
fi
|
||||
fi
|
||||
|
||||
# x86 hardened pax_kernel needs glx-rts, bug 240956
|
||||
if use pax_kernel; then
|
||||
myconf+="
|
||||
$(use_enable x86 glx-rts)
|
||||
"
|
||||
fi
|
||||
|
||||
# on abi_x86_32 hardened we need to have asm disable
|
||||
if [[ ${ABI} == x86* ]] && use pic; then
|
||||
myconf+=" --disable-asm"
|
||||
fi
|
||||
|
||||
# build fails with BSD indent, bug #428112
|
||||
use userland_GNU || export INDENT=cat
|
||||
|
||||
econf \
|
||||
--enable-dri \
|
||||
--enable-glx \
|
||||
--enable-shared-glapi \
|
||||
$(use_enable !bindist texture-float) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable dri3) \
|
||||
$(use_enable egl) \
|
||||
$(use_enable gbm) \
|
||||
$(use_enable gles1) \
|
||||
$(use_enable gles2) \
|
||||
$(use_enable nptl glx-tls) \
|
||||
$(use_enable osmesa) \
|
||||
--enable-llvm-shared-libs \
|
||||
--with-dri-drivers=${DRI_DRIVERS} \
|
||||
--with-gallium-drivers=${GALLIUM_DRIVERS} \
|
||||
PYTHON2="${PYTHON}" \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
# Move libGL and others from /usr/lib to /usr/lib/opengl/blah/lib
|
||||
# because user can eselect desired GL provider.
|
||||
ebegin "Moving libGL and friends for dynamic switching"
|
||||
local x
|
||||
local gl_dir="/usr/$(get_libdir)/opengl/${OPENGL_DIR}/"
|
||||
dodir ${gl_dir}/{lib,extensions,include/GL}
|
||||
for x in "${ED}"/usr/$(get_libdir)/lib{EGL,GL*,OpenVG}.{la,a,so*}; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
mv -f "${x}" "${ED}${gl_dir}"/lib \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
for x in "${ED}"/usr/include/GL/{gl.h,glx.h,glext.h,glxext.h}; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
mv -f "${x}" "${ED}${gl_dir}"/include/GL \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
for x in "${ED}"/usr/include/{EGL,GLES*,VG,KHR}; do
|
||||
if [ -d ${x} ]; then
|
||||
mv -f "${x}" "${ED}${gl_dir}"/include \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
eend $?
|
||||
|
||||
if use classic || use gallium; then
|
||||
ebegin "Moving DRI/Gallium drivers for dynamic switching"
|
||||
local gallium_drivers=( i915_dri.so i965_dri.so r300_dri.so r600_dri.so swrast_dri.so )
|
||||
keepdir /usr/$(get_libdir)/dri
|
||||
dodir /usr/$(get_libdir)/mesa
|
||||
for x in ${gallium_drivers[@]}; do
|
||||
if [ -f "$(get_libdir)/gallium/${x}" ]; then
|
||||
mv -f "${ED}/usr/$(get_libdir)/dri/${x}" "${ED}/usr/$(get_libdir)/dri/${x/_dri.so/g_dri.so}" \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
if use classic; then
|
||||
emake -C "${BUILD_DIR}/src/mesa/drivers/dri" DESTDIR="${D}" install
|
||||
fi
|
||||
for x in "${ED}"/usr/$(get_libdir)/dri/*.so; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
mv -f "${x}" "${x/dri/mesa}" \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
pushd "${ED}"/usr/$(get_libdir)/dri || die "pushd failed"
|
||||
ln -s ../mesa/*.so . || die "Creating symlink failed"
|
||||
# remove symlinks to drivers known to eselect
|
||||
for x in ${gallium_drivers[@]}; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
rm "${x}" || die "Failed to remove ${x}"
|
||||
fi
|
||||
done
|
||||
popd
|
||||
eend $?
|
||||
fi
|
||||
if use opencl; then
|
||||
ebegin "Moving Gallium/Clover OpenCL implementation for dynamic switching"
|
||||
local cl_dir="/usr/$(get_libdir)/OpenCL/vendors/mesa"
|
||||
dodir ${cl_dir}/{lib,include}
|
||||
if [ -f "${ED}/usr/$(get_libdir)/libOpenCL.so" ]; then
|
||||
mv -f "${ED}"/usr/$(get_libdir)/libOpenCL.so* \
|
||||
"${ED}"${cl_dir}
|
||||
fi
|
||||
if [ -f "${ED}/usr/include/CL/opencl.h" ]; then
|
||||
mv -f "${ED}"/usr/include/CL \
|
||||
"${ED}"${cl_dir}/include
|
||||
fi
|
||||
eend $?
|
||||
fi
|
||||
|
||||
if use openmax; then
|
||||
echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share/mesa/xdg\"" > "${T}/99mesaxdgomx"
|
||||
doenvd "${T}"/99mesaxdgomx
|
||||
keepdir /usr/share/mesa/xdg
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
prune_libtool_files --all
|
||||
einstalldocs
|
||||
|
||||
if use !bindist; then
|
||||
dodoc docs/patents.txt
|
||||
fi
|
||||
|
||||
# Install config file for eselect mesa
|
||||
insinto /usr/share/mesa
|
||||
newins "${FILESDIR}/eselect-mesa.conf.9.2" eselect-mesa.conf
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
if use llvm; then
|
||||
local llvm_tests='lp_test_arit lp_test_arit lp_test_blend lp_test_blend lp_test_conv lp_test_conv lp_test_format lp_test_format lp_test_printf lp_test_printf'
|
||||
pushd src/gallium/drivers/llvmpipe >/dev/null || die
|
||||
emake ${llvm_tests}
|
||||
pax-mark m ${llvm_tests}
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
emake check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Switch to the xorg implementation.
|
||||
echo
|
||||
eselect opengl set --use-old ${OPENGL_DIR}
|
||||
|
||||
# switch to xorg-x11 and back if necessary, bug #374647 comment 11
|
||||
OLD_IMPLEM="$(eselect opengl show)"
|
||||
if [[ ${OPENGL_DIR}x != ${OLD_IMPLEM}x ]]; then
|
||||
eselect opengl set ${OPENGL_DIR}
|
||||
eselect opengl set ${OLD_IMPLEM}
|
||||
fi
|
||||
|
||||
# Select classic/gallium drivers
|
||||
if use classic || use gallium; then
|
||||
eselect mesa set --auto
|
||||
fi
|
||||
|
||||
# Switch to mesa opencl
|
||||
if use opencl; then
|
||||
eselect opencl set --use-old ${PN}
|
||||
fi
|
||||
|
||||
# run omxregister-bellagio to make the OpenMAX drivers known system-wide
|
||||
if use openmax; then
|
||||
ebegin "Registering OpenMAX drivers"
|
||||
BELLAGIO_SEARCH_PATH="${EPREFIX}/usr/$(get_libdir)/libomxil-bellagio0" \
|
||||
OMX_BELLAGIO_REGISTRY=${EPREFIX}/usr/share/mesa/xdg/.omxregister \
|
||||
omxregister-bellagio
|
||||
eend $?
|
||||
fi
|
||||
|
||||
# warn about patent encumbered texture-float
|
||||
if use !bindist; then
|
||||
elog "USE=\"bindist\" was not set. Potentially patent encumbered code was"
|
||||
elog "enabled. Please see patents.txt for an explanation."
|
||||
fi
|
||||
|
||||
local using_radeon r_flag
|
||||
for r_flag in ${RADEON_CARDS}; do
|
||||
if use video_cards_${r_flag}; then
|
||||
using_radeon=1
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ${using_radeon} = 1 ]] && ! has_version media-libs/libtxc_dxtn; then
|
||||
elog "Note that in order to have full S3TC support, it is necessary to install"
|
||||
elog "media-libs/libtxc_dxtn as well. This may be necessary to get nice"
|
||||
elog "textures in some apps, and some others even require this to run."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use openmax; then
|
||||
rm "${EPREFIX}"/usr/share/mesa/xdg/.omxregister
|
||||
fi
|
||||
}
|
||||
|
||||
# $1 - VIDEO_CARDS flag
|
||||
# other args - names of DRI drivers to enable
|
||||
# TODO: avoid code duplication for a more elegant implementation
|
||||
driver_enable() {
|
||||
case $# in
|
||||
# for enabling unconditionally
|
||||
1)
|
||||
DRI_DRIVERS+=",$1"
|
||||
;;
|
||||
*)
|
||||
if use $1; then
|
||||
shift
|
||||
for i in $@; do
|
||||
DRI_DRIVERS+=",${i}"
|
||||
done
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
gallium_enable() {
|
||||
case $# in
|
||||
# for enabling unconditionally
|
||||
1)
|
||||
GALLIUM_DRIVERS+=",$1"
|
||||
;;
|
||||
*)
|
||||
if use $1; then
|
||||
shift
|
||||
for i in $@; do
|
||||
GALLIUM_DRIVERS+=",${i}"
|
||||
done
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
diff -urN OpenCTM-1.0.3.old/lib/Makefile.linux OpenCTM-1.0.3/lib/Makefile.linux
|
||||
--- OpenCTM-1.0.3.old/lib/Makefile.linux 2014-08-20 09:39:00.614744990 +0200
|
||||
+++ OpenCTM-1.0.3/lib/Makefile.linux 2014-08-20 09:40:09.782667989 +0200
|
||||
@@ -72,7 +72,7 @@
|
||||
$(RM) $(DYNAMICLIB) $(SONAME) $(LIBNAME) $(OBJS) $(LZMA_OBJS)
|
||||
|
||||
$(DYNAMICLIB): $(OBJS) $(LZMA_OBJS)
|
||||
- $(CC) $(LDFLAGS) -shared -s -Wl,-soname,$(SONAME) -o $@ $(OBJS) $(LZMA_OBJS) -lm
|
||||
+ $(CC) $(LDFLAGS) -shared -Wl,-soname,$(SONAME) -o $@ $(OBJS) $(LZMA_OBJS) -lm
|
||||
ln -s $(DYNAMICLIB) $(SONAME)
|
||||
ln -s $(DYNAMICLIB) $(LIBNAME)
|
||||
|
||||
diff -urN OpenCTM-1.0.3.old/tools/Makefile.linux OpenCTM-1.0.3/tools/Makefile.linux
|
||||
--- OpenCTM-1.0.3.old/tools/Makefile.linux 2014-08-20 09:39:00.583745025 +0200
|
||||
+++ OpenCTM-1.0.3/tools/Makefile.linux 2014-08-20 09:40:09.751668023 +0200
|
||||
@@ -52,15 +52,15 @@
|
||||
rm -f ctmconv ctmviewer ctmbench $(CTMCONVOBJS) $(CTMVIEWEROBJS) $(CTMBENCHOBJS) bin2c phong_frag.h phong_vert.h
|
||||
|
||||
ctmconv: $(CTMCONVOBJS)
|
||||
- $(CXX) $(LDFLAGS) -s -o $@ -L$(OPENCTMDIR) $(CTMCONVOBJS) -lopenctm -ltinyxml
|
||||
+ $(CXX) $(LDFLAGS) -o $@ -L$(OPENCTMDIR) $(CTMCONVOBJS) -lopenctm -ltinyxml
|
||||
|
||||
ctmviewer: $(CTMVIEWEROBJS)
|
||||
- $(CXX) $(LDFLAGS) -s -o $@ -L$(OPENCTMDIR) $(CTMVIEWEROBJS) -lopenctm \
|
||||
+ $(CXX) $(LDFLAGS) -o $@ -L$(OPENCTMDIR) $(CTMVIEWEROBJS) -lopenctm \
|
||||
-ltinyxml -ljpeg -lpnglite -lz -lGL -lglut -lGLU -lGLEW \
|
||||
-lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0
|
||||
|
||||
ctmbench: $(CTMBENCHOBJS)
|
||||
- $(CXX) $(LDFLAGS) -s -o $@ -L$(OPENCTMDIR) $(CTMBENCHOBJS) -lopenctm
|
||||
+ $(CXX) $(LDFLAGS) -o $@ -L$(OPENCTMDIR) $(CTMBENCHOBJS) -lopenctm
|
||||
|
||||
%.o: %.cpp
|
||||
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
|
@ -1,2 +1,3 @@
|
||||
DIST pragha-1.1.2.1.tar.bz2 533694 SHA256 0d687f6b4b5adc325ac1114833bd2d206a5c23063ba2b6e8f323831c0f3bc9bb SHA512 bd0fb6bea10c932f76d12b56aeea16b5503ce67ffa1c00e0c1fa50628336d41437584fb9f3568221f84ab58cdb150c37c9c8762a41b1673a71659091f1def5be WHIRLPOOL db0a1a62bd2bea563bf17801bf46040682d17d5ac0c1bcc7a98f082b93dccb2e69e569c95a2af642006267f2b449c6365e19c203a752516f2a180561aa4275e8
|
||||
DIST pragha-1.3.0.tar.gz 360328 SHA256 2f268b6e2d9c6678e9370a90a5a54fb52d0d035c9cc22f8bdb2a7e13f5a2ee8f SHA512 126c1bcbfc724c1a61adf5239a0d5f68c88d88ea3f79fbd1269900a7a315d7f3e5cc69a5b52a35c431c44e6d7d9085e130a66cdfe45c98da793d958c4b9d09f8 WHIRLPOOL c0ee8a02ee86c60eb75ffe932be32293ef930ad872eba64a38764254a831f935bcba1e0019b19696b39e90d39ea474e918a7bf48f3981302c8c2b8186a1bf623
|
||||
DIST pragha-1.3.1.tar.bz2 621106 SHA256 49287152f59e5d62b57620f94b228517caaca001873c30c7abd426afacfc8a78 SHA512 17d086d84382c8e417e513c8803ea90612ca9d5c665384299362b3197978a8697faef531996b078e4ce12c52b7fad3be377083622c923775c6c738d5ae6acb93 WHIRLPOOL 1d531e588723623b99aa0bde1d2e1d8407e15cce89112847893ecf50f1fce4709ffb3bb1b5d88ce14a616db2809e81991228262fc12227cacf213d0c85a9c0ae
|
||||
|
@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/pragha/pragha-1.3.1.ebuild,v 1.1 2014/08/20 12:08:58 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit xfconf # autotools
|
||||
|
||||
DESCRIPTION="A lightweight music player (with support for the Xfce desktop environment)"
|
||||
HOMEPAGE="http://pragha.wikispaces.com/ http://github.com/matiasdelellis/pragha"
|
||||
SRC_URI="http://github.com/matiasdelellis/${PN}/releases/download/v${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug +glyr grilo +keybinder lastfm libnotify mtp +peas +playlist rygel soup +udev"
|
||||
|
||||
COMMON_DEPEND=">=dev-db/sqlite-3.4:3
|
||||
>=dev-libs/glib-2.32
|
||||
>=dev-libs/libcdio-0.90
|
||||
>=dev-libs/libcdio-paranoia-0.90
|
||||
media-libs/gst-plugins-base:1.0
|
||||
>=media-libs/libcddb-1.3.0
|
||||
>=media-libs/taglib-1.7.0
|
||||
>=x11-libs/gtk+-3.4:3
|
||||
x11-libs/libX11
|
||||
>=xfce-base/libxfce4ui-4.11
|
||||
glyr? ( >=media-libs/glyr-1.0.1 )
|
||||
grilo? ( >=media-libs/grilo-0.2.10 )
|
||||
keybinder? ( >=dev-libs/keybinder-0.2.0:3 )
|
||||
lastfm? ( >=media-libs/libclastfm-0.5 )
|
||||
libnotify? ( >=x11-libs/libnotify-0.7 )
|
||||
mtp? ( >=media-libs/libmtp-1.1.0 )
|
||||
peas? ( >=dev-libs/libpeas-1.0.0[gtk] )
|
||||
playlist? ( >=dev-libs/totem-pl-parser-2.26 )
|
||||
rygel? ( >=net-misc/rygel-0.20 )
|
||||
soup? ( >=net-libs/libsoup-2.38 )
|
||||
udev? ( virtual/libgudev:= )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
media-plugins/gst-plugins-meta:1.0"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/intltool
|
||||
>=dev-util/xfce4-dev-tools-4.10
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
REQUIRED_USE="glyr? ( peas )
|
||||
grilo? ( peas )
|
||||
libnotify? ( peas )
|
||||
mtp? ( udev )
|
||||
rygel? ( peas )
|
||||
soup? ( peas )
|
||||
udev? ( peas )"
|
||||
|
||||
pkg_setup() {
|
||||
XFCONF=(
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
$(use_enable debug)
|
||||
$(use_enable peas libpeas-1.0)
|
||||
$(use_enable glyr libglyr)
|
||||
$(use_enable lastfm libclastfm)
|
||||
$(use_enable playlist totem-plparser)
|
||||
--with-gstreamer=1.0
|
||||
)
|
||||
|
||||
if use peas; then
|
||||
XFCONF+=(
|
||||
$(use_enable libnotify)
|
||||
$(use_enable keybinder)
|
||||
$(use_enable udev gudev-1.0)
|
||||
$(use_enable mtp libmtp)
|
||||
$(use_enable soup libsoup-2.4)
|
||||
$(use_enable rygel rygel-server-2.2)
|
||||
$(use_enable grilo grilo-0.2)
|
||||
)
|
||||
else
|
||||
XFCONF+=(
|
||||
--disable-libnotify
|
||||
--disable-keybinder
|
||||
--disable-gudev-1.0
|
||||
--disable-libmtp
|
||||
--disable-libsoup-2.4
|
||||
--disable-rygel-server-2.2
|
||||
--disable-grilo-0.2
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/CFLAGS/s:-g -ggdb -O0::' configure || die
|
||||
|
||||
# Prevent glib-gettextize from running wrt #423115
|
||||
# export AT_M4DIR=${EPREFIX}/usr/share/xfce4/dev-tools/m4macros
|
||||
# intltoolize --automake --copy --force
|
||||
# _elibtoolize --copy --force --install
|
||||
# eaclocal; eautoconf; eautoheader; eautomake
|
||||
|
||||
xfconf_src_prepare
|
||||
}
|
@ -1,10 +1,4 @@
|
||||
DIST makemkv-bin-1.8.10.tar.gz 12216470 SHA256 551da0dcd56e313d6da7428da02a87569216da654f4ee6fd3b0278dabc103333 SHA512 cfa5724b413fab608ed15e5977301f9a6fe69d787ae2ad19c3d615ec443bf7250c33f582c252f9ab1c9632d8919d252937922407158d75f8b4295eb23032f374 WHIRLPOOL 44a7df0c38ccb7693938f10f63831828ca9f3e22a627b5d4e7f23a4756f8f6edf0f27e39c75f3678fec8c18c14cf944c126eba60c211c2b5e590b029593774c5
|
||||
DIST makemkv-bin-1.8.11.tar.gz 12219849 SHA256 70079f8804f3dc86ff66bfe523e610237274dd8740f80324f39c044c58745a14 SHA512 f855fb7d3261ff397e42c8c4af27fa95d5f9dc8e468ebe1c4770f12d8ffc1a7ec79371188a5c981563d6f8c7e571546b5d2439019308a6b0a43e74bf8a64d2b8 WHIRLPOOL 0e002872a582f5f0afff17f131f8ed699f54aceae02abc1cf7ea1835900c2992f93f2467a67d33ad0a697d0b6a819fb702405e16eb221925cc4c3f748d0c04cd
|
||||
DIST makemkv-bin-1.8.7.tar.gz 12115593 SHA256 6614e79aa7e668654fcee3d61316262b4a1ab628768a1cfe68f7d039ad289901 SHA512 27d75bfe12037e97ddc024541626334068e1b8d4c41e1920ff312f5561abc2a36ba72b45908d72fd99daaaf1b22eca01cae8997bc4f0093beec19334ef02b25d WHIRLPOOL 33571ba4b54b5722cc5d729084ef9bad92b61c8e057128fa630f242617cb9588b8f957e8aa2b27ead2846b8816776516a9f80ba9af21d70ebc82a0ab28280760
|
||||
DIST makemkv-bin-1.8.8.tar.gz 12182158 SHA256 415f9578fc842255dc8266e869444359ef3d1f3f111a61874657aa86927125f9 SHA512 7c0bad393627840358ee378512cabd5face1abec31e68ef9f1f19ef448919fdd1cc4152374eda255dc43769846d7425963772204ee514d3dc3f944afd460f7ae WHIRLPOOL fcf0b8977ba26999dbb3874175bf1c53973190493e09f8bc5fe12679f7febb21552e86fac010f9aa4c8615fe122ac316c5a1c7e7fc60dbf5c54bf45ea386da9e
|
||||
DIST makemkv-bin-1.8.9.tar.gz 12202016 SHA256 6744fe971b655d115356a8764c06cec6fbbe6bc065ef5adbed810595b43f6548 SHA512 2d580f9d4ba2220a224e00ea3a7cafeccedaa3c63ae53e38d8bced405e15bd90d40cf1e51ab1967399ad11c3508e558af7c19c2248e414fa3527c4a7f702dbf0 WHIRLPOOL 46e896d184e565d9c38ff9b3391175b8d249ce075c34a7f072ec0c5bb7a72e1728a5e1a315b583a4f6d0317d8d624ff81d80fdd65f069e584fb240e4aad205e5
|
||||
DIST makemkv-bin-1.8.12.tar.gz 12228591 SHA256 54af3d514dfcbf73ef5095b62e962f44ede15412dbf8bb7e17ca75824522a51e SHA512 ce00428630e2f12c3fe3c12a1555099fe5bfcd1c09efad7098e91ac56d1ced0cef541e8a154f14b159b056382621b240ff2135da00af9856ea62614e3092428d WHIRLPOOL 44d8125828e46507d1c1fe14afa365b4593197728cb6f4f1f7db86e12954b25709abf662b85778d5b968efa332585e2a583d5eea73e9af5c8de103e7c293fdcd
|
||||
DIST makemkv-oss-1.8.10.tar.gz 4215868 SHA256 e6dd93cb0cfa144e94c110b02b7fcbbc9945cf3fb4cf3398e1babd7b698b959d SHA512 5bba3ad68987d3ec085a14b9db4f25b0e77bf439e4c589f43c823de0a18bd2da41daee45335761bcbf8edb53c64702f8faaffd1d62ce906ea81cf7f63fb29778 WHIRLPOOL 8758acc6ea12b872c1873ab2f0aec8ea175493786cdc517da256b4480c0643b9caa7fd679eb2251698b9749381676a0d99309ab9f35c247ab60aec39706edb95
|
||||
DIST makemkv-oss-1.8.11.tar.gz 4215786 SHA256 495fbb080143c8e1853c76dde81016632a03816c44dcffffddae9733619bc809 SHA512 38562de1d7b8c9a48c173d2cec2301918a48373f296d501d592ade235895624bde697e487fe27d2920e9fb4e771e0d5e83c799b545a968ff631604ee1687de64 WHIRLPOOL c3ba4e03507ef90c7d5927644f3a4713c82c49844d0deef3d6e944f04f16742e164683801fa15e41741a1e2d461320e15b54012910e4c17146c45dbc8d01577e
|
||||
DIST makemkv-oss-1.8.7.tar.gz 4223036 SHA256 6a933eb027528aa9248e56f004c9c1fd9266f0810d9563e41ca6dd968381ed6f SHA512 f09beb204a17132d057768774a12a9888f9ee06a440b525cd7870d57bd4bd9a6fb7c8956cdf6729f2ca882083beae0d77a0d94b6d40d6740abddf827ae13dfff WHIRLPOOL 321372fd7c8c04b2f5335b00ad7663168f173662f2836447d83c99184b230a2354ac2570ce22f84344bb38b43cfd2dc1ae3e1703dcdd69b000bef3fde98ddb1a
|
||||
DIST makemkv-oss-1.8.8.tar.gz 4217899 SHA256 66c25d9bc341c30bc61a848cad6d1356b5f5a225cbb33a741502605984e05f59 SHA512 5fc92227e69b8796e86832432c0c94020590f8658021e7874904ab255d7e6e988807be3df43016faa876cc9aee9f6bff4cd49597b2319e6d07ae23256f8ce190 WHIRLPOOL 3454f6c1c00084ed1235a1a03adc3d3ea08f33ac581f76d062142fdc07ab7f24c496134e426997cbd957b4c5cfbd5d70361fb6680cbfdda998b3efa0e16ef05e
|
||||
DIST makemkv-oss-1.8.9.tar.gz 4215252 SHA256 2e1b6c9583ddf9a117fec815f4334bda1c8c65df9e38012eee52ee7d151dc97e SHA512 5b925497db084a8cbdbcbd5d595f414bc89303d8b697b0b23b0bb3ffd0e3e627a92fb5f28959c27757027ccfb117f0f8620591c03d099ac1cfdb9c04bea8529d WHIRLPOOL 077d62156254238440358da347b8405cb37055bb9583fa71bb7bcdb800ee4d024ac442b10a77bdd7bf7b8a97031be5df542082a3efdf55b00bc85c97516b2a71
|
||||
DIST makemkv-oss-1.8.12.tar.gz 4215876 SHA256 0f45a1413d705ca4359404d6911fd166cdc67cd3b3bcd8aebbdc3e6970fbfeaf SHA512 10870dbecf5924946e633ac1958abf7572cdc65191398b2e2e297233274f65e547d9f5cef243de434cf8d8b31fe5240ff02e8c67f7fc135ee1c7150fee30116c WHIRLPOOL 11d0248587009d31cb03493fc2110f55a99e7109aaa89db7d989059cdfdcce3ac5c6eee24b20ab343b96afa77806e06343fa7900d4c1d71635252b7a2e3d6ae1
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- makemkv-oss-1.8.12/Makefile.in.orig 2014-04-25 09:25:24.558767575 -0600
|
||||
+++ makemkv-oss-1.8.12/Makefile.in 2014-04-25 09:25:44.930534931 -0600
|
||||
@@ -50,7 +50,7 @@
|
||||
endif
|
||||
|
||||
out/%: out/%.full
|
||||
- $(OBJCOPY) --strip-all --strip-debug --strip-unneeded --discard-all $< $@
|
||||
+ $(OBJCOPY) --discard-all $< $@
|
||||
|
||||
out/libdriveio.so.0.full:
|
||||
mkdir -p out
|
@ -1,105 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/makemkv-1.8.7.ebuild,v 1.3 2014/04/25 15:17:39 beandog Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils gnome2-utils multilib flag-o-matic
|
||||
|
||||
MY_P=makemkv-oss-${PV}
|
||||
MY_PB=makemkv-bin-${PV}
|
||||
|
||||
DESCRIPTION="Tool for ripping Blu-Ray, HD-DVD and DVD discs and copying content to a Matroska container"
|
||||
HOMEPAGE="http://www.makemkv.com/"
|
||||
SRC_URI="http://www.makemkv.com/download/old/${MY_P}.tar.gz
|
||||
http://www.makemkv.com/download/old/${MY_PB}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1 MPL-1.1 MakeMKV-EULA openssl"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="multilib"
|
||||
|
||||
QA_PREBUILT="opt/bin/makemkvcon opt/bin/mmdtsdec"
|
||||
|
||||
RDEPEND="dev-libs/expat
|
||||
dev-libs/openssl:0
|
||||
sys-libs/zlib
|
||||
virtual/opengl
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtdbus:4
|
||||
dev-qt/qtgui:4
|
||||
|| ( >=media-video/ffmpeg-1.0.0 >=media-video/libav-0.8.9 )
|
||||
amd64? ( multilib? ( app-emulation/emul-linux-x86-baselibs ) )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/makemkv-oss-${PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-makefile.linux.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
replace-flags -O* -Os
|
||||
if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
|
||||
econf
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake GCC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" || die "Make failed!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# install oss package
|
||||
dolib.so out/libdriveio.so.0
|
||||
dolib.so out/libmakemkv.so.1
|
||||
dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so.0.${PV}
|
||||
dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so
|
||||
dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so.1.${PV}
|
||||
dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so
|
||||
into /opt
|
||||
dobin out/makemkv
|
||||
|
||||
local res
|
||||
for res in 16 22 32 64 128; do
|
||||
newicon -s ${res} makemkvgui/share/icons/${res}x${res}/makemkv.png ${PN}.png
|
||||
done
|
||||
|
||||
make_desktop_entry ${PN} MakeMKV ${PN} 'Qt;AudioVideo;Video'
|
||||
|
||||
# install bin package
|
||||
pushd "${WORKDIR}"/${MY_PB}/bin >/dev/null
|
||||
if use x86; then
|
||||
dobin i386/{makemkvcon,mmdtsdec}
|
||||
elif use amd64; then
|
||||
dobin amd64/makemkvcon
|
||||
use multilib && dobin i386/mmdtsdec
|
||||
fi
|
||||
popd >/dev/null
|
||||
|
||||
# install license and default profile
|
||||
pushd "${WORKDIR}"/${MY_PB}/src/share >/dev/null
|
||||
insinto /usr/share/MakeMKV
|
||||
doins *.{gz,xml}
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
pkg_preinst() { gnome2_icon_savelist; }
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
|
||||
elog "While MakeMKV is in beta mode, upstream has provided a license"
|
||||
elog "to use if you do not want to purchase one."
|
||||
elog ""
|
||||
elog "See this forum thread for more information, including the key:"
|
||||
elog "http://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053"
|
||||
elog ""
|
||||
elog "Note that beta license may have an expiration date and you will"
|
||||
elog "need to check for newer licenses/releases. "
|
||||
elog ""
|
||||
elog "If this is a new install, remember to copy the default profile"
|
||||
elog "to the config directory:"
|
||||
elog "cp /usr/share/MakeMKV/default.mmcp.xml ~/.MakeMKV/"
|
||||
}
|
||||
|
||||
pkg_postrm() { gnome2_icon_cache_update; }
|
@ -1,105 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/makemkv-1.8.8.ebuild,v 1.3 2014/04/25 15:17:39 beandog Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils gnome2-utils multilib flag-o-matic
|
||||
|
||||
MY_P=makemkv-oss-${PV}
|
||||
MY_PB=makemkv-bin-${PV}
|
||||
|
||||
DESCRIPTION="Tool for ripping Blu-Ray, HD-DVD and DVD discs and copying content to a Matroska container"
|
||||
HOMEPAGE="http://www.makemkv.com/"
|
||||
SRC_URI="http://www.makemkv.com/download/old/${MY_P}.tar.gz
|
||||
http://www.makemkv.com/download/old/${MY_PB}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1 MPL-1.1 MakeMKV-EULA openssl"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="multilib"
|
||||
|
||||
QA_PREBUILT="opt/bin/makemkvcon opt/bin/mmdtsdec"
|
||||
|
||||
RDEPEND="dev-libs/expat
|
||||
dev-libs/openssl:0
|
||||
sys-libs/zlib
|
||||
virtual/opengl
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtdbus:4
|
||||
dev-qt/qtgui:4
|
||||
|| ( >=media-video/ffmpeg-1.0.0 >=media-video/libav-0.8.9 )
|
||||
amd64? ( multilib? ( app-emulation/emul-linux-x86-baselibs ) )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/makemkv-oss-${PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-makefile.linux.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
replace-flags -O* -Os
|
||||
if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
|
||||
econf
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake GCC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" || die "Make failed!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# install oss package
|
||||
dolib.so out/libdriveio.so.0
|
||||
dolib.so out/libmakemkv.so.1
|
||||
dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so.0.${PV}
|
||||
dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so
|
||||
dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so.1.${PV}
|
||||
dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so
|
||||
into /opt
|
||||
dobin out/makemkv
|
||||
|
||||
local res
|
||||
for res in 16 22 32 64 128; do
|
||||
newicon -s ${res} makemkvgui/share/icons/${res}x${res}/makemkv.png ${PN}.png
|
||||
done
|
||||
|
||||
make_desktop_entry ${PN} MakeMKV ${PN} 'Qt;AudioVideo;Video'
|
||||
|
||||
# install bin package
|
||||
pushd "${WORKDIR}"/${MY_PB}/bin >/dev/null
|
||||
if use x86; then
|
||||
dobin i386/{makemkvcon,mmdtsdec}
|
||||
elif use amd64; then
|
||||
dobin amd64/makemkvcon
|
||||
use multilib && dobin i386/mmdtsdec
|
||||
fi
|
||||
popd >/dev/null
|
||||
|
||||
# install license and default profile
|
||||
pushd "${WORKDIR}"/${MY_PB}/src/share >/dev/null
|
||||
insinto /usr/share/MakeMKV
|
||||
doins *.{gz,xml}
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
pkg_preinst() { gnome2_icon_savelist; }
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
|
||||
elog "While MakeMKV is in beta mode, upstream has provided a license"
|
||||
elog "to use if you do not want to purchase one."
|
||||
elog ""
|
||||
elog "See this forum thread for more information, including the key:"
|
||||
elog "http://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053"
|
||||
elog ""
|
||||
elog "Note that beta license may have an expiration date and you will"
|
||||
elog "need to check for newer licenses/releases. "
|
||||
elog ""
|
||||
elog "If this is a new install, remember to copy the default profile"
|
||||
elog "to the config directory:"
|
||||
elog "cp /usr/share/MakeMKV/default.mmcp.xml ~/.MakeMKV/"
|
||||
}
|
||||
|
||||
pkg_postrm() { gnome2_icon_cache_update; }
|
@ -1,108 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/makemkv-1.8.9.ebuild,v 1.2 2014/04/25 15:17:39 beandog Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils gnome2-utils multilib flag-o-matic
|
||||
|
||||
MY_P=makemkv-oss-${PV}
|
||||
MY_PB=makemkv-bin-${PV}
|
||||
|
||||
DESCRIPTION="Tool for ripping Blu-Ray, HD-DVD and DVD discs and copying content to a Matroska container"
|
||||
HOMEPAGE="http://www.makemkv.com/"
|
||||
SRC_URI="http://www.makemkv.com/download/old/${MY_P}.tar.gz
|
||||
http://www.makemkv.com/download/old/${MY_PB}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1 MPL-1.1 MakeMKV-EULA openssl"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="multilib"
|
||||
|
||||
QA_PREBUILT="opt/bin/makemkvcon opt/bin/mmdtsdec"
|
||||
|
||||
RDEPEND="dev-libs/expat
|
||||
dev-libs/openssl:0
|
||||
sys-libs/zlib
|
||||
virtual/opengl
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtdbus:4
|
||||
dev-qt/qtgui:4
|
||||
|| ( >=media-video/ffmpeg-1.0.0 >=media-video/libav-0.8.9 )
|
||||
amd64? ( multilib? ( app-emulation/emul-linux-x86-baselibs ) )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/makemkv-oss-${PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-makefile.linux.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
replace-flags -O* -Os
|
||||
if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
|
||||
econf
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake GCC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" || die "Make failed!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# install oss package
|
||||
dolib.so out/libdriveio.so.0
|
||||
dolib.so out/libmakemkv.so.1
|
||||
dolib.so out/libmmbd.so.0
|
||||
dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so.0.${PV}
|
||||
dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so
|
||||
dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so.1.${PV}
|
||||
dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so
|
||||
dosym libmmbd.so.0 /usr/$(get_libdir)/libmmbd.so
|
||||
dosym libmmbd.so.0 /usr/$(get_libdir)/libmmbd.so.0.${PV}
|
||||
into /opt
|
||||
dobin out/makemkv
|
||||
|
||||
local res
|
||||
for res in 16 22 32 64 128; do
|
||||
newicon -s ${res} makemkvgui/share/icons/${res}x${res}/makemkv.png ${PN}.png
|
||||
done
|
||||
|
||||
make_desktop_entry ${PN} MakeMKV ${PN} 'Qt;AudioVideo;Video'
|
||||
|
||||
# install bin package
|
||||
pushd "${WORKDIR}"/${MY_PB}/bin >/dev/null
|
||||
if use x86; then
|
||||
dobin i386/{makemkvcon,mmdtsdec}
|
||||
elif use amd64; then
|
||||
dobin amd64/makemkvcon
|
||||
use multilib && dobin i386/mmdtsdec
|
||||
fi
|
||||
popd >/dev/null
|
||||
|
||||
# install license and default profile
|
||||
pushd "${WORKDIR}"/${MY_PB}/src/share >/dev/null
|
||||
insinto /usr/share/MakeMKV
|
||||
doins *.{gz,xml}
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
pkg_preinst() { gnome2_icon_savelist; }
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
|
||||
elog "While MakeMKV is in beta mode, upstream has provided a license"
|
||||
elog "to use if you do not want to purchase one."
|
||||
elog ""
|
||||
elog "See this forum thread for more information, including the key:"
|
||||
elog "http://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053"
|
||||
elog ""
|
||||
elog "Note that beta license may have an expiration date and you will"
|
||||
elog "need to check for newer licenses/releases. "
|
||||
elog ""
|
||||
elog "If this is a new install, remember to copy the default profile"
|
||||
elog "to the config directory:"
|
||||
elog "cp /usr/share/MakeMKV/default.mmcp.xml ~/.MakeMKV/"
|
||||
}
|
||||
|
||||
pkg_postrm() { gnome2_icon_cache_update; }
|
@ -1 +1 @@
|
||||
Tue, 19 Aug 2014 20:37:00 +0000
|
||||
Wed, 20 Aug 2014 13:06:59 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue, 19 Aug 2014 20:37:00 +0000
|
||||
Wed, 20 Aug 2014 13:06:59 +0000
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare
|
||||
DEPEND=>=dev-lang/perl-5.6.0 dev-perl/TimeDate >=sys-libs/ncurses-5.2-r7 bzip2? ( app-arch/bzip2 ) lzma? ( app-arch/xz-utils ) selinux? ( sys-libs/libselinux ) zlib? ( >=sys-libs/zlib-1.1.4 ) app-arch/xz-utils sys-devel/flex virtual/pkgconfig nls? ( app-text/po4a >=sys-devel/gettext-0.18.2 ) test? ( dev-perl/DateTime-Format-DateParse dev-perl/IO-String dev-perl/Test-Pod virtual/perl-Test-Harness ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool
|
||||
DESCRIPTION=Package maintenance system for Debian
|
||||
EAPI=5
|
||||
HOMEPAGE=http://packages.qa.debian.org/dpkg
|
||||
IUSE=+bzip2 +lzma nls selinux test unicode +update-alternatives +zlib
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=dev-lang/perl-5.6.0 dev-perl/TimeDate >=sys-libs/ncurses-5.2-r7 bzip2? ( app-arch/bzip2 ) lzma? ( app-arch/xz-utils ) selinux? ( sys-libs/libselinux ) zlib? ( >=sys-libs/zlib-1.1.4 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://debian/pool/main/d/dpkg/dpkg_1.17.13.tar.xz
|
||||
_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 06133990e861be0fe60c2b428fd025d9 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402
|
||||
_md5_=ee92ec4d292dd1410af9cb720be02422
|
@ -1,11 +0,0 @@
|
||||
DEFINED_PHASES=compile install unpack
|
||||
DEPEND=>=dev-libs/openssl-0.9.7e dev-perl/Locale-gettext >=virtual/perl-MIME-Base64-2.12 >=dev-perl/gtk2-perl-1.072 >=sys-apps/sed-4
|
||||
DESCRIPTION=Simple Perl/Tk GUI to manage a small certification authority
|
||||
HOMEPAGE=http://tinyca.sm-zone.net/
|
||||
KEYWORDS=~x86 ~sparc ~ppc ~amd64
|
||||
LICENSE=Artistic
|
||||
RDEPEND=>=dev-libs/openssl-0.9.7e dev-perl/Locale-gettext >=virtual/perl-MIME-Base64-2.12 >=dev-perl/gtk2-perl-1.072
|
||||
SLOT=0
|
||||
SRC_URI=http://tinyca.sm-zone.net/tinyca2-0.7.3.tar.bz2
|
||||
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
|
||||
_md5_=a244f6a8dec6d4a1eb656466ef0ec0ee
|
@ -1,12 +1,13 @@
|
||||
DEFINED_PHASES=compile install unpack
|
||||
DEFINED_PHASES=compile install prepare
|
||||
DEPEND=>=dev-libs/openssl-0.9.7e dev-perl/Locale-gettext >=virtual/perl-MIME-Base64-2.12 >=dev-perl/gtk2-perl-1.072 >=sys-apps/sed-4
|
||||
DESCRIPTION=Simple Perl/Tk GUI to manage a small certification authority
|
||||
EAPI=5
|
||||
HOMEPAGE=http://tinyca.sm-zone.net/
|
||||
IUSE=linguas_en linguas_de linguas_cs linguas_es linguas_sv
|
||||
KEYWORDS=amd64 ~ppc ~sparc x86
|
||||
KEYWORDS=~amd64 ~ppc ~sparc ~x86
|
||||
LICENSE=Artistic
|
||||
RDEPEND=>=dev-libs/openssl-0.9.7e dev-perl/Locale-gettext >=virtual/perl-MIME-Base64-2.12 >=dev-perl/gtk2-perl-1.072
|
||||
SLOT=0
|
||||
SRC_URI=http://tinyca.sm-zone.net/tinyca2-0.7.5.tar.bz2
|
||||
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
|
||||
_md5_=005792789dc843c1c412f65d63a8ed3e
|
||||
_md5_=db717cdb37214f2045cf623b8d23d4a1
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare unpack
|
||||
DEPEND=app-text/hunspell dev-qt/qtcore:4 dev-qt/qtgui:4 dev-qt/qtsingleapplication[X] sys-libs/zlib virtual/pkgconfig >=sys-apps/sed-4
|
||||
DESCRIPTION=A fullscreen and distraction-free word processor
|
||||
EAPI=5
|
||||
HOMEPAGE=http://gottcode.org/focuswriter/
|
||||
IUSE=debug linguas_ar linguas_ca linguas_cs linguas_da linguas_de linguas_el linguas_en linguas_en_GB linguas_es_MX linguas_es linguas_fi linguas_fr linguas_he linguas_hu linguas_hy linguas_id linguas_it linguas_ja linguas_ko linguas_nl linguas_pl linguas_pt_BR linguas_pt linguas_ro linguas_ru linguas_sk linguas_sr linguas_sv linguas_tr linguas_uk linguas_vi linguas_zh_CN linguas_zh_TW
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=app-text/hunspell dev-qt/qtcore:4 dev-qt/qtgui:4 dev-qt/qtsingleapplication[X] sys-libs/zlib
|
||||
SLOT=0
|
||||
SRC_URI=http://gottcode.org/focuswriter/focuswriter-1.5.3-src.tar.bz2
|
||||
_eclasses_=base 87f7447ccfc06fd0729ff4684e11e0d6 eutils 06133990e861be0fe60c2b428fd025d9 fdo-mime 0acfe1a88fd8751a1d5dc671168219fa gnome2-utils f658eba3cc594a21cf6eef4af47daa90 l10n 33bde4fb0cfd3a21a277b66bfd837e19 multilib 3bf24e6abb9b76d9f6c20600f0b716bf qmake-utils 40136c5fe0002a0d3937e869ae4ee0e2 qt4-r2 b40473dafd07d7c5fe4aef1c1b902f39 readme.gentoo 106edea5533517715013de909a333abd toolchain-funcs 0f1760274637a138b99bb649202ea402
|
||||
_md5_=76422cb7fb87575d60cee5d928a25c74
|
@ -1,14 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare test
|
||||
DEPEND=dev-python/markupsafe[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] doc? ( >=dev-python/sphinx-0.6 ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)]
|
||||
DEPEND=dev-python/markupsafe[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] !dev-python/jinja:compat doc? ( >=dev-python/sphinx-0.6 ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)]
|
||||
DESCRIPTION=A small but fast and easy to use stand-alone template engine written in pure Python
|
||||
EAPI=5
|
||||
HOMEPAGE=http://jinja.pocoo.org/ http://pypi.python.org/pypi/Jinja2
|
||||
IUSE=doc examples python_targets_python2_7 python_targets_python3_2 python_targets_python3_3 python_targets_python3_4 python_targets_pypy
|
||||
KEYWORDS=alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris
|
||||
LICENSE=BSD
|
||||
RDEPEND=dev-python/markupsafe[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)]
|
||||
RDEPEND=dev-python/markupsafe[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] !dev-python/jinja:compat python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_2 python_targets_python3_3 python_targets_python3_4 python_targets_pypy )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/J/Jinja2/Jinja2-2.7.3.tar.gz
|
||||
_eclasses_=distutils-r1 d48d51c220f1678179fc4ab13b534ec1 eutils 06133990e861be0fe60c2b428fd025d9 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 75e5c82b55dcb208a0a8f4ab8847e731 python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402
|
||||
_md5_=4a9eb3f5383e7b139b32b71985abf7ab
|
||||
_md5_=213e20c198b3639517208ea50ad9aa09
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue