parent
c542201c98
commit
caa0b30f8d
@ -0,0 +1,12 @@
|
||||
https://bugs.gentoo.org/580204
|
||||
|
||||
--- a/restore/tape.c
|
||||
+++ b/restore/tape.c
|
||||
@@ -65,6 +65,7 @@
|
||||
#include <sys/un.h>
|
||||
|
||||
#ifdef __linux__
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
#ifdef HAVE_EXT2FS_EXT2_FS_H
|
@ -1,2 +1,2 @@
|
||||
DIST pgpdump-0.28.tar.gz 62346 SHA256 38b531cc6dbab947016c15988b7abe34a1feec7eeaf4798a6ff5b8ebe5e96a5e SHA512 c48c1e1ffc868316dea1d1520feb036d3c7fbc4e3ebaceb76c623e7cf5798c9ea191712117a28a140df102474c8321c4ab27a4161a0897d0eabe5963ce97d4c6 WHIRLPOOL 6c50a1546324036496c305d957aa3a0a248c04b7aed5c92038e5d91493e3d9b3663eec888ab1e7478368516534ac6dce3b2dbb2ebfc215193ce3f7740bf50482
|
||||
DIST pgpdump-0.29.tar.gz 62779 SHA256 6215d9af806399fec73d81735cf20ce91033a7a89a82c4318c4d1659083ff663 SHA512 ef948791c864d871e30c92ae1bf3dbb5cb09b9665ca97c4644412410266cd82b8509683ce55406192d7d70179d6eeb81f92ee2efd29443a44285df9e21010292 WHIRLPOOL f38f823132ed1e06bf9e7c87ee4b208abc7c2666fed8567434e496ee6032a19b5febaab3f34a27fbbaead99da91963c899ba873e6fe11b76ec3ad8d1227d8d79
|
||||
DIST pgpdump-0.30.tar.gz 63152 SHA256 8c36a005baee8dd6e730e5735c7ac2bbc8826a1bb29f500c0202d00fd62baad4 SHA512 e250dc82bb890a7645a41f6ddbfad9155ddf70f2ea53b09e771e9b6851d05d3fba88e16b106681ab092174e79ad709ed860be25bfded1ca7f369b357e8c72730 WHIRLPOOL 80a054e53d262ad5d349ecb10a5f421c1308de248ad9e2884eb4f37244f79efb3428dedd6d1d2d6b59cdb20b76c95f8ac6674fab3b47635944e0012c8eeaa59c
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST runc-0.0.2.tar.gz 370712 SHA256 3d0aa68ebb1622853d0bbed432ebd4b6c9ef210881ac74f3a695b4e914d246dc SHA512 e0a44d5dd8a1b8eaeaf7d466cebc7dc8beaa26f49bd0e76d3a955cef9c5c266d2afe6652f28fa905a408b5b93966f52e345112fa7aef373216561ad7069181c5 WHIRLPOOL e7ed1ee3d159a81fb0b2b0f5fac9a9a66116035babc88f6f266a6c8455953ce372e93351baf7c621c42ab8c5907961fd899b1d158e7f7b1335f83fcef7252c71
|
||||
DIST runc-0.0.5.tar.gz 441874 SHA256 e80323412883e4afcfcf8e1b2eaefdcb74632628d02fd7f48618caf78e5e4aa0 SHA512 625d67ec02e23c66a3d1a97113a0c58f3f200404866839556bc3cd5b3e34342230b8091613d17ef4a38d05ca51df586cd7366dc6bddeeddd6b69bb9a2ae7efda WHIRLPOOL 862b08621b67fc57286940ad5e20557d90cfef63aae5be0a90fc6f5b764d032b187ba5ad5dcb1fa99fb5ec59d6217941aa19ca9048637bd02b64e52c8cecdce6
|
||||
DIST runc-0.1.0.tar.gz 496358 SHA256 681d6d89541ae2e06757f999a242a1f97bbcb1ad6e10f4cdee287ec4a9d2bff9 SHA512 8a9ff02b0161eda0a730194b0fbf7ad76e8f379992e74061ef49302da3492fd0c53f06db9153ded4d934d67bbf6f4291d6154254f1b924ef73c97c44cd14ffcf WHIRLPOOL 81f488a4f1e23e8704a9fa8404965b2f12f74a875ba8e67dc15de93f43b075dc538cd0d89c7a1187cb74ac6320317b5985855945fb8bf8f749d6736df47b844a
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="runc container cli tools"
|
||||
HOMEPAGE="http://runc.io"
|
||||
|
||||
GITHUB_URI="github.com/opencontainers/runc"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="git://${GITHUB_URI}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://${GITHUB_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="+seccomp"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.4:="
|
||||
RDEPEND="seccomp? ( sys-libs/libseccomp )"
|
||||
|
||||
src_compile() {
|
||||
# Taken from app-emulation/docker-1.7.0-r1
|
||||
export CGO_CFLAGS="-I${ROOT}/usr/include"
|
||||
export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)"
|
||||
|
||||
# Setup GOPATH so things build
|
||||
rm -rf .gopath
|
||||
mkdir -p .gopath/src/"$(dirname "${GITHUB_URI}")"
|
||||
ln -sf ../../../.. .gopath/src/"${GITHUB_URI}"
|
||||
export GOPATH="${PWD}/.gopath:${PWD}/vendor"
|
||||
|
||||
# build up optional flags
|
||||
local options=( $(usex seccomp "seccomp") )
|
||||
|
||||
emake BUILDTAGS="${options[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin runc
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="runc container cli tools"
|
||||
HOMEPAGE="http://runc.io"
|
||||
|
||||
GITHUB_URI="github.com/opencontainers/runc"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="git://${GITHUB_URI}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://${GITHUB_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="+seccomp"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.4:="
|
||||
RDEPEND="seccomp? ( sys-libs/libseccomp )"
|
||||
|
||||
src_compile() {
|
||||
# Taken from app-emulation/docker-1.7.0-r1
|
||||
export CGO_CFLAGS="-I${ROOT}/usr/include"
|
||||
export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)"
|
||||
|
||||
# Setup GOPATH so things build
|
||||
rm -rf .gopath
|
||||
mkdir -p .gopath/src/"$(dirname "${GITHUB_URI}")"
|
||||
ln -sf ../../../.. .gopath/src/"${GITHUB_URI}"
|
||||
export GOPATH="${PWD}/.gopath:${PWD}/vendor"
|
||||
|
||||
# build up optional flags
|
||||
local options=( $(usex seccomp "seccomp") )
|
||||
|
||||
emake BUILDTAGS="${options[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin runc
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST thefuck-3.7.tar.gz 783470 SHA256 6e7efdc51baa5bfeecf38fc1e6ecdaf07b90168a6ced79cbf50fe6ff0e0adb1e SHA512 736a0656e9bce2efdfabdede6a3d4e11b9ced324ffe6435a16475c0d5e0a04b4240be66aebdd5512d04b32a2a6c91be929e36ddcf3a7d62e59f195df33505e6c WHIRLPOOL dd901df50c767f08b98d1a4e3fc1ef086a0961911976a7c1fb6f121ea0d4df9512955ee8c3c5106760045f60d7cbb168b07be0e348db53a584e876194630e574
|
||||
DIST thefuck-3.8.tar.gz 784189 SHA256 210605275f582eb6e3aa604f4e4909c0c350053fffd963ecedacfc5733cf9bd3 SHA512 4e324fd0044a7ca78a96a744583b2d1357db142ee3b5fd174a76db52e82e788e899be2dceb1184f903f663711dc8ce82298cbc3a5b8704b8bf1903692e05a962 WHIRLPOOL 65f6a05dcf4f03a8bf9f036a560a4200b58990e13c88fb5e4ba4fae733a1166f9dd65721cf1626044ae576526c57d58a3ba230a2ef1bff8186d9a0b47a691273
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python{2_7,3_4})
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Magnificent app which corrects your previous console command"
|
||||
HOMEPAGE="https://github.com/nvbn/thefuck"
|
||||
SRC_URI="https://github.com/nvbn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/pathlib[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/decorator[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]"
|
||||
DEPEND="test? ( ${RDEPEND}
|
||||
dev-python/pytest[${PYTHON_USEDEP}] )
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "/import pip/s/^/#/" -e "/pip.__version__/,+3 s/^/#/" setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test || die
|
||||
}
|
@ -0,0 +1,238 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs versionator
|
||||
|
||||
SRC_PV="$(printf "%u%02u%02u%02u" $(get_version_components))"
|
||||
DOC_PV="${SRC_PV}"
|
||||
# DOC_PV="$(printf "%u%02u%02u00" $(get_version_components $(get_version_component_range 1-3)))"
|
||||
|
||||
DESCRIPTION="A SQL Database Engine in a C Library"
|
||||
HOMEPAGE="https://sqlite.org/"
|
||||
SRC_URI="doc? ( https://sqlite.org/2016/${PN}-doc-${DOC_PV}.zip )
|
||||
tcl? ( https://sqlite.org/2016/${PN}-src-${SRC_PV}.zip )
|
||||
test? ( https://sqlite.org/2016/${PN}-src-${SRC_PV}.zip )
|
||||
tools? ( https://sqlite.org/2016/${PN}-src-${SRC_PV}.zip )
|
||||
!tcl? ( !test? ( !tools? ( https://sqlite.org/2016/${PN}-autoconf-${SRC_PV}.tar.gz ) ) )"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug doc icu +readline secure-delete static-libs tcl test tools"
|
||||
|
||||
RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )
|
||||
readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
|
||||
tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )
|
||||
tools? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-arch/unzip )
|
||||
tcl? ( app-arch/unzip )
|
||||
test? (
|
||||
app-arch/unzip
|
||||
dev-lang/tcl:0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
tools? ( app-arch/unzip )"
|
||||
|
||||
full_tarball() {
|
||||
use tcl || use test || use tools
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if full_tarball; then
|
||||
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
||||
else
|
||||
S="${WORKDIR}/${PN}-autoconf-${SRC_PV}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if full_tarball; then
|
||||
epatch "${FILESDIR}/${PN}-3.11.0-full_tarball-build.patch"
|
||||
|
||||
# Fix AC_CHECK_FUNCS.
|
||||
# https://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2016-March/002762.html
|
||||
sed -e "s/AC_CHECK_FUNCS(.*)/AC_CHECK_FUNCS([fdatasync fullfsync gmtime_r isnan localtime_r localtime_s malloc_usable_size posix_fallocate pread pread64 pwrite pwrite64 strchrnul usleep utime])/" -i configure.ac
|
||||
else
|
||||
epatch "${FILESDIR}/${PN}-3.12.0-nonfull_tarball-build.patch"
|
||||
|
||||
# Fix AC_CHECK_FUNCS.
|
||||
# https://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2016-March/002762.html
|
||||
sed \
|
||||
-e "s/AC_CHECK_FUNCS(\[fdatasync.*/AC_CHECK_FUNCS([fdatasync fullfsync gmtime_r isnan localtime_r localtime_s malloc_usable_size posix_fallocate pread pread64 pwrite pwrite64 strchrnul usleep utime])/" \
|
||||
-e "/AC_CHECK_FUNCS(posix_fallocate)/d" \
|
||||
-i configure.ac
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local CPPFLAGS="${CPPFLAGS}" options=()
|
||||
|
||||
options+=(
|
||||
--enable-$(full_tarball && echo load-extension || echo dynamic-extensions)
|
||||
--enable-threadsafe
|
||||
)
|
||||
if ! full_tarball; then
|
||||
options+=(--disable-static-shell)
|
||||
fi
|
||||
|
||||
# Support detection of misuse of SQLite API.
|
||||
# https://sqlite.org/compile.html#enable_api_armor
|
||||
append-cppflags -DSQLITE_ENABLE_API_ARMOR
|
||||
|
||||
# Support column metadata functions.
|
||||
# https://sqlite.org/c3ref/column_database_name.html
|
||||
append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
|
||||
|
||||
# Support dbstat virtual table.
|
||||
# https://sqlite.org/dbstat.html
|
||||
append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB
|
||||
|
||||
# Support comments in output of EXPLAIN.
|
||||
# https://sqlite.org/compile.html#enable_explain_comments
|
||||
append-cppflags -DSQLITE_ENABLE_EXPLAIN_COMMENTS
|
||||
|
||||
# Support Full-Text Search versions 3, 4 and 5.
|
||||
# https://sqlite.org/fts3.html
|
||||
# https://sqlite.org/fts5.html
|
||||
append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4
|
||||
options+=(--enable-fts5)
|
||||
|
||||
# Support hidden columns.
|
||||
append-cppflags -DSQLITE_ENABLE_HIDDEN_COLUMNS
|
||||
|
||||
# Support JSON1 extension.
|
||||
# https://sqlite.org/json1.html
|
||||
append-cppflags -DSQLITE_ENABLE_JSON1
|
||||
|
||||
# Support Resumable Bulk Update extension.
|
||||
# https://sqlite.org/rbu.html
|
||||
append-cppflags -DSQLITE_ENABLE_RBU
|
||||
|
||||
# Support R*Trees.
|
||||
# https://sqlite.org/rtree.html
|
||||
append-cppflags -DSQLITE_ENABLE_RTREE
|
||||
|
||||
# Support scan status functions.
|
||||
# https://sqlite.org/c3ref/stmt_scanstatus.html
|
||||
# https://sqlite.org/c3ref/stmt_scanstatus_reset.html
|
||||
append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS
|
||||
|
||||
# Support unlock notification.
|
||||
# https://sqlite.org/unlock_notify.html
|
||||
append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
||||
|
||||
# Support soundex() function.
|
||||
# https://sqlite.org/lang_corefunc.html#soundex
|
||||
append-cppflags -DSQLITE_SOUNDEX
|
||||
|
||||
# debug USE flag.
|
||||
if full_tarball; then
|
||||
options+=($(use_enable debug))
|
||||
else
|
||||
if use debug; then
|
||||
append-cppflags -DSQLITE_DEBUG
|
||||
else
|
||||
append-cppflags -DNDEBUG
|
||||
fi
|
||||
fi
|
||||
|
||||
# icu USE flag.
|
||||
if use icu; then
|
||||
# Support ICU extension.
|
||||
# https://sqlite.org/compile.html#enable_icu
|
||||
append-cppflags -DSQLITE_ENABLE_ICU
|
||||
if full_tarball; then
|
||||
sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||
else
|
||||
sed -e "s/^LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
# readline USE flag.
|
||||
options+=(
|
||||
--disable-editline
|
||||
$(use_enable readline)
|
||||
)
|
||||
if full_tarball && use readline; then
|
||||
options+=(--with-readline-inc="-I${EPREFIX}/usr/include/readline")
|
||||
fi
|
||||
|
||||
# secure-delete USE flag.
|
||||
if use secure-delete; then
|
||||
# Enable secure_delete pragma by default.
|
||||
# https://sqlite.org/pragma.html#pragma_secure_delete
|
||||
append-cppflags -DSQLITE_SECURE_DELETE
|
||||
fi
|
||||
|
||||
# static-libs USE flag.
|
||||
options+=($(use_enable static-libs static))
|
||||
|
||||
# tcl, test, tools USE flags.
|
||||
if full_tarball; then
|
||||
options+=(--enable-tcl)
|
||||
fi
|
||||
|
||||
if [[ "${CHOST}" == *-mint* ]]; then
|
||||
append-cppflags -DSQLITE_OMIT_WAL
|
||||
fi
|
||||
|
||||
econf "${options[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}"
|
||||
|
||||
if use tools && multilib_is_native_abi; then
|
||||
emake rbu showdb showjournal showstat4 showwal sqldiff sqlite3_analyzer
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
if [[ "${EUID}" -eq 0 ]]; then
|
||||
ewarn "Skipping tests due to root permissions"
|
||||
return
|
||||
fi
|
||||
|
||||
emake HAVE_TCL="$(usex tcl 1 "")" $(use debug && echo fulltest || echo test)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install
|
||||
|
||||
if use tools && multilib_is_native_abi; then
|
||||
install_tool() {
|
||||
if [[ -f ".libs/${1}" ]]; then
|
||||
newbin ".libs/${1}" "${2}"
|
||||
else
|
||||
newbin "${1}" "${2}"
|
||||
fi
|
||||
}
|
||||
|
||||
install_tool rbu sqlite3-rbu
|
||||
install_tool showdb sqlite3-show-db
|
||||
install_tool showjournal sqlite3-show-journal
|
||||
install_tool showstat4 sqlite3-show-stat4
|
||||
install_tool showwal sqlite3-show-wal
|
||||
install_tool sqldiff sqlite3-diff
|
||||
install_tool sqlite3_analyzer sqlite3-analyzer
|
||||
|
||||
unset -f install_tool
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
prune_libtool_files
|
||||
|
||||
doman sqlite3.1
|
||||
|
||||
if use doc; then
|
||||
dohtml -A ico,odf,odg,pdf,svg -r "${WORKDIR}/${PN}-doc-${DOC_PV}/"
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST blassic-0.10.2.tgz 361603 SHA256 b0ef334d5c1c710643f1dd11e651ce091e7059aa5e9895b547dfa86c3638bdfa SHA512 20f7210fd42ff58e11d7238aee37c21f18b733faf11edeb1d1a3e78c8fb524e37f0c871a2ab6b6608daaf593c4b4e8da4e2f86cddb8ad5e23905b0ce081feffa WHIRLPOOL ba571518104e319c47a341654f241e0b53ece0b614f200a824440fd0e67795a375d4f1703ccaa42ac8c85572c0ee6b0d3c980379094bc836fc4d866e2678cf1a
|
||||
DIST blassic-0.10.3.tgz 391555 SHA256 c9c3002ad0de50aa2211634b41483b83a3dc985ec7ca68818450d8f4891c1693 SHA512 7405e82a4855d87715fa8475e9b1858a95e18cd240c14ff422e31fd799f2d8182c7e0e22bfdfc2d7b95824660b2fe0bec9b0aaaf20dc1ce985f77b6da3173caa WHIRLPOOL 4010bfe149df557abf60edd548eca0074d8b7287e80af8a8bd2ace479f7d2e92d54f68137d19450357b3912bb8297df51cc14728db58140166a3b6ac8f85296c
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="classic Basic interpreter"
|
||||
HOMEPAGE="http://blassic.net"
|
||||
SRC_URI="http://blassic.net/bin/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~x86-linux ~ppc-macos ~x86-macos"
|
||||
SLOT="0"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:0
|
||||
X? ( x11-libs/libICE x11-libs/libX11 x11-libs/libSM )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xproto )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-tinfo.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-svgalib \
|
||||
$(use_with X x)
|
||||
}
|
||||
|
||||
DOCS=( AUTHORS NEWS README THANKS TODO )
|
@ -0,0 +1,12 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -191,7 +191,8 @@
|
||||
AC_CHECK_HEADERS([ncurses.h],,[ncurses_found=no])
|
||||
if test "$ncurses_found" = yes
|
||||
then
|
||||
- AC_CHECK_LIB([ncurses],[tputs],,[ncurses_found=no])
|
||||
+ AC_CHECK_LIB([tinfo],[tputs],,
|
||||
+ AC_CHECK_LIB([ncurses],[tputs],,[ncurses_found=no]))
|
||||
if test "$ncurses_found" = yes
|
||||
then
|
||||
AC_DEFINE(BLASSIC_CONFIG_USE_NCURSES)
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="groovy little assembler"
|
||||
HOMEPAGE="http://www.nasm.us/"
|
||||
SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/${PV/_}/${P/_}.tar.xz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="dev-lang/perl
|
||||
doc? ( app-text/ghostscript-gpl sys-apps/texinfo )"
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}/${P/_}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
econf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake nasmlib.o
|
||||
emake all
|
||||
use doc && emake doc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALLROOT="${D}" install install_rdf
|
||||
dodoc AUTHORS CHANGES ChangeLog README TODO
|
||||
if use doc ; then
|
||||
doinfo doc/info/*
|
||||
dohtml doc/html/*
|
||||
dodoc doc/nasmdoc.*
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST grantlee-0.4.0.tar.gz 1171445 SHA256 13a2d8121392404bb3be4ed470b211bc098cd98da795ef7bf41517d2fb640d3f SHA512 6ff539eb7aaf366487214b02131d67b9967713c42d20314ff56129e9543516fdf2d129b9c3015f0959c89c6f0ee9ad085af91fed4293bd0613d8e888bc850ca7 WHIRLPOOL ee639a72c6f785559b427a2f13483c256e19dbeb270ff34118a81547ea1f31a69aeaed7c58a2d89952b79d58e3acc88ef44f06cac32739747c7920ef66d621b0
|
||||
DIST grantlee-5.0.0.tar.gz 1166498 SHA256 eaf22ba92e53b8eb5dd8bca045fe81b734d3445445ed9e0c1af2a0a7c375b161 SHA512 29b73fe4ee1b6e814ca91e4a3732208bada9b64bc8ace506bd8e888927b3fcd1a539e4ec03488901815692bd47424d8176fb2d6766461011e40fb33b221f6be4 WHIRLPOOL 418cb19061990a39c24d6be42c86f7f63a11d4451434dc2616072a4498268a1bc1de0d5de9163d2980420c1cc955e2f700a4722e19ebbeded5f0aa6a7393eb48
|
||||
DIST grantlee-5.1.0.tar.gz 1175380 SHA256 ea2e402466c74bb533eee2c7252209ec61cd93a5d236fecd625b4a0eb13a1478 SHA512 2b806a0770b9c6d02f207d5b4939ae8cae325de4fa01901320ffef5c8442ef0f1c10dd799966d0bf0d223e6541f93db8568aaf922ea1b334bcb2f85f6373a936 WHIRLPOOL bbe96918cc28e5ab0112f4d5b6bca33825110997d3b91f009f699620168bc7310fe72e3b04fc5dcb93681196d6f2a02df29163b0dfcb5ab8816cba2755afe3c5
|
||||
|
@ -0,0 +1,39 @@
|
||||
Install headers to a custom location to permit slotting with Qt4 version.
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 1324566..f98d5da 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -100,7 +100,7 @@ set (LIB_SUFFIX "" CACHE STRING "Define suffix of library directory name (eg. '6
|
||||
set( LIB_INSTALL_DIR lib${LIB_SUFFIX} )
|
||||
set( PLUGIN_INSTALL_DIR ${LIB_INSTALL_DIR}/grantlee/${Grantlee5_MAJOR_MINOR_VERSION_STRING} )
|
||||
set( BIN_INSTALL_DIR bin )
|
||||
-set( INCLUDE_INSTALL_DIR include )
|
||||
+set( INCLUDE_INSTALL_DIR include/grantlee5 )
|
||||
set( DATA_INSTALL_DIR share/apps )
|
||||
|
||||
# set up RPATH/install_name_dir
|
||||
diff --git a/templates/lib/CMakeLists.txt b/templates/lib/CMakeLists.txt
|
||||
index dad2ef8..434d163 100644
|
||||
--- a/templates/lib/CMakeLists.txt
|
||||
+++ b/templates/lib/CMakeLists.txt
|
||||
@@ -107,6 +107,7 @@ if (Qt5Script_FOUND)
|
||||
|
||||
target_sources(Grantlee_Templates PRIVATE ${scriptabletags_SRCS})
|
||||
target_include_directories(Grantlee_Templates PRIVATE ../scriptabletags)
|
||||
+ target_include_directories(Grantlee_Templates INTERFACE "$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>")
|
||||
target_link_libraries(Grantlee_Templates
|
||||
LINK_PRIVATE Qt5::Script
|
||||
)
|
||||
diff --git a/textdocument/lib/CMakeLists.txt b/textdocument/lib/CMakeLists.txt
|
||||
index 557d262..d2dbaa1 100644
|
||||
--- a/textdocument/lib/CMakeLists.txt
|
||||
+++ b/textdocument/lib/CMakeLists.txt
|
||||
@@ -42,6 +42,7 @@ if (CMAKE_GENERATOR MATCHES "Visual Studio")
|
||||
)
|
||||
endforeach()
|
||||
endif()
|
||||
+target_include_directories(Grantlee_TextDocument INTERFACE "$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>")
|
||||
|
||||
target_link_libraries(Grantlee_TextDocument
|
||||
LINK_PUBLIC Qt5::Gui
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
CMAKE_MIN_VERSION="3.1"
|
||||
VIRTUALX_REQUIRED="test"
|
||||
inherit cmake-utils virtualx
|
||||
|
||||
DESCRIPTION="C++ string template engine based on the Django template system"
|
||||
HOMEPAGE="https://github.com/steveire/grantlee"
|
||||
SRC_URI="http://downloads.grantlee.org/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
|
||||
IUSE="debug doc test"
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtscript:5
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen[dot] )
|
||||
test? ( dev-qt/qttest:5 )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS CHANGELOG README.md )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.3.0-nonfatal-warnings.patch"
|
||||
"${FILESDIR}/${PN}-5.1.0-slot.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
|
||||
use doc && cmake-utils_src_compile docs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx cmake-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=("${BUILD_DIR}/apidox/")
|
||||
|
||||
cmake-utils_src_install
|
||||
}
|
@ -1,7 +1,5 @@
|
||||
DIST libinput-0.9.0.tar.xz 510512 SHA256 309043976f41f5451c2a4b1c25bc2993b18aecb22524d797f21eb6b6c968ff0d SHA512 a6f718215428eda45ac00c25d0b62ada84bf924822cb66e0a9b28f4cfc36e7d1678f2dfb47afae16ce4c277d589adcf97aefe8e2e5a154873b649fe4a84527a1 WHIRLPOOL 23da6dbcd7b17000cea641e0931db8a9b2ad34b0655e4e31b0419ff4799adc59d2646b10316e073ad49695ebd652c150abf05c39d15c735ecb1d97f6f8c1d8de
|
||||
DIST libinput-1.0.1.tar.xz 800244 SHA256 482fb35119b457ba65a8bebaa47e4f6b4dbd77e59c320014a22296847b7ff99e SHA512 17efc6ddd58aadcd30aecb4d1b8b6ad32f6f61c592f29b0a99aac7d49e5cb814038874d9e8996cd6726f15c58bf4239169564c650a3250a87a9ec6fd3110c5bb WHIRLPOOL 0bba6b4a58ca0020ebcbffe5675d75832b4ed67a350ca141d990f9db522a2eee942543f475d76c1f2b816b849074f4a50e30bcb3adc99bd4abdea1a43800a2d5
|
||||
DIST libinput-1.1.0.tar.xz 802348 SHA256 673186ea2a0d2b695afaa9758834f9217b175774d9ae222e1b43ff63c663f582 SHA512 7f014eabed120c00fcd2d8748aed44a8ca31fd30bdda8b289ca63f7d1bebb9c49f1d508707fb0c4a5c7c4a37b58548efdff0e9b7761475f18e1cf787a80520e6 WHIRLPOOL 028518c20cfc6daa442dd92d04183a6575b95b1f4792a646ce42c09a7bc75e5bb469ca88b8cad89919c0814e00aa65178cc49c9dca6e9aad4ce997a94f9ba645
|
||||
DIST libinput-1.1.5.tar.xz 806960 SHA256 5e08c45dbb8bf32490cc6cd626da098564d646d161a07cba2e3adbd9745c0622 SHA512 031663c46b556048224aab018eb8ea76e34aace77508e52e6ef382a452585fafd4c91b427c0892aab3c624c0cfedc15c388922ae7166248e5da65575ff900c31 WHIRLPOOL 760cc1cf0c6657efbdadadd2f50e188d86465e1aa3f287275323d6fad9156b684de0d3b6dbf6e3fd5213018770726087ee282833f25ba5ef67918c0284b885a1
|
||||
DIST libinput-1.2.0.tar.xz 866284 SHA256 1754b917fe675507ea80445b4f2e91d76cb6a6935508fe37234807affb316e2c SHA512 ab5b534ac5db7d4142e41c61e1f8fbc7f4c9cf89567fa27196fa9300f57db7328d61af25c93126905ad06061e1b2def0abe70654ac3710b6476379f84343cce8 WHIRLPOOL 2f74bcd3ae694db9f52c450c6b96d24fd320da2002e900cf69a3ce2d9c33b00213097c0330867f32b175b5fe80d06099c3bdc461a2001f4eee4f2481ab1e32fc
|
||||
DIST libinput-1.2.1.tar.xz 863660 SHA256 e2db8c5357f8859b33c58e583601f50509f085ae9340a58790bcf44f1480c1c3 SHA512 6dceed081bb0c5374d39be7ce14ccbeb7734c50a648a155ca9d57f7dabde80a35a5b3b4eb15f37ce5c475725a13624d4c7f9ab1147f71af2576fdb746310509c WHIRLPOOL 7748530169b95765f5d8a07191c8e3f8e165d5d778f6f9da8ea4dc10164501e9be4166eecb534b69153cb11d48354663739effbd324107596f496c5d38c6b632
|
||||
DIST libinput-1.2.2.tar.xz 857176 SHA256 08ac5b3620d86df1cdb4970c4137c8746c9f4b9f0c8e7dfab49858dbceb8f367 SHA512 d738890b7fc34a66cdb6ebb58f28060ffc81dccda56aa144622f62efc054431d75564d11f6d9a96a2c17032f15093ca98db9f087822977cec9fced428efd2f8b WHIRLPOOL 66128be8bc6019a6c8986fa4ea05041fa75da38fc60232e3d1b12e0e4e90c2d049b622cf3cae7b4107cacbacf6139804693695928d1055a5203c664888d59547
|
||||
DIST libinput-1.2.3.tar.xz 860400 SHA256 09b2a9d3a0cc973a9d3fdc7af40162cbef0b16be0a2e415786f83761f519e9f2 SHA512 2b82169a395c4f8b3d9a6250b1e4787b7dac1a0a7ea421036ccbbfdb256c59f848f68233522db977d311a48abfef28b3c3f0b3779254c34469b84c7287a90fbf WHIRLPOOL ce0517cf824193c56a82a1ac61e5c8950e6f7910162c65b996bc0330e2a1fff53a59494b3f516b412995dc9af59c598b3ae6123ce601b32da07a370540705b86
|
||||
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils udev
|
||||
|
||||
DESCRIPTION="Library to handle input devices in Wayland"
|
||||
HOMEPAGE="http://www.freedesktop.org/wiki/Software/libinput/"
|
||||
SRC_URI="http://www.freedesktop.org/software/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/10"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86"
|
||||
IUSE="test"
|
||||
# Tests require write access to udev rules directory which is a no-no for live system.
|
||||
# Other tests are just about logs, exported symbols and autotest of the test library.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libevdev-0.4
|
||||
>=sys-libs/mtdev-1.1
|
||||
virtual/libudev
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
# test? (
|
||||
# >=dev-libs/check-0.9.10
|
||||
# dev-util/valgrind
|
||||
# sys-libs/libunwind )
|
||||
|
||||
src_configure() {
|
||||
# Doc handling in kinda strange but everything
|
||||
# is available in the tarball already.
|
||||
sed -e 's/^\(SUBDIRS =.*\)doc\(.*\)$/\1\2/' \
|
||||
-i Makefile.am Makefile.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# gui can be built but will not be installed
|
||||
# building documentation silently fails with graphviz syntax errors
|
||||
econf \
|
||||
--disable-documentation \
|
||||
--disable-event-gui \
|
||||
$(use_enable test tests) \
|
||||
--with-udev-dir="$(get_udevdir)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
dodoc -r doc/html
|
||||
prune_libtool_files
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils udev
|
||||
|
||||
DESCRIPTION="Library to handle input devices in Wayland"
|
||||
HOMEPAGE="http://www.freedesktop.org/wiki/Software/libinput/"
|
||||
SRC_URI="http://www.freedesktop.org/software/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/10"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="input_devices_wacom test"
|
||||
# Tests require write access to udev rules directory which is a no-no for live system.
|
||||
# Other tests are just about logs, exported symbols and autotest of the test library.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
input_devices_wacom? ( >=dev-libs/libwacom-0.12 )
|
||||
>=dev-libs/libevdev-0.4
|
||||
>=sys-libs/mtdev-1.1
|
||||
virtual/libudev
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
# test? (
|
||||
# >=dev-libs/check-0.9.10
|
||||
# dev-util/valgrind
|
||||
# sys-libs/libunwind )
|
||||
|
||||
src_prepare() {
|
||||
# Doc handling in kinda strange but everything
|
||||
# is available in the tarball already.
|
||||
sed -e 's/^\(SUBDIRS =.*\)doc\(.*\)$/\1\2/' \
|
||||
-i Makefile.am Makefile.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# gui can be built but will not be installed
|
||||
# building documentation silently fails with graphviz syntax errors
|
||||
econf \
|
||||
--disable-documentation \
|
||||
--disable-event-gui \
|
||||
$(use_enable input_devices_wacom libwacom) \
|
||||
$(use_enable test tests) \
|
||||
--with-udev-dir="$(get_udevdir)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
dodoc -r doc/html
|
||||
prune_libtool_files
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR="REHSACK"
|
||||
MODULE_VERSION=${PV%.0}
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A module to implement some of AutoConf macros in pure perl"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="test? ( >=dev-perl/Test-Pod-1.14
|
||||
>=dev-perl/Test-Pod-Coverage-1.08 )"
|
||||
RDEPEND="dev-perl/Capture-Tiny"
|
||||
|
||||
SRC_TEST="do"
|
@ -1 +1,2 @@
|
||||
DIST Config-AutoConf-0.311.tar.gz 41255 SHA256 80151a8f1346e61f66523f33c783962e23c8bd66a7b93dca79fe531dd075bc50 SHA512 36ab86fdf2ede03c3e5dc0ba77a80ac19441aeaed2d51a1469d14f8c433fb0908f938d0d33d9e9fd34b978f97b96481596fa3c4c49a7d2960c8132d2f4cd5e20 WHIRLPOOL 8397e8c5f5e72e24b2afe23171ee955b033b74682281591f7fe7dfa21bce382cfef02eca93c4cbbd1635332ac00e7d6302556f3b31faf51ea16ccee76e0c22c9
|
||||
DIST Config-AutoConf-0.313.tar.gz 48660 SHA256 3728867041d1bdbc00dffae5658b831e53f99068d3fbf0e8fb95b82a1953aeee SHA512 6867c862b6a6ee534f7a693102e37ea86426b10f6fb58e1206a2de8abe0fbe88728faedb11aad7202f7614b3fc24b5faf21a768037c12aff671d7d97dfd0d8ef WHIRLPOOL be39d842baeeb4aba75a29bf32396c27ac1da1f127f696799bd984484f246dd09a669fb7dfc24b5954fcdb3f9f8d1e77863a8b4bb53df3e7a64764dd352d1499
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST QScintilla-gpl-2.8.4.tar.gz 3031919 SHA256 9b7b2d7440cc39736bbe937b853506b3bd218af3b79095d4f710cccb0fabe80f SHA512 ab10dc756231b293ddebc06e681bb65a11b2be2a4c4132a5b2a27ca583adef76af325fa95748888d9091f2e89a30494d370df262c4eaba7b7fbed04fb7c76907 WHIRLPOOL 7357addbc0ad8869c5749a67106c18e47d79e32399416cc2867461fa8ad0c662711b8937987cb7c3cd5b83fe9f88e1529911eefec28a972e86c7f242c8c0d634
|
||||
DIST QScintilla-gpl-2.9.1.tar.gz 2490144 SHA256 79e9c39d51549061d3d489387bcee86ff20c1f746d1b25ac173d5165426eabaf SHA512 709a5251c9273c527740b138b099e42a57cefa4fcda34c04da11f4640b0ee53ca9a0a58752e963bc8c63933e382ac8a6e774965d838c9123c11c1c59a9d7100e WHIRLPOOL f47319c2cebd1fdf4ae95f26781ab52758ab698b1b72e9d7db4e081e6c27bb41ef1d1da0b450c1cefebf0a9f1c1a128d45c44ba490d2be1a77276f3e1bf75224
|
||||
DIST QScintilla-gpl-2.9.tar.gz 2435116 SHA256 d7c32e32582f93779de861006d87467b38b9ebc06e3d0b32e981cb24369fa417 SHA512 a74b7b1182e9f602aa9f61072877d8dba93c430453ed70e18d74013dbda8b0faef30629f2c086d3b06d0632b3f4980570362bb6e635c15686be1be47eaeecb00 WHIRLPOOL b27a3ff2b48dbbf034deb4fdf09259815dcee63bfffe29651cf1e5e9ceeedb408ebc0bae440479a8206af7046f80143c291c10a0293942b64eb61c5e02549ed4
|
||||
DIST QScintilla_gpl-2.9.2.tar.gz 2491222 SHA256 f2c8ccdc9d3dbb90764ceed53ea096da9bb13b6260da1324e6ab4ecea29e620a SHA512 28f88111d7eb6a016a4b87f04d2b7f5d6481b521a3361a526b3b45a56240f5c8de10310e819234fcba773c6df73bf398ae2dce622976a8e760f506be1defb7c8 WHIRLPOOL a04420c66fd417e5304c92a1ee3c1998f6849bccb9088dae96ed48c06cab0a9b1c012f073aafb1e05aaee46564de9ac89ae07145f3ded35cf47beac78065650a
|
||||
|
@ -1 +1,2 @@
|
||||
DIST file-tail-1.1.0.gem 23040 SHA256 c4d8e4e293436c831b7ecc7b690b480def5c09fad0490be19f889ef9a2babe45 SHA512 ad49d5461f9fb24f2494b59a049b5f10ed7e944ea2af0b0c885ee45a3d874f1e627671aac9f99c5785865909463701101f349d0ddd9e026de0df4d339427627d WHIRLPOOL 2772ae388445e142d668df835b049beaf02df08914b32f57b9f910fb776ae8294225a85a8336f6d7e83b30aa842e08b6f0858a145f8ddc7cf881e108d544e4cb
|
||||
DIST file-tail-1.1.1.gem 23040 SHA256 1094d5b2b424a4c38abdda767238737f0122590e2ab07c7278c196ba65c0ce3d SHA512 fa9fc8a0826ca001ba775110a534dbe9f5474ad43d60a2fc3b67badaced170b099a5dab3a6499415d9ffcc493c37436b7a964d34268de053ae6d8acfe55fa42d WHIRLPOOL 37c622ef107c25d4f7cc72ffe0f06ed1c40637d5495ddd382d5e4281167811612edeb66c284f7fa1b04b04515870d2a049752f1929eb98133fc9377b51b5df88
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_DOC_SOURCES="lib README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A small ruby library that allows it to 'tail' files in Ruby"
|
||||
HOMEPAGE="https://flori.github.com/file-tail"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "=dev-ruby/tins-1*"
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )"
|
||||
|
||||
each_ruby_test() {
|
||||
ruby-ng_testrb-2 -Ilib tests/*_test.rb
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST mysql2-0.3.20.gem 52224 SHA256 37166b21ca4b92a7af9bea566d78884b05391cfc14f786c18e7f264b422f0758 SHA512 65088e57b3693cb2b28cd37fc595de43edb85dba14421c1c43cd0c4e41efc0a8a39bd541213170af95e712998b44411a4212d9b96750207ed9d7292aa1e66c91 WHIRLPOOL 23e9852f3f9ee76e4463c4397b1e96288e2f8575030f33540c7c8cc8ca8fc106be2aec1c117dd008e4026872850731b4396babbbbeb971e8dacf523fe33387c9
|
||||
DIST mysql2-0.4.2.gem 72704 SHA256 0a12414109d6f1c328ed29a2157daff265eab81f1b3bce7794fcb4804fdaeb66 SHA512 d6883149dbd505c5d7f73c657a5fd2eebaeff9f78d411ac2fcb9bf78dc7f45866290067f20af2dd40a1851a26b09f1af404bc7aba3c60dd979475b7db81e2dae WHIRLPOOL 999b87d21acb6f8dfeb33770c27dc0b00d4576edc5e14311e543bca09be79bf56fe8d9aa93b881dca99ed5a21634c2bb1328cb0f0877ee7f0573013bb0688284
|
||||
DIST mysql2-0.4.3.gem 73728 SHA256 d81dca548bb36dde18ca187be7c7e497186f7881d24e9a58c53468976602989b SHA512 bd55bec7ae6eaa6e3f1aaffa990d9f6d19a98595a08b3eedcca3b1b38ef48181f241f651a5b20b1a8b4b55df6076d7addce9b8119e73ecc2bf384174b5f5a3e7 WHIRLPOOL d6533da63b6037638b7b54794791f6a1f3e1e6ecff6017b08acf8841348d75bee0c88a2f4ac9270d6746973a3fad2aa6465e8e76b3c6905aba2b2094ad3ca38d
|
||||
DIST mysql2-0.4.4.gem 73728 SHA256 2adf72de58581ddb17abe952f5c7843ee0caf3455ed20c82f9c41583ce3aa3ec SHA512 824f05266f65ebe5b9594a4955c439a931eab3eae2f948077e3fb53626d0402c6713a774b1939d44b8c06224c3f9f3d99299e512c734da0fdb2abe4ee654b7e4 WHIRLPOOL 3653f8d1aa9f1283792946f780bf05ab8b63cb8e157010fc7ef1af951f852b3d4e8426ea170f6da28adb13ea849e8b98c68df3333d93da388030bdd580504b93
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
# Tests require a live MySQL database but should all pass.
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="A modern, simple and very fast Mysql library for Ruby - binding to libmysql"
|
||||
HOMEPAGE="https://github.com/brianmario/mysql2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0.4"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${DEPEND} virtual/libmysqlclient"
|
||||
RDEPEND="${RDEPEND} virtual/libmysqlclient:="
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config "${EPREFIX}/usr/bin/mysqlconfig" || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake V=1 -Cext/mysql2
|
||||
cp ext/mysql2/mysql2$(get_modname) lib/mysql2/ || die
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
|
||||
MY_P="redis-rb-${PV}"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rake"
|
||||
RUBY_FAKEGEM_TASK_TEST="run"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="yard"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby client library for Redis"
|
||||
HOMEPAGE="https://github.com/redis/redis-rb"
|
||||
SRC_URI="https://github.com/redis/redis-rb/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="test? ( dev-db/redis )"
|
||||
|
||||
RUBY_S="${MY_P}"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# call me impatient, but this way we don't need netcat
|
||||
sed -i \
|
||||
-e '/test_subscribe_past_a_timeout/,+18d' \
|
||||
test/publish_subscribe_test.rb || die "sed failed"
|
||||
|
||||
# Version 3.0.6 downloads and compiles redis-server to test against.
|
||||
# This patch reverts it to the way 3.0.5 does it, using the local server.
|
||||
# https://github.com/redis/redis-rb/commit/351a1294fe33f79c23495b7568045e9f484918f2
|
||||
epatch "${FILESDIR}/${PN}-3.2.1-local-redis-server.patch"
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_DOC_DIR="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Extensions for Ruby's String class"
|
||||
HOMEPAGE="https://github.com/rsl/stringex"
|
||||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64"
|
||||
IUSE="test"
|
||||
|
||||
# we could rely on activerecord[sqlite3], but since we do not remove the
|
||||
# sqlite3 adapter from activerecord when building -sqlite3, it's easier
|
||||
# to just add another dependency, so the user doesn't have to change the
|
||||
# USE flags at all.
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/i18n-0.6.9:0.6
|
||||
dev-ruby/redcloth
|
||||
dev-ruby/test-unit:2
|
||||
>=dev-ruby/activerecord-3
|
||||
dev-ruby/sqlite3 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '1agem "i18n", "~>0.6.9"' test/test_helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# rake seems to break this
|
||||
ruby-ng_testrb-2 -Ilib -Itest test/unit/*/*_test.rb test/performance/*_test.rb || die "tests failed"
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{3_3,3_4} )
|
||||
|
||||
inherit linux-info python-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="report file access events from all running processes"
|
||||
HOMEPAGE="https://launchpad.net/fatrace"
|
||||
SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="powertop"
|
||||
|
||||
RDEPEND="powertop? ( ${PYTHON_DEPS} )"
|
||||
DEPEND="${RDEPEND}"
|
||||
REQUIRED_USE="powertop? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
CONFIG_CHECK="~FANOTIFY"
|
||||
|
||||
src_prepare() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin fatrace
|
||||
use powertop && dosbin power-usage-report
|
||||
|
||||
doman fatrace.1
|
||||
dodoc NEWS
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{3_3,3_4} )
|
||||
|
||||
inherit linux-info python-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="report file access events from all running processes"
|
||||
HOMEPAGE="https://launchpad.net/fatrace"
|
||||
SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="powertop"
|
||||
|
||||
RDEPEND="powertop? ( ${PYTHON_DEPS} )"
|
||||
DEPEND="${RDEPEND}"
|
||||
REQUIRED_USE="powertop? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
CONFIG_CHECK="~FANOTIFY"
|
||||
|
||||
src_prepare() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin fatrace
|
||||
use powertop && dosbin power-usage-report
|
||||
|
||||
doman fatrace.1
|
||||
dodoc NEWS
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
https://bugs.launchpad.net/fatrace/+bug/1572396
|
||||
https://bugs.gentoo.org/580082
|
||||
|
||||
--- a/fatrace.c
|
||||
+++ b/fatrace.c
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <signal.h>
|
||||
#include <time.h>
|
||||
#include <sys/stat.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/fanotify.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
@ -1,3 +1,6 @@
|
||||
DIST lbreakout2-2.6.4.tar.gz 3470380 SHA256 0b90716d52e67c27ff41ab7aa5c09dad4f5f19a78076cc57dd4b4d7ed2c1dbd9 SHA512 fe1787900c4379bdb8330ac8ff31138cbdb180449e5addb1c511a9778ab69f0b09a85e91659bb83663868a399d2644e6e084365702c23eac93da579e80fd68bc WHIRLPOOL 6e39c2ad44e0eb970228fcc34726ba7845498a7f07500136974fd554540bdd84fd19b88edfbadbdf3e8986dc8fa2b9673d41feab9cb34bb3e6acbaaf61c1f52c
|
||||
DIST lbreakout2-2.6.5.tar.gz 3491519 SHA256 9104d6175553da3442dc6a5fc407a669e2f5aff3eedc5d30409eb003b7a78d6f SHA512 45c54bc9401131c96eba5fdcc08ca1324904fb50d3967acf7f29034045cbcd4c1d0b65f38eb33d8aace4cfe35f2a2e7a6c2319e4a6d6a1b41274dbe293a1747b WHIRLPOOL 6e5f6f2ea51480cdaa1df7439c1efd09d38c2b88b114382effaa4c01e77b6460ad77510217fc5b66ceac32b7ee9c3c53ab6337fbab08caf66712dfdd6f270bd4
|
||||
DIST lbreakout2-levelsets-20120815.tar.gz 336355 SHA256 9245fb2b0c52364b88619f11b79f68878f1522ada8fcddb0d2da74ec2027cb34 SHA512 f9427c1716c6e9ab5d97c45849bb8d224da4c6f55c252b33d1bc3be8ff96470bc203c5a4dea5036138f6f2b07efe27f1f60763bf5460febebd0a4e0db8028bcc WHIRLPOOL 08a68780fb232309219fe1867af813b7299f270c81cc86a86887a6fcfa3194d137a34ff8ce6c083a43047a2467f08a86357e1fcaff2c8fc93981ddd90e057560
|
||||
DIST lbreakout2-levelsets-20141220.tar.gz 372221 SHA256 504d6581eba57cbe1272edf6ebf3f00d19ed2729ad0fd1e2ec49b7b504f14852 SHA512 482c1e95a37735f7bca510fa34d0f046e89b5aa9528b9af9dfff5bcb3fe656140285a95670caae2565cc9ebd30c3dc87a1fe77a6b75061ce9349ee7e36aa13d5 WHIRLPOOL d9a1523235a6672f5ce02f70cdb7bd0a353f34af500baba3739abf536c4d9cbec56596b254b34e64321d76a58d0eb34a775aa221f928219d3594d077a1c4722c
|
||||
DIST lbreakout2-themes-20111026.tar.gz 27462927 SHA256 2da570b139b4eaaadb5e598328c90983a3da22fc41e45b8563fa732ab122028a SHA512 a38856665eb3e9c0eaa0ff29817f7283237841368daa977b632df51842812e662da4343b5aa00265ed0765d4e4de1b4f11b7bf6c2650a9b9b1a8e0b440b8cf63 WHIRLPOOL 9c01ad4efac109c273a31ed5501cdc105affa6cc37e89831999e47120899018100ce902390efee8e6e6f414dbb996e1ceb08db5ac4eef478a361802a37cfd414
|
||||
DIST lbreakout2-themes-20141220.tar.gz 34006503 SHA256 ab070460589b4dc414790f27baaa77ea4e5057fa966afd9094c7475653e9a002 SHA512 6088ff4bd9dfbbeb91c74e4adb500593af88ea6796bdec577afb43fc4ea9819c4f2dae76b6b7a8ad1ce2ec32ef575e41a6fa924463107a5dcd211f50bb94a906 WHIRLPOOL 5ac3e83fb2751574828097456997ce013d182fa3c78d31b5096f62395ebbef6fd621f1cabc8222b58f9751c0f056bb6f04efc074acaba5aeaa8c95c2efdb8c7f
|
||||
|
@ -0,0 +1,67 @@
|
||||
--- lbreakout2-2.6.1.orig/Makefile.am
|
||||
+++ lbreakout2-2.6.1/Makefile.am
|
||||
@@ -1,13 +1,8 @@
|
||||
SUBDIRS = intl m4 po common gui game server client docs
|
||||
|
||||
EXTRA_DIST = config.rpath AUTHORS COPYING ChangeLog INSTALL README \
|
||||
-README-SDL.txt TODO lbreakout2.spec touchall lbreakout32.gif \
|
||||
-lbreakout48.gif lbreakout2.desktop.in win32_mancomp win32_preparchive
|
||||
-
|
||||
-desktopdir = $(datadir)/applications
|
||||
-desktop_DATA = lbreakout2.desktop
|
||||
-icondir = $(datadir)/icons
|
||||
-icon_DATA = lbreakout48.gif
|
||||
+README-SDL.txt TODO lbreakout2.spec touchall \
|
||||
+win32_mancomp win32_preparchive
|
||||
|
||||
WIN32_TEXT = AUTHORS COPYING ChangeLog INSTALL README README-SDL.txt \
|
||||
TODO lbreakout2.spec ABOUT-NLS
|
||||
--- lbreakout2-2.6.1.orig/common/gettext.h
|
||||
+++ lbreakout2-2.6.1/common/gettext.h
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
/* Get declarations of GNU message catalog functions. */
|
||||
# include <libintl.h>
|
||||
+# include <locale.h>
|
||||
|
||||
#else
|
||||
|
||||
--- lbreakout2-2.6.1.orig/configure.in
|
||||
+++ lbreakout2-2.6.1/configure.in
|
||||
@@ -80,8 +80,6 @@
|
||||
[ --enable-netdebug Enable net packet debugging.], netdebug_flag="-DNET_DEBUG_MSG" )
|
||||
AC_SUBST(netdebug_flag)
|
||||
|
||||
-dnl set localedir
|
||||
-localedir=$datadir/locale
|
||||
locdir_flag="-DLOCALEDIR=\\\"$localedir\\\""
|
||||
|
||||
dnl installation&highscore path
|
||||
--- lbreakout2-2.6.1.orig/docs/Makefile.am
|
||||
+++ lbreakout2-2.6.1/docs/Makefile.am
|
||||
@@ -7,11 +7,11 @@
|
||||
warp.jpg screen.jpg
|
||||
|
||||
install-data-local:
|
||||
- $(mkinstalldirs) $(DESTDIR)$(doc_dir)/lbreakout2
|
||||
+ $(mkinstalldirs) $(DESTDIR)$(doc_dir)
|
||||
@for file in *.jpg; do\
|
||||
- $(INSTALL_DATA) $$file $(DESTDIR)$(doc_dir)/lbreakout2/$$file;\
|
||||
+ $(INSTALL_DATA) $$file $(DESTDIR)$(doc_dir)/$$file;\
|
||||
done
|
||||
- $(INSTALL_DATA) index.html $(DESTDIR)$(doc_dir)/lbreakout2/index.html
|
||||
+ $(INSTALL_DATA) index.html $(DESTDIR)$(doc_dir)/index.html
|
||||
|
||||
win32-install-script:
|
||||
@for file in $(EXTRA_DIST); do \
|
||||
--- lbreakout2-2.6.1.orig/po/Makefile.in.in
|
||||
+++ lbreakout2-2.6.1/po/Makefile.in.in
|
||||
@@ -24,7 +24,7 @@
|
||||
exec_prefix = @exec_prefix@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
-localedir = $(datadir)/locale
|
||||
+localedir = @localedir@
|
||||
gettextsrcdir = $(datadir)/gettext/po
|
||||
|
||||
INSTALL = @INSTALL@
|
@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils flag-o-matic gnome2-utils games
|
||||
|
||||
levels_V=20141220
|
||||
themes_V=20141220
|
||||
|
||||
DESCRIPTION="Breakout clone written with the SDL library"
|
||||
HOMEPAGE="http://lgames.sourceforge.net/index.php?project=LBreakout2"
|
||||
SRC_URI=" mirror://sourceforge/lgames/${P}.tar.gz
|
||||
mirror://sourceforge/lgames/add-ons/lbreakout2/${PN}-levelsets-${levels_V}.tar.gz
|
||||
themes? ( mirror://sourceforge/lgames/add-ons/lbreakout2/${PN}-themes-${levels_V}.tar.gz )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE="nls themes"
|
||||
|
||||
RDEPEND="media-libs/libpng:0
|
||||
sys-libs/zlib
|
||||
media-libs/libsdl[sound,joystick,video]
|
||||
media-libs/sdl-net
|
||||
media-libs/sdl-mixer
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
|
||||
cd "${S}/client/levels"
|
||||
unpack ${PN}-levelsets-${levels_V}.tar.gz
|
||||
|
||||
if use themes ; then
|
||||
mkdir "${WORKDIR}/themes"
|
||||
cd "${WORKDIR}/themes"
|
||||
unpack ${PN}-themes-${themes_V}.tar.gz
|
||||
|
||||
# Delete a few duplicate themes (already shipped with lbreakout2
|
||||
# tarball). Some of them have different case than built-in themes, so it
|
||||
# is harder to just compare if the filename is the same.
|
||||
rm -f absoluteB.zip oz.zip moiree.zip
|
||||
for f in *.zip; do
|
||||
unzip -q "$f" && rm -f "$f" || die
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-gentoo.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
filter-flags -O?
|
||||
egamesconf \
|
||||
--enable-sdl-net \
|
||||
--localedir=/usr/share/locale \
|
||||
--with-docdir="/usr/share/doc/${PF}/html" \
|
||||
$(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use themes ; then
|
||||
insinto "${GAMES_DATADIR}/lbreakout2/gfx"
|
||||
doins -r "${WORKDIR}/themes/"*
|
||||
fi
|
||||
|
||||
newicon client/gfx/win_icon.png ${PN}.png
|
||||
newicon -s 32 client/gfx/win_icon.png ${PN}.png
|
||||
make_desktop_entry lbreakout2 LBreakout2
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue