parent
d864c6c89e
commit
1b17ddb645
@ -1,155 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/p7zip/p7zip-9.20.1-r4.ebuild,v 1.7 2015/05/04 12:23:31 jlec Exp $
|
|
||||||
|
|
||||||
EAPI=4
|
|
||||||
|
|
||||||
WX_GTK_VER="2.8"
|
|
||||||
|
|
||||||
inherit eutils multilib toolchain-funcs wxwidgets
|
|
||||||
|
|
||||||
DESCRIPTION="Port of 7-Zip archiver for Unix"
|
|
||||||
HOMEPAGE="http://p7zip.sourceforge.net/"
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1 rar? ( unRAR )"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 ~s390 sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
|
||||||
IUSE="doc kde rar +pch static wxwidgets"
|
|
||||||
|
|
||||||
REQUIRED_USE="kde? ( wxwidgets )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
kde? ( x11-libs/wxGTK:2.8[X,-odbc] kde-base/kdelibs )
|
|
||||||
wxwidgets? ( x11-libs/wxGTK:2.8[X,-odbc] )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
amd64? ( dev-lang/yasm )
|
|
||||||
x86? ( dev-lang/nasm )"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${PN}_${PV}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch \
|
|
||||||
"${FILESDIR}"/${P}-execstack.patch \
|
|
||||||
"${FILESDIR}"/${P}-QA.patch
|
|
||||||
|
|
||||||
if ! use pch; then
|
|
||||||
sed "s:PRE_COMPILED_HEADER=StdAfx.h.gch:PRE_COMPILED_HEADER=:g" -i makefile.* || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
sed \
|
|
||||||
-e 's:-m32 ::g' \
|
|
||||||
-e 's:-m64 ::g' \
|
|
||||||
-e 's:-O::g' \
|
|
||||||
-e 's:-pipe::g' \
|
|
||||||
-e "/^CC/s:\$(ALLFLAGS):${CFLAGS} \$(ALLFLAGS):g" \
|
|
||||||
-e "/^CXX/s:\$(ALLFLAGS):${CXXFLAGS} \$(ALLFLAGS):g" \
|
|
||||||
-i makefile* || die
|
|
||||||
|
|
||||||
# remove non-free RAR codec
|
|
||||||
if use rar; then
|
|
||||||
ewarn "Enabling nonfree RAR decompressor"
|
|
||||||
else
|
|
||||||
sed -e '/Rar/d' -i makefile* || die
|
|
||||||
rm -rf CPP/7zip/Compress/Rar || die
|
|
||||||
epatch "${FILESDIR}"/9.04-makefile.patch
|
|
||||||
fi
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e "/^CXX=/s:g++:$(tc-getCXX):" \
|
|
||||||
-e "/^CC=/s:gcc:$(tc-getCC):" \
|
|
||||||
-e '/ALLFLAGS/s:-s ::' \
|
|
||||||
makefile* || die "changing makefiles"
|
|
||||||
|
|
||||||
if use amd64; then
|
|
||||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
|
||||||
elif use x86; then
|
|
||||||
cp -f makefile.linux_x86_asm_gcc_4.X makefile.machine || die
|
|
||||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
|
||||||
# Mac OS X needs this special makefile, because it has a non-GNU linker
|
|
||||||
[[ ${CHOST} == *64-* ]] \
|
|
||||||
&& cp -f makefile.macosx_64bits makefile.machine \
|
|
||||||
|| cp -f makefile.macosx_32bits makefile.machine
|
|
||||||
# bundles have extension .bundle but don't die because USE=-rar
|
|
||||||
# removes the Rar directory
|
|
||||||
sed -i -e '/strcpy(name/s/\.so/.bundle/' \
|
|
||||||
CPP/Windows/DLL.cpp || die
|
|
||||||
sed -i -e '/^PROG=/s/\.so/.bundle/' \
|
|
||||||
CPP/7zip/Bundles/Format7zFree/makefile \
|
|
||||||
$(use rar && echo CPP/7zip/Compress/Rar/makefile) || die
|
|
||||||
elif use x86-fbsd; then
|
|
||||||
# FreeBSD needs this special makefile, because it hasn't -ldl
|
|
||||||
sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use static; then
|
|
||||||
sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use kde || use wxwidgets; then
|
|
||||||
einfo "Preparing dependency list"
|
|
||||||
emake depend
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake all3
|
|
||||||
if use kde || use wxwidgets; then
|
|
||||||
emake -- 7zG
|
|
||||||
emake -- 7zFM
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
emake test test_7z test_7zr
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# this wrappers can not be symlinks, p7zip should be called with full path
|
|
||||||
make_wrapper 7zr "/usr/$(get_libdir)/${PN}/7zr"
|
|
||||||
make_wrapper 7za "/usr/$(get_libdir)/${PN}/7za"
|
|
||||||
make_wrapper 7z "/usr/$(get_libdir)/${PN}/7z"
|
|
||||||
|
|
||||||
if use kde || use wxwidgets; then
|
|
||||||
make_wrapper 7zG "/usr/$(get_libdir)/${PN}/7zG"
|
|
||||||
make_wrapper 7zFM "/usr/$(get_libdir)/${PN}/7zFM"
|
|
||||||
|
|
||||||
make_desktop_entry 7zFM "${PN} FM" ${PN} "GTK;Utility;Archiving;Compression"
|
|
||||||
|
|
||||||
dobin GUI/p7zipForFilemanager
|
|
||||||
exeinto /usr/$(get_libdir)/${PN}
|
|
||||||
doexe bin/7z{G,FM}
|
|
||||||
|
|
||||||
insinto /usr/$(get_libdir)/${PN}
|
|
||||||
doins -r GUI/{Lang,help}
|
|
||||||
|
|
||||||
insinto /usr/share/icons/hicolor/16x16/apps/
|
|
||||||
newins GUI/p7zip_16_ok.png p7zip.png
|
|
||||||
|
|
||||||
if use kde; then
|
|
||||||
|
|
||||||
rm GUI/kde4/p7zip_compress.desktop
|
|
||||||
insinto /usr/share/kde4/services/ServiceMenus
|
|
||||||
doins GUI/kde4/*.desktop
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
dobin contrib/gzip-like_CLI_wrapper_for_7z/p7zip
|
|
||||||
doman contrib/gzip-like_CLI_wrapper_for_7z/man1/p7zip.1
|
|
||||||
|
|
||||||
exeinto /usr/$(get_libdir)/${PN}
|
|
||||||
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx
|
|
||||||
doexe bin/*$(get_modname)
|
|
||||||
if use rar; then
|
|
||||||
exeinto /usr/$(get_libdir)/${PN}/Codecs/
|
|
||||||
doexe bin/Codecs/*$(get_modname)
|
|
||||||
fi
|
|
||||||
|
|
||||||
doman man1/7z.1 man1/7za.1 man1/7zr.1
|
|
||||||
dodoc ChangeLog README TODO
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
dodoc DOCS/*.txt
|
|
||||||
dohtml -r DOCS/MANUAL/*
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
diff -r 71644dea35c8 src/engine-gpgsm.c
|
|
||||||
--- a/src/engine-gpgsm.c Thu Jul 31 14:06:58 2014 +0200
|
|
||||||
+++ b/src/engine-gpgsm.c Thu Jul 31 14:10:25 2014 +0200
|
|
||||||
@@ -834,7 +834,7 @@
|
|
||||||
else
|
|
||||||
{
|
|
||||||
*aline = newline;
|
|
||||||
- gpgsm->colon.attic.linesize += linelen + 1;
|
|
||||||
+ gpgsm->colon.attic.linesize = *alinelen + linelen + 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (!err)
|
|
||||||
diff -r 71644dea35c8 src/engine-uiserver.c
|
|
||||||
--- a/src/engine-uiserver.c Thu Jul 31 14:06:58 2014 +0200
|
|
||||||
+++ b/src/engine-uiserver.c Thu Jul 31 14:10:25 2014 +0200
|
|
||||||
@@ -699,7 +699,7 @@
|
|
||||||
else
|
|
||||||
{
|
|
||||||
*aline = newline;
|
|
||||||
- uiserver->colon.attic.linesize += linelen + 1;
|
|
||||||
+ uiserver->colon.attic.linesize = *alinelen + linelen + 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (!err)
|
|
@ -1,46 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpgme/gpgme-1.3.2-r1.ebuild,v 1.9 2014/08/09 09:35:06 ago Exp $
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
|
|
||||||
inherit eutils libtool autotools
|
|
||||||
|
|
||||||
DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use"
|
|
||||||
HOMEPAGE="http://www.gnupg.org/related_software/gpgme"
|
|
||||||
SRC_URI="mirror://gnupg/gpgme/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2 LGPL-2.1"
|
|
||||||
SLOT="1"
|
|
||||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="common-lisp static-libs"
|
|
||||||
|
|
||||||
DEPEND="app-crypt/gnupg
|
|
||||||
>=dev-libs/libassuan-2.0.2
|
|
||||||
>=dev-libs/libgpg-error-1.4"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}/${PN}-1.1.8-et_EE.patch"
|
|
||||||
epatch "${FILESDIR}/${P}-CVE-2014-3564.patch"
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
elibtoolize
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
--includedir="${EPREFIX}/usr/include/gpgme" \
|
|
||||||
--with-gpg="${EPREFIX}/usr/bin/gpg" \
|
|
||||||
--with-gpgsm="${EPREFIX}/usr/bin/gpgsm" \
|
|
||||||
$(use_enable static-libs static)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
prune_libtool_files
|
|
||||||
|
|
||||||
if ! use common-lisp; then
|
|
||||||
rm -fr "${ED}usr/share/common-lisp"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,52 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/mg/mg-20141007.ebuild,v 1.9 2015/01/02 12:33:09 ago Exp $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit eutils toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="MicroGnuEmacs, a port from the BSDs"
|
|
||||||
HOMEPAGE="http://homepage.boetes.org/software/mg/"
|
|
||||||
SRC_URI="http://homepage.boetes.org/software/mg/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="public-domain"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 arm hppa ppc ~ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
|
|
||||||
IUSE="livecd"
|
|
||||||
|
|
||||||
RDEPEND="sys-libs/ncurses
|
|
||||||
!elibc_FreeBSD? ( dev-libs/libbsd )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch_user
|
|
||||||
|
|
||||||
# remove OpenBSD specific easter egg
|
|
||||||
sed -i -e 's/theo\.o//' GNUmakefile || die
|
|
||||||
sed -i -e '/theo_init/d' main.c || die
|
|
||||||
|
|
||||||
# fix path to tutorial in man page
|
|
||||||
sed -i -e "s:doc/mg/:doc/${PF}/:" mg.1 || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake CC="$(tc-getCC)" \
|
|
||||||
CFLAGS="${CFLAGS}" \
|
|
||||||
CURSES_LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin mg
|
|
||||||
doman mg.1
|
|
||||||
dodoc README tutorial
|
|
||||||
# don't compress the tutorial, otherwise mg cannot open it
|
|
||||||
docompress -x /usr/share/doc/${PF}/tutorial
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if use livecd; then
|
|
||||||
[[ -e ${EROOT}/usr/bin/emacs ]] || ln -s mg "${EROOT}"/usr/bin/emacs
|
|
||||||
fi
|
|
||||||
}
|
|
@ -0,0 +1,55 @@
|
|||||||
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/lynis-2.1.1.ebuild,v 1.1 2015/07/30 08:57:55 patrick Exp $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
|
||||||
|
inherit eutils bash-completion-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Security and system auditing tool"
|
||||||
|
HOMEPAGE="http://cisofy.com/lynis/"
|
||||||
|
SRC_URI="http://cisofy.com/files/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="app-shells/bash"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Bug 507438
|
||||||
|
epatch_user
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
doman lynis.8
|
||||||
|
dodoc CHANGELOG FAQ README
|
||||||
|
|
||||||
|
# Remove the old one during the next stabilize progress
|
||||||
|
exeinto /etc/cron.daily
|
||||||
|
newexe "${FILESDIR}"/lynis.cron-new lynis
|
||||||
|
|
||||||
|
dobashcomp extras/bash_completion.d/lynis
|
||||||
|
|
||||||
|
# stricter default perms - bug 507436
|
||||||
|
diropts -m0700
|
||||||
|
insopts -m0600
|
||||||
|
|
||||||
|
insinto /usr/share/${PN}
|
||||||
|
doins -r db/ include/ plugins/
|
||||||
|
|
||||||
|
dosbin lynis
|
||||||
|
|
||||||
|
insinto /etc/${PN}
|
||||||
|
doins default.prf
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
einfo
|
||||||
|
einfo "A cron script has been installed to ${ROOT}etc/cron.daily/lynis."
|
||||||
|
einfo
|
||||||
|
}
|
@ -1,10 +0,0 @@
|
|||||||
--- a/extras/gtk2_immodule/gtkimcontextscim.cpp 2011-11-09 17:08:21.000000000 -0800
|
|
||||||
+++ b/extras/gtk2_immodule/gtkimcontextscim.cpp 2011-11-09 17:07:51.000000000 -0800
|
|
||||||
@@ -447,6 +447,7 @@
|
|
||||||
"GtkIMContextSCIM",
|
|
||||||
&im_context_scim_info,
|
|
||||||
(GTypeFlags) 0);
|
|
||||||
+ g_type_module_use (type_module);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,92 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim/scim-1.4.11-r1.ebuild,v 1.10 2012/08/05 18:03:20 armin76 Exp $
|
|
||||||
|
|
||||||
EAPI="3"
|
|
||||||
inherit eutils flag-o-matic multilib gnome2-utils
|
|
||||||
|
|
||||||
DESCRIPTION="Smart Common Input Method (SCIM) is an Input Method (IM) development platform"
|
|
||||||
HOMEPAGE="http://www.scim-im.org/"
|
|
||||||
SRC_URI="mirror://sourceforge/scim/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~x86-fbsd"
|
|
||||||
IUSE="doc"
|
|
||||||
|
|
||||||
RDEPEND="x11-libs/libX11
|
|
||||||
dev-libs/glib:2
|
|
||||||
x11-libs/gtk+:2
|
|
||||||
>=dev-libs/atk-1
|
|
||||||
>=x11-libs/pango-1
|
|
||||||
!app-i18n/scim-cvs"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
doc? ( app-doc/doxygen
|
|
||||||
>=app-text/docbook-xsl-stylesheets-1.73.1 )
|
|
||||||
dev-lang/perl
|
|
||||||
virtual/pkgconfig
|
|
||||||
>=dev-util/intltool-0.33
|
|
||||||
sys-devel/libtool"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${P}-type-module-use.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf
|
|
||||||
# bug #83625
|
|
||||||
filter-flags -fvisibility-inlines-hidden
|
|
||||||
filter-flags -fvisibility=hidden
|
|
||||||
|
|
||||||
econf \
|
|
||||||
$(use_with doc doxygen) \
|
|
||||||
--enable-ld-version-script \
|
|
||||||
${myconf} || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die
|
|
||||||
|
|
||||||
sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-${PN}" > "${T}/${PN}.conf" || die
|
|
||||||
insinto /etc/X11/xinit/xinput.d
|
|
||||||
doins "${T}/${PN}.conf" || die
|
|
||||||
|
|
||||||
dodoc README AUTHORS ChangeLog docs/developers docs/scim.cfg || die
|
|
||||||
use doc && dohtml -r docs/html/*
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog
|
|
||||||
elog "To use SCIM with both GTK2 and XIM, you should use the following"
|
|
||||||
elog "in your user startup scripts such as .gnomerc or .xinitrc:"
|
|
||||||
elog
|
|
||||||
elog "LANG='your_language' scim -d"
|
|
||||||
elog "export XMODIFIERS=@im=SCIM"
|
|
||||||
elog "export GTK_IM_MODULE=\"scim\""
|
|
||||||
elog "export QT_IM_MODULE=\"scim\""
|
|
||||||
elog
|
|
||||||
elog "where 'your_language' can be zh_CN, zh_TW, ja_JP.eucJP or any other"
|
|
||||||
elog "UTF-8 locale such as en_US.UTF-8 or ja_JP.UTF-8"
|
|
||||||
elog
|
|
||||||
elog "To use Chinese input methods:"
|
|
||||||
elog " # emerge app-i18n/scim-tables app-i18n/scim-pinyin"
|
|
||||||
elog "To use Korean input methods:"
|
|
||||||
elog " # emerge app-i18n/scim-hangul"
|
|
||||||
elog "To use Japanese input methods:"
|
|
||||||
elog " # emerge app-i18n/scim-anthy"
|
|
||||||
elog "To use various input methods (more than 30 languages):"
|
|
||||||
elog " # emerge app-i18n/scim-m17n"
|
|
||||||
elog
|
|
||||||
elog "Please modify ${EPREFIX}/etc/scim/global and add your UTF-8 locale to"
|
|
||||||
elog "/SupportedUnicodeLocales entry."
|
|
||||||
elog
|
|
||||||
ewarn
|
|
||||||
ewarn "If you upgraded from scim-1.2.x or scim-1.0.x, you should remerge all SCIM modules."
|
|
||||||
ewarn
|
|
||||||
|
|
||||||
gnome2_query_immodules_gtk2
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
gnome2_query_immodules_gtk2
|
|
||||||
}
|
|
@ -0,0 +1,46 @@
|
|||||||
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-misc/ckb/ckb-0.1.6.ebuild,v 1.1 2015/07/30 11:17:35 mrueg Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
inherit qmake-utils systemd
|
||||||
|
|
||||||
|
DESCRIPTION="Corsair K65/K70/K95 Driver"
|
||||||
|
HOMEPAGE="https://github.com/ccMSC/ckb"
|
||||||
|
SRC_URI="https://github.com/ccMSC/ckb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="dev-libs/quazip[qt5]
|
||||||
|
dev-qt/qtcore:5
|
||||||
|
dev-qt/qtgui:5
|
||||||
|
dev-qt/qtnetwork:5
|
||||||
|
dev-qt/qtwidgets:5"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
DOCS=( README.md BUILD.md DAEMON.md )
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i -e "s/-Werror=all//" src/ckb-daemon/ckb-daemon.pro || die
|
||||||
|
sed -i -e "/quazip/d" -e "s/^.*QUAZIP_STATIC/LIBS += -lquazip/" src/ckb/ckb.pro || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
eqmake5
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin bin/ckb bin/ckb-daemon
|
||||||
|
dodir /usr/bin/ckb-animations
|
||||||
|
exeinto /usr/bin/ckb-animations
|
||||||
|
doexe bin/ckb-animations/*
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/ckb.initd ckb-daemon
|
||||||
|
domenu usr/ckb.desktop
|
||||||
|
doicon usr/ckb.png
|
||||||
|
systemd_dounit service/systemd/ckb-daemon.service
|
||||||
|
}
|
@ -1,16 +1,27 @@
|
|||||||
-----BEGIN PGP SIGNED MESSAGE-----
|
-----BEGIN PGP SIGNED MESSAGE-----
|
||||||
Hash: SHA256
|
Hash: SHA512
|
||||||
|
|
||||||
AUX gnuit-4.9.5-format-security.patch 427 SHA256 2db22addd5830263bc76f2b3c5ad0ccf4652852c82361d4e787cc4303bb3a5e8 SHA512 de604126f686af2eec160d4bd735f3888ee87a0b7bab38bb3d00d4dd26694c66810641687bb413933acb7991893a8772490fdc36fd001325d2a2b5f82bb3afc2 WHIRLPOOL fc6379d879f72fb3043a2b7255630df2f8843bffab0360b3d8a9e8b93800da55e51a3d1d0b47584e946f997919971d29e1baeb394f4b2178a1946c0a5120b94c
|
AUX gnuit-4.9.5-format-security.patch 427 SHA256 2db22addd5830263bc76f2b3c5ad0ccf4652852c82361d4e787cc4303bb3a5e8 SHA512 de604126f686af2eec160d4bd735f3888ee87a0b7bab38bb3d00d4dd26694c66810641687bb413933acb7991893a8772490fdc36fd001325d2a2b5f82bb3afc2 WHIRLPOOL fc6379d879f72fb3043a2b7255630df2f8843bffab0360b3d8a9e8b93800da55e51a3d1d0b47584e946f997919971d29e1baeb394f4b2178a1946c0a5120b94c
|
||||||
DIST gnuit-4.9.5.tar.gz 894362 SHA256 6b6e96db13bafa5ad35c735b2277699d4244088c709a3e134fb1a3e8c8a8557c SHA512 91f1a86f45d5a2fab91941587aed3c1e57ae68271584bef38560c9a31fabbdfeba801d87cdf5640ba9f2041e43305e49c64953b8d5370f3f6a463b2fa2a7c5da WHIRLPOOL 45c9539fb1bcc8bb985b0d63ae24c7be50773cbddb81b986d48a3b9f290fcf3ca4649eda3d830beafe0c2b854a82e7b90d3082231a8e401643cc3fa6d59af18b
|
DIST gnuit-4.9.5.tar.gz 894362 SHA256 6b6e96db13bafa5ad35c735b2277699d4244088c709a3e134fb1a3e8c8a8557c SHA512 91f1a86f45d5a2fab91941587aed3c1e57ae68271584bef38560c9a31fabbdfeba801d87cdf5640ba9f2041e43305e49c64953b8d5370f3f6a463b2fa2a7c5da WHIRLPOOL 45c9539fb1bcc8bb985b0d63ae24c7be50773cbddb81b986d48a3b9f290fcf3ca4649eda3d830beafe0c2b854a82e7b90d3082231a8e401643cc3fa6d59af18b
|
||||||
EBUILD gnuit-4.9.5-r1.ebuild 1216 SHA256 2b975016683f49859255d889ad26af0f8ff9693b0fdde49e02a45d42b25cc0a9 SHA512 218e81c4903274fb567487e771c53f800e6c9fdf0f5485b0e6a52f78107471b17264aa2f1aa6bf04389ec2057bd2a8f4a5bc628a9fcc1dd6c0f33088d62e1ec1 WHIRLPOOL 8589ece5ded6df971e2a1a523f723aa8414424a84c20a87975b8bac6991b51d913657350dda5c33c1d5f1dac9972dd424718ac68e03c08aa33e4073317800eb6
|
EBUILD gnuit-4.9.5-r2.ebuild 1230 SHA256 3ceda92a3b2dd54c52cf458ba073e19a4f8371600879c32b298810ca779a1fdd SHA512 7af5c9abc9586cdc6ead76ec946813bd2e93f2b83e998cca7ebbb5f3a0bb102b074e9103d51e6aa9f5324882503cd2b83c47e88e205050e15ede18ef38dc3325 WHIRLPOOL 3e796ad2ab593aca0f2bda6ee13348f52f44e381e95aa9b80f7c931df160a9531c467dc8b436b537691f9e8ac1d26620dc8bcb7d74ace6b8420b51bcc7bbd851
|
||||||
EBUILD gnuit-4.9.5-r2.ebuild 1233 SHA256 fc80b9f89f209ee1c89f10534525c107ef535ed1cd71087e0f5129dd97403862 SHA512 a15c7ac40dd8178ef63dcd7627b350f7ceee1ee6e610d7677980199353b1c3279d4962464133a508a929d7d119a0776ad0ca093cd138a887c1f022161eb2ffb7 WHIRLPOOL ac3ba59df3741e7493f46c4520e5f61eab204a29c3e9711a18e2e223c3429e469dcc13b8e3f6359e070373931b835495d3be02d5fd2b0c345f40e728ff3abfeb
|
MISC ChangeLog 1866 SHA256 1c26dfca797982dc2fb07caa23f95291e23aeebe104ffaa75a639a8ada33cb7b SHA512 77313adcd034d71ac07bd70a785cb08983f7dd8be7368976f75dad30a8d4626ff67a83c8c5dd63c2ddb4f8354f60af09123cd4926eb4d3bb77039cd89de5f277 WHIRLPOOL b39305134036c056309b26ff94dea6ecfeae6420d8d68d68b22d7724f9220849dbd82f8588eae6671d879d6d8d46ce16c93bb9f697b0edfe510d1c13a44770b6
|
||||||
MISC ChangeLog 1675 SHA256 5d9f1ae483242863362ad46cd0cf56ffafafae33d06ff5917ed7478649ec0d18 SHA512 22ae406a9018cb0f2b230ea5d35ae028799e19962e50c97f48b60be7bf7a4c0e898550b7224cc5d0cdbca98f6144276833688f2e36ce6ef3bc9d6203e6b0a13b WHIRLPOOL 59450aec5e7fe563c504a92e68df1675f5cd3cb9bf6ff615b161cf9633f1439390206320e28441e52363fe8d8418d2bccfba501e3b24a8a96bd2f887ed658688
|
|
||||||
MISC metadata.xml 165 SHA256 75ca85c472d4181ae0de529c83826baaebe75d9e750ee6621758b5096bceffcd SHA512 d99326d50355f1fa041618844027c043a114e7e63dec3c2d6c0c6023a5863bde8e62706bed974a394e21ce2e64ddf5539750c30e5913dacb39ed37cfd62e6eb3 WHIRLPOOL bb8b8cc1c4d9312dfe9015934c3c315a1ea6b9b6da2db22b231b434fd144ee7690ec2e242a1fba9c8e601610dc5cc9061c1995dd33c5b59c78a19a71f71d7a76
|
MISC metadata.xml 165 SHA256 75ca85c472d4181ae0de529c83826baaebe75d9e750ee6621758b5096bceffcd SHA512 d99326d50355f1fa041618844027c043a114e7e63dec3c2d6c0c6023a5863bde8e62706bed974a394e21ce2e64ddf5539750c30e5913dacb39ed37cfd62e6eb3 WHIRLPOOL bb8b8cc1c4d9312dfe9015934c3c315a1ea6b9b6da2db22b231b434fd144ee7690ec2e242a1fba9c8e601610dc5cc9061c1995dd33c5b59c78a19a71f71d7a76
|
||||||
-----BEGIN PGP SIGNATURE-----
|
-----BEGIN PGP SIGNATURE-----
|
||||||
Version: GnuPG v2
|
Version: GnuPG v2.1
|
||||||
|
|
||||||
iEYEAREIAAYFAlWxVosACgkQCaWpQKGI+9RpEQCeLjbm24e+7WX0hOJ5/y9n/HY9
|
iQJ8BAEBCgBmBQJVumYYXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||||
vVQAn3+lYeQM2uwyDwkehGLrrF/0Sb/e
|
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0QUU0N0I4NzFERUI0MTJFN0EyODE0NUFF
|
||||||
=OjZA
|
OTQwMkE3OUIwMzUyOUEyAAoJEOlAKnmwNSmib1UP/iOkEQku4cOYy6S5Bt9DChL2
|
||||||
|
n0XRRIgQpaBIqKwV01pvulwmGY5OIoNo4ZIX71XKaIU5FXmunvUZVAaw+10oP3/R
|
||||||
|
p+KZlB+duwra1Fc59aPlSGra1R+u1+SNzTDd2zwl3MK/XrkS1qoz6pzy3avxle1/
|
||||||
|
aauuikyO6cjCFuUMSLppFSdGFZuIp7rwhMHFX3I5l6x/p9xQdXKLOGnATS/4wpBo
|
||||||
|
3UzfGdHcBYQgCXHOgf6z1qw0EiNNcrd42b8U6iJnLfYlFYEHVhubRsYnzWhv/dUy
|
||||||
|
KRMDz2RiNexWkC4M/K+o5WhdDgAwZZD8QUbezJ4i9v1cBdgNNLnd9ks66yXZ/Co6
|
||||||
|
q5+mEsipywJHq57Jn4Tr4WpBBigfIaP/rxzjHl/WsFGYwwTRWiALnnkGzBX28U8L
|
||||||
|
xsabA7x1/Lnayx9Vq/+Qo/jG7kMWST7tlxdI25OtJL//iZlIulxtS2RJQDfQwEzr
|
||||||
|
0q6Yw48Af1Nf6DfVnd5y64yTbom9BTAFGS9/vIO2wMj9x4atlmNYuhguUKOligv+
|
||||||
|
R6cnGvFwCph/mtREu65wsrBRc3CXiuuR4ZmrQ/DmgduVea105g+frM8cvpnC32Os
|
||||||
|
p6SCVOBGssmv6fldeOx32qO08QEXiPwowxHtGxX51CQ2WrK4HYchRRkWp4mN/DHp
|
||||||
|
1NWYyDchRnduSIgSZBky
|
||||||
|
=MWU9
|
||||||
-----END PGP SIGNATURE-----
|
-----END PGP SIGNATURE-----
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/gnuit/gnuit-4.9.5-r1.ebuild,v 1.3 2011/01/05 15:15:34 jlec Exp $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
|
|
||||||
DESCRIPTION="GNU Interactive Tools - increase speed and efficiency of most daily tasks"
|
|
||||||
HOMEPAGE="http://www.gnu.org/software/gnuit/"
|
|
||||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3 FDL-1.3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc sparc x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# The transition option controls whether a "git" wrapper is installed, it is
|
|
||||||
# disabled explicitly so we don't need to block on dev-vcs/git.
|
|
||||||
econf --disable-transition
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" htmldir="/usr/share/doc/${PF}/html" install \
|
|
||||||
|| die "emake install failed"
|
|
||||||
mv "${D}/usr/bin/gitview" "${D}/usr/bin/gnuitview" || die
|
|
||||||
dodoc AUTHORS NEWS PROBLEMS README || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "The 'git' tool this package previously installed is now called 'gitfm'"
|
|
||||||
elog "The 'gitview' tool this package previously installed is now called 'gnuitview'"
|
|
||||||
elog "If you want the 'gitaction' tool to use your preferred desktop"
|
|
||||||
elog "application settings install the 'x11-misc/xdg-utils' package."
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue