remove unused and old ebuilds

This commit is contained in:
Anton Schubert 2019-08-15 01:33:31 +02:00
parent 2621e0b106
commit 3208ab2b64
33 changed files with 0 additions and 1770 deletions

View file

@ -1,4 +0,0 @@
AUX conky-1.10.4-x11-build.patch 944 BLAKE2B eafeab1078e1c1c96190dce1207f49272a86fb964b153cd971d3e773ddfb8094a55b0c8e77f0d152c5cc4ec77f0863b694fca8d776208f2aae26d6366cc898ef SHA512 4ef0fb7467101befd1adbc0ae43268d69ceaa35af0185ade1f3b8ce4ebe8d8083cc6c71ddabae73bae1c5f92f5f95b0a4595dd92dd55bd9ffc4a34d10af26afa
DIST conky-1.10.4.tar.gz 365145 BLAKE2B 60f6f53ef67a9958d4dd4c3f1ab53886235927ed457ad3e98d2f6f61568a14baa7cd2afa0d3ddde9ed5e16aae17891213d906f49c308269f678adf37ea627329 SHA512 665a3c2a9b150576d7c29964dafb7030f5aa5955530142cf0d00f0f49f4a3b320924d389b3a833ef6eb18468000f5c62d918e8f067c7b40cd9e205d0bf0d8e0c
EBUILD conky-1.10.4.ebuild 4818 BLAKE2B 4aca25724e2e5a76e554e34fe58b84f0839eff97a22d8396eae4389c0f3788bd1ed01ca747dc173b4d92c843ad57e3e1de861ac372bb5b7c49ff7a1fff8fcfba SHA512 180eb6c5ad2ba6d9503c25ec4bbc48ecd6974c55ab71c957e800c66111e3ebcfb6b708be355f9e7c7dc212700d93498e1f570b9301b5c99179d83a7cfdef0d07
MISC metadata.xml 2525 BLAKE2B 805fd872d69f00911fa599d87f2c638b1126c438fd0c8ccdda84ff5cbddecbca882b74fa1828e703c32a4035a4223606a1da75bb27cc63ac19b8dd61f5f90b42 SHA512 ccfe5718005f521aa00e7a66429493ea1301f7691acf0cca2faa5372c5f1349ba62d5046b85059f395fe51b30130a06f6867e0736b80cf4b76f9388b05fa76bb

View file

@ -1,184 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils linux-info readme.gentoo-r1
DESCRIPTION="An advanced, highly configurable system monitor for X"
HOMEPAGE="https://github.com/brndnmtthws/conky"
SRC_URI="https://github.com/brndnmtthws/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3 BSD LGPL-2.1 MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="apcupsd audacious cmus curl eve hddtemp ical iconv imlib iostats ipv6 irc
lua-cairo lua-imlib lua-rsvg math moc mpd mysql nano-syntax ncurses
nvidia +portmon pulseaudio rss systemd thinkpad truetype vim-syntax
weather-metar weather-xoap webserver wifi X xmms2"
DEPEND_COMMON="
X? (
imlib? ( media-libs/imlib2[X] )
lua-cairo? (
>=dev-lua/toluapp-1.0.93
x11-libs/cairo[X] )
lua-imlib? (
>=dev-lua/toluapp-1.0.93
media-libs/imlib2[X] )
lua-rsvg? (
>=dev-lua/toluapp-1.0.93
gnome-base/librsvg )
nvidia? ( || ( x11-drivers/nvidia-drivers[tools,static-libs] media-video/nvidia-settings ) )
truetype? ( x11-libs/libXft >=media-libs/freetype-2 )
x11-libs/libX11
x11-libs/libXdamage
x11-libs/libXinerama
x11-libs/libXfixes
x11-libs/libXext
audacious? ( >=media-sound/audacious-1.5 dev-libs/glib:2 )
xmms2? ( media-sound/xmms2 )
)
cmus? ( media-sound/cmus )
curl? ( net-misc/curl )
eve? ( net-misc/curl dev-libs/libxml2 )
ical? ( dev-libs/libical )
iconv? ( virtual/libiconv )
irc? ( net-libs/libircclient )
mysql? ( >=virtual/mysql-5.0 )
ncurses? ( sys-libs/ncurses:= )
pulseaudio? ( media-sound/pulseaudio )
rss? ( dev-libs/libxml2 net-misc/curl dev-libs/glib:2 )
systemd? ( sys-apps/systemd )
wifi? ( net-wireless/wireless-tools )
weather-metar? ( net-misc/curl )
weather-xoap? ( dev-libs/libxml2 net-misc/curl )
webserver? ( net-libs/libmicrohttpd )
>=dev-lang/lua-5.1.4-r8
"
RDEPEND="
${DEPEND_COMMON}
apcupsd? ( sys-power/apcupsd )
hddtemp? ( app-admin/hddtemp )
moc? ( media-sound/moc )
nano-syntax? ( app-editors/nano )
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
"
DEPEND="
${DEPEND_COMMON}
app-text/docbook2X
"
CONFIG_CHECK=~IPV6
DOCS=( README.md TODO ChangeLog NEWS AUTHORS )
PATCHES=( "${FILESDIR}"/${P}-x11-build.patch )
DISABLE_AUTOFORMATTING="yes"
DOC_CONTENTS="You can find sample configurations at ${ROOT%/}/usr/share/doc/${PF}.
To customize, copy to ${XDG_CONFIG_HOME}/conky/conky.conf
and edit it to your liking.
There are pretty html docs available at the conky homepage
or in ${ROOT%/}/usr/share/doc/${PF}/html.
Also see https://wiki.gentoo.org/wiki/Conky/HOWTO"
pkg_setup() {
use ipv6 && linux-info_pkg_setup
}
src_configure() {
local mycmakeargs
if use X; then
mycmakeargs=(
-DBUILD_X11=ON
-DOWN_WINDOW=ON
-DBUILD_XDAMAGE=ON
-DBUILD_XINERAMA=ON
-DBUILD_XDBE=ON
-DBUILD_XFT=$(usex truetype)
-DBUILD_IMLIB2=$(usex imlib)
-DBUILD_XSHAPE=ON
-DBUILD_ARGB=ON
-DBUILD_LUA_CAIRO=$(usex lua-cairo)
-DBUILD_LUA_IMLIB2=$(usex lua-imlib)
-DBUILD_LUA_RSVG=$(usex lua-rsvg)
-DBUILD_NVIDIA=$(usex nvidia)
-DBUILD_AUDACIOUS=$(usex audacious)
-DBUILD_XMMS2=$(usex xmms2)
)
else
mycmakeargs=(
-DBUILD_X11=OFF
-DBUILD_NVIDIA=OFF
-DBUILD_LUA_CAIRO=OFF
-DBUILD_LUA_IMLIB2=OFF
-DBUILD_LUA_RSVG=OFF
-DBUILD_AUDACIOUS=OFF
-DBUILD_XMMS2=OFF
)
fi
mycmakeargs+=(
-DBUILD_APCUPSD=$(usex apcupsd)
-DBUILD_CMUS=$(usex cmus)
-DBUILD_CURL=$(usex curl)
-DBUILD_EVE=$(usex eve)
-DBUILD_HDDTEMP=$(usex hddtemp)
-DBUILD_IOSTATS=$(usex iostats)
-DBUILD_ICAL=$(usex ical)
-DBUILD_ICONV=$(usex iconv)
-DBUILD_IPV6=$(usex ipv6)
-DBUILD_IRC=$(usex irc)
-DBUILD_MATH=$(usex math)
-DBUILD_MOC=$(usex moc)
-DBUILD_MPD=$(usex mpd)
-DBUILD_MYSQL=$(usex mysql)
-DBUILD_NCURSES=$(usex ncurses)
-DBUILD_PORT_MONITORS=$(usex portmon)
-DBUILD_PULSEAUDIO=$(usex pulseaudio)
-DBUILD_RSS=$(usex rss)
-DBUILD_JOURNAL=$(usex systemd)
-DBUILD_IBM=$(usex thinkpad)
-DBUILD_WEATHER_METAR=$(usex weather-metar)
-DBUILD_WEATHER_XOAP=$(usex weather-xoap)
-DBUILD_HTTP=$(usex webserver)
-DBUILD_WLAN=$(usex wifi)
-DBUILD_BUILTIN_CONFIG=ON
-DBUILD_OLD_CONFIG=ON
-DBUILD_I18N=ON
-DMAINTAINER_MODE=OFF
-DRELEASE=ON
-DBUILD_BMPX=OFF
-DDOC_PATH=/usr/share/doc/${PF}
)
# -DMAINTAINER_MODE=OFF disables building documentation and fixes bug #486270
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
if use vim-syntax; then
insinto /usr/share/vim/vimfiles/ftdetect
doins "${S}"/extras/vim/ftdetect/conkyrc.vim
insinto /usr/share/vim/vimfiles/syntax
doins "${S}"/extras/vim/syntax/conkyrc.vim
fi
if use nano-syntax; then
insinto /usr/share/nano/
doins "${S}"/extras/nano/conky.nanorc
fi
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View file

@ -1,31 +0,0 @@
From 178015a9495b7d40031ed7459e4f6b6731633a7c Mon Sep 17 00:00:00 2001
From: shizeeg <shizeeque@gmail.com>
Date: Thu, 8 Sep 2016 18:24:29 +0300
Subject: [PATCH] Fix build without X11 (#317)
---
src/conky.cc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/conky.cc b/src/conky.cc
index 0a812fc..4c5da94 100644
--- a/src/conky.cc
+++ b/src/conky.cc
@@ -1404,6 +1404,9 @@ static void draw_string(const char *s)
int draw_each_line_inner(char *s, int special_index, int last_special_applied)
{
+#ifndef BUILD_X11
+ static int cur_x, cur_y; /* current x and y for drawing */
+#endif
#ifdef BUILD_X11
int font_h = 0;
int cur_y_add = 0;
@@ -1934,6 +1937,7 @@ static void draw_text(void)
static void draw_stuff(void)
{
+ static int text_offset_x, text_offset_y; /* offset for start position */
text_offset_x = text_offset_y = 0;
#ifdef BUILD_IMLIB2
cimlib_render(text_start_x, text_start_y, window.width, window.height);

View file

@ -1,40 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>billie@gentoo.org</email>
<name>Daniel Pielmeier</name>
</maintainer>
<upstream>
<maintainer>
<email>brenden@rty.ca</email>
<name>Brenden Matthews</name>
</maintainer>
<remote-id type="sourceforge">conky</remote-id>
<remote-id type="github">brndnmtthws/conky</remote-id>
</upstream>
<longdescription>Conky is a system monitor that sits in the corner of your desktop. It is a fork of Torsmo that is actually maintained.</longdescription>
<use>
<flag name="apcupsd">Enable support for <pkg>sys-power/apcupsd</pkg></flag>
<flag name="audacious">Enable monitoring of music played by <pkg>media-sound/audacious</pkg></flag>
<flag name="cmus">Enable monitoring of music played by <pkg>media-sound/cmus</pkg></flag>
<flag name="eve">Enable support for the eve-online skill monitor</flag>
<flag name="ical">Enable support for events from iCalendar (RFC 5545) files using <pkg>dev-libs/libical</pkg></flag>
<flag name="iostats">Enable support for per-task I/O statistics</flag>
<flag name="irc">Enable support for displaying everything from an irc channel using <pkg>net-libs/libircclient</pkg></flag>
<flag name="lua-cairo">Enable if you want Lua Cairo bindings</flag>
<flag name="lua-imlib">Enable if you want Lua Imlib2 bindings</flag>
<flag name="lua-rsvg">Enable if you want Lua RSVG bindings</flag>
<flag name="math">Enable support for glibc's libm math library</flag>
<flag name="moc">Enable monitoring of music played by <pkg>media-sound/moc</pkg></flag>
<flag name="mpd">Enable monitoring of music controlled by <pkg>media-sound/mpd</pkg></flag>
<flag name="nano-syntax">Enable syntax highlighting for <pkg>app-editors/nano</pkg></flag>
<flag name="nvidia">Enable reading of nvidia card temperature sensors via <pkg>media-video/nvidia-settings</pkg></flag>
<flag name="portmon">Enable support for tcp (ip4) port monitoring</flag>
<flag name="thinkpad">Enable support for IBM/Lenovo notebooks</flag>
<flag name="weather-metar">Enable support for metar weather service</flag>
<flag name="weather-xoap">Enable support for metar and xoap weather service</flag>
<flag name="webserver">Enable support to act as a webserver serving conkys output using <pkg>net-libs/libmicrohttpd</pkg></flag>
<flag name="xmms2">Enable monitoring of music played by <pkg>media-sound/xmms2</pkg></flag>
</use>
</pkgmetadata>

View file

@ -1,4 +0,0 @@
AUX keepass-2.20-xsl-path-detection.patch 1596 SHA256 6b95ac5786824424781dc12bb031e22c5ec8cd91ab406231ae4b09de07f42c42 SHA512 6aa8ee88e0dcb09f2394432ea49953c582127a38c75bb86ce24e9f4f979b5dc673a534dac550793bcb3bc337aa218aa71edc22d79aa7eb6bde204cd6981f2976 WHIRLPOOL 62b0e8438195f7ebe7fa3136fb26b95723c55a6cc1e71f9586f95b27225bdf60e28a1b7f67abefda86ca05eeee237369e734f93b8f17c7b4b5b41e68cc1237bf
AUX keepass.xml 275 SHA256 14e15149e0b9177008cc1fb67e57ef83e2c8663846403dfdf2411c77ebb3ee3f SHA512 a6055604ff4ff9e905012b5f8448540ea3b3fa8527ce1fd247fe4e5329e6861e5e7a01ea5ed907c41c073d81ee02452392ea0b0d61bf1119dadd300911a450fb WHIRLPOOL d0ee272ae608241ca67a0a2d1365d37e19b86ce4a7baede55f7094f8b1b58671935a753fa3f9859777c0bef2ee47a36b418165e5e6c894bfa6e634f965abd57e
DIST KeePass-2.30-Source.zip 4767753 SHA256 4a3c3c217bc05b13bf903612b89a09b67ed1df68fdecd83324f2ef372313e9e4 SHA512 05404f273f6a7df33887b036aa0dba335124a7b2ae30b61957f8dc9c959cdd3342fdfa22a7d59ba5e9180f039fed5ecbac0a3154eb9d342a5a3a8a057d763182 WHIRLPOOL 4ddec9e592724b60724a2deaaf959dacc91f77d1ae97dd07af940f8efd882a008b4424ba68a4fcbd9ebe8d75c2b8a9a644ff7144ed593cfb3f0e361c0364a780
EBUILD keepass-2.30.ebuild 2811 SHA256 41c79bd446dbefd6bc848235ebf123a5d1795cb5708dfd806d6d015e112f9299 SHA512 709b29ba1b18d874cc9b409919f02ce9b0ea218ff8e866651b68d441ccb5dbce199d5708a8bd0852d81b31bd6f7ccdebf7fe9783a1a1a53b3ebd514b7d8f1cae WHIRLPOOL 90834bcd52cbd5ea1f08bfb91b822145c9d4b779778870dbe36eb29863aea45c7aba2730512a4e08d855dca43db6dc9ad73a97d8ee4883a50ec6265eb19d7c49

View file

@ -1,45 +0,0 @@
KeePass looks for some resources (XSL files) in the executable directory,
however under UNIX system this not a good idea, so we look into the
CommonApplicationData SpecialFolder, which usually maps to "/usr/share/".
So the final search path should be "/usr/share/KeePass/XSL/".
diff --git a/KeePass/Forms/AboutForm.cs b/KeePass/Forms/AboutForm.cs
index 8a04c87..6083c00 100644
--- a/KeePass/Forms/AboutForm.cs
+++ b/KeePass/Forms/AboutForm.cs
@@ -31,9 +31,11 @@ using KeePass.UI;
using KeePass.Resources;
using KeePass.Util;
using KeePass.DataExchange;
+using KeePass.Native;
using KeePassLib;
using KeePassLib.Utility;
+using KeePassLib.Native;
namespace KeePass.Forms
{
@@ -92,8 +94,21 @@ namespace KeePass.Forms
m_lvComponents.Items.Add(lvi);
lvi = new ListViewItem(KPRes.XslStylesheetsKdbx);
- string strPath = WinUtil.GetExecutable();
- strPath = UrlUtil.GetFileDirectory(strPath, true, false);
+
+ string strPath;
+ if (NativeLib.IsUnix())
+ {
+ strPath = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData);
+ strPath = UrlUtil.EnsureTerminatingSeparator(strPath, false);
+ strPath += PwDefs.ShortProductName.ToLower();
+ strPath = UrlUtil.EnsureTerminatingSeparator(strPath, false);
+ }
+ else
+ {
+ strPath = WinUtil.GetExecutable();
+ strPath = UrlUtil.GetFileDirectory(strPath, true, false);
+ }
+
strPath += AppDefs.XslFilesDir;
strPath = UrlUtil.EnsureTerminatingSeparator(strPath, false);
bool bInstalled = File.Exists(strPath + AppDefs.XslFileHtmlLite);

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="application/x-keepass2">
<comment>KeePass database</comment>
<glob pattern="*.kdbx"/>
<icon name="keepass" />
</mime-type>
</mime-info>

View file

@ -1,105 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/keepass/keepass-2.29.ebuild,v 1.1 2015/05/23 03:05:22 idella4 Exp $
EAPI=5
inherit eutils fdo-mime gnome2-utils mono-env multilib
MY_PN="KeePass"
DESCRIPTION="A free, open source, light-weight and easy-to-use password manager"
HOMEPAGE="http://keepass.info/"
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="aot"
COMMON_DEPEND=">=dev-lang/mono-2.10.5"
RDEPEND="${COMMON_DEPEND}
dev-dotnet/libgdiplus[cairo]"
DEPEND="${COMMON_DEPEND}
app-arch/unzip"
S=${WORKDIR}
src_prepare() {
# Remove Windows-specific things
pushd Build > /dev/null || die
. PrepMonoDev.sh || die
popd > /dev/null || die
# KeePass looks for some XSL files in the same folder as the executable,
# we prefer to have it in /usr/share/KeePass
epatch "${FILESDIR}/${PN}-2.20-xsl-path-detection.patch"
}
src_compile() {
# Build with Release target
xbuild /target:KeePass /property:Configuration=Release || die
# Run Ahead Of Time compiler on the binary
if use aot; then
cp Ext/KeePass.exe.config Build/KeePass/Release/
mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
fi
}
src_install() {
# Wrapper script to launch mono
make_wrapper ${PN} "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
# Some XSL files
insinto /usr/share/${PN}/XSL
doins Ext/XSL/*
insinto /usr/$(get_libdir)/${PN}/
exeinto /usr/$(get_libdir)/${PN}/
doins Ext/KeePass.exe.config
# Default configuration, simply says to use user-specific configuration
doins Ext/KeePass.config.xml
# The actual executable
doexe Build/KeePass/Release/KeePass.exe
# Copy the AOT compilation result
if use aot; then
doexe Build/KeePass/Release/KeePass.exe.so
fi
# Prepare the icons
newicon -s 256 Ext/Icons/Finals/plockb.png "${PN}.png"
newicon -s 256 -t gnome -c mimetypes Ext/Icons/Finals/plockb.png "application-x-${PN}2.png"
# Create a desktop entry and associate it with the KeePass mime type
make_desktop_entry ${PN} ${MY_PN} ${PN} "System;Security" "MimeType=application/x-keepass2;"
# MIME descriptor for .kdbx files
insinto /usr/share/mime/packages/
doins "${FILESDIR}/${PN}.xml"
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
fdo-mime_mime_database_update
fdo-mime_desktop_database_update
if ! has_version x11-misc/xdotool ; then
elog "Optional dependencies:"
elog " x11-misc/xdotool (enables autotype)"
fi
elog "Some systems may experience issues with copy and paste operations."
elog "If you encounter this, please install x11-misc/xsel."
}
pkg_postrm() {
gnome2_icon_cache_update
fdo-mime_mime_database_update
fdo-mime_desktop_database_update
}

View file

@ -1,12 +0,0 @@
AUX 0002-skip-atom-shell-copy.patch 422 SHA256 6879c69a33cf673745267836ba9e47ccea64fdc967c14ca9cf4a4b77ae7d0e75 SHA512 34b99f1b795009d88ea38a19271f7a88639fa7541efd9cdce4488cf6e45cec1db1183ca2f01721ae019b877de28d502547b90f93c8810a805cb125ee39b55446 WHIRLPOOL 7d3e8796b7a9b0af63ddaf8a888c3d4d8fae9e59d7abb4800e16d0174e77d7c38ec7410fbfe1e33d4a6628621251a79343d38920c32ebc6b4470d902a08f9699
AUX atom-python.patch 238 SHA256 7fd879c03127d81b37e31920e3baf2a38b2008d47093b4da60916e9393e9f2d0 SHA512 5737a7b238c68e42b537586abbfa5568e558e2d20320bb9bda8d0626f9f0b231ab4df1eb5b7cc91503dd9550f25c117592d4e6b655e0e30fca0bfa910242248b WHIRLPOOL 52e196ebe1db99e907bb46420cf4f92ef1d5e5fe65619e837dbd3412ff0d8d5dcd5b12e674c170b5c2b4641d4eb3d0310d76489a4b6a9e73480c9610e3685b7e
DIST 1.3.0.tar.gz 7891609 SHA256 baebf574d60fbded2c92950ed515a63fb82640f8b65fec4a41a1089002c8b44f SHA512 3449b6779bff596b3043da65664949623e5b95eefedde512d9308f7aca4622bbfe168f963229e4e3999f04c83f64e3b18071c685f128b79d2e4fa2aa6224e7d4 WHIRLPOOL 930a62b842816792fd221393bdb4aa9f7a9b11d617cc67fae43fb205355c543b1351be13bc27d971807fc38d6ae8537d2619f52a872fbd4e04363ff0953b6c62
EBUILD atom-0.176.0.ebuild 2376 SHA256 b6f876324467430e06de67ec97192295d92865852ee3b571659181dbb099ff78 SHA512 ce63ab4a027ae1f510605a34542ca0ac5e25b4033cbc479e3a3f19120546f1f8fcd81854481bc3b4bcfb4ceb1069ccb8b8e50d8e96581132c87ba308ece17e36 WHIRLPOOL c797863a98ec8887b8a3b1f26e628c7201ae53578a67fe9b6f00de7c1e078c49e6e12d0b2cb150b62a314528c551a08296bf098dc55901d05ac44c2797c5dff7
EBUILD atom-0.188.0.ebuild 2628 SHA256 cf820585ac2855bfcb36907b2d7dc51b588cd8ceef4877219fb1d69f2545f054 SHA512 7135b2052e2353791a91b4bd886565330d68d603bfd54c4d2347ce582ecec09269f76cffb3548e5e4dddcc82a7e4bcde955ccfe6df78d96c6c4dc3ccff66d5dc WHIRLPOOL 5b757feddb2b7d15c1521b37a9cb0b998f58629944d5cf47090a853c82659f6a36418c55cf2a92b6e6f09771c274a852f520a0716931f01d9807441322e2ce01
EBUILD atom-0.196.0.ebuild 2683 SHA256 cab6c9dd074714c7f57a209a5bb97b608e5557963c059a46f21a9f72c4301c8a SHA512 85a0769879feab70de1f9023235e9befc26243b9540689688b2585ba03397dbe5905c9038ba7adb509e4d02b9f82048f0fb1097f26f08c6889d4183d0d4abfea WHIRLPOOL c16e6d8265cf18bd6dab5b4e8919a55ce32cb29303f410f1f709918d87ac62820b9ce282b4ff2ede09a64b78d887c69f3ed62665c06c9e9a4d135ee5c281818d
EBUILD atom-0.210.0.ebuild 2679 SHA256 8e050cd7cf73a3848fd3d5b8a8c77dfe5ef88e22dd7f20e3f2b16ab2378306bc SHA512 39c60f8327058339863931c5218ca47bcbdf1cdf4f5e47409363c8fadb261fcb22bcf58a98917a4472f05ef32327ccf5bf5913ad84e7187c58f5368e08371bda WHIRLPOOL ac286ec2b28f5f22bfcd2b975af98e0f4487f4e80b4de150178a9b754e92caed59848970a02ff0bdf06df5937c7f3fa6ee3f8e492926af3cca15de8ffd2b0945
EBUILD atom-1.0.0.ebuild 2679 SHA256 8e050cd7cf73a3848fd3d5b8a8c77dfe5ef88e22dd7f20e3f2b16ab2378306bc SHA512 39c60f8327058339863931c5218ca47bcbdf1cdf4f5e47409363c8fadb261fcb22bcf58a98917a4472f05ef32327ccf5bf5913ad84e7187c58f5368e08371bda WHIRLPOOL ac286ec2b28f5f22bfcd2b975af98e0f4487f4e80b4de150178a9b754e92caed59848970a02ff0bdf06df5937c7f3fa6ee3f8e492926af3cca15de8ffd2b0945
EBUILD atom-1.0.11-r1.ebuild 2706 SHA256 1d684132ef98080b1c2d62a78a1430b49f75b21eab35ace60341067a3a451d12 SHA512 3225080a7822f653f05bddbdcc3a31b414a620b0717a9a50a87011e73de11c14e14155d0954879bc9fadfc1dfd12690de26b5f0e3253d7407e1469430e3c5be9 WHIRLPOOL c617f360d41959bafecc58eb2a5cd4638ae2e40e5b2f491707e075692169f53b554b4b344e67e2e71bbaed1ec98b455c8de5f6593d0ccaa55074dd1d9cdec3b0
EBUILD atom-1.0.7.ebuild 2678 SHA256 9897122fa29ff8984264ac4fe1b1467644d757ec8d6db0e2b60b129071284fad SHA512 2159608ca753c6d9fcd36421dd051dcec91c1b3c41f673581c09892bd27f4b93b17af1a1fd2919bdd1209818552dc593fcd79d9f1243e842dced0d2137ad486f WHIRLPOOL 3ad47dcc9721ede2287c7557d8eda39633ffe1866a36eb6f74097b0e4fb45127580fc966ce483b97547793346f941c31a509e1b9fc7d7d539093df9f7a4f866d
EBUILD atom-1.3.0.ebuild 2696 SHA256 bee3ed66961a432e40959e9e45f8c5b09ff166e48df4bd000a831e32efb343b0 SHA512 1f7686646f20a46559de63cbe11fbd269c88eb7f2086d3e41e7410d3382467f8c06194188d446720bfb218acb9f1f0b408fe327dd05d7c085641efbcdb3868a9 WHIRLPOOL 48067a0eaaba0ec43f4f423d6c6af032054c160b1d7941748410fdfd05aac4b81b915a24791574e3eaee84de0f6684897cb8caaaa5bf68e5416ac1af3a382643
MISC metadata.xml 230 SHA256 d1755c57bce3b20f346049ede63831ca82e18cbd775894f8f470158b3f071e63 SHA512 bcf832ebb7d1ba1179fa82d9657d1b66b8394c8bc0600a90544a7c9e7d4e07afd973fc14c2a62d9f082a0479cf9438e06792fefc6336b8d6c7a63738eb6f71b9 WHIRLPOOL 82cd9f8aa207fef7f805228f0e04c9ed7dc01be54394a205cc55465328424aa8217ef85f5e8cb1021aa738b65b98cdbe1158bca5506eff3700d8d4ba5769b000

View file

@ -1,101 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit git-r3 flag-o-matic python-any-r1 eutils
DESCRIPTION="A hackable text editor for the 21st Century"
HOMEPAGE="https://atom.io"
SRC_URI=""
EGIT_REPO_URI="git://github.com/atom/atom"
LICENSE="MIT"
SLOT="0"
if [[ ${PV} == *9999 ]];then
KEYWORDS=""
else
KEYWORDS="~amd64"
EGIT_COMMIT="v${PV}"
fi
IUSE=""
DEPEND="
${PYTHON_DEPS}
dev-util/atom-shell:0/20
>=net-libs/nodejs-0.10.30[npm]
media-fonts/inconsolata
"
RDEPEND="${DEPEND}"
QA_PRESTRIPPED="
/usr/share/atom/resources/app/node_modules/symbols-view/vendor/ctags-linux
"
pkg_setup() {
python-any-r1_pkg_setup
npm config set python $PYTHON
}
src_unpack() {
git-r3_src_unpack
}
src_prepare() {
# Skip atom-shell download
sed -i -e "s/defaultTasks = \['download-atom-shell', /defaultTasks = [/g" \
./build/Gruntfile.coffee \
|| die "Failed to fix Gruntfile"
# Skip atom-shell copy
epatch "${FILESDIR}/0002-skip-atom-shell-copy.patch"
# Fix atom location guessing
sed -i -e 's/ATOM_PATH="$USR_DIRECTORY\/share\/atom/ATOM_PATH="$USR_DIRECTORY\/../g' \
./atom.sh \
|| die "Fail fixing atom-shell directory"
}
src_compile() {
./script/build --verbose --build-dir "${T}" || die "Failed to compile"
"${T}/Atom/resources/app/apm/bin/apm" rebuild || die "Failed to rebuild native module"
# Setup python path to builtin npm
echo "python = $PYTHON" >> "${T}/Atom/resources/app/apm/.apmrc"
}
src_install() {
into /usr
insinto /usr/share/applications
insinto /usr/share/${PN}/resources/app
exeinto /usr/bin
cd "${T}/Atom/resources/app"
doicon resources/atom.png
dodoc LICENSE.md
# Installs everything in Atom/resources/app
doins -r .
# Fixes permissions
fperms +x /usr/share/${PN}/resources/app/atom.sh
fperms +x /usr/share/${PN}/resources/app/apm/bin/apm
fperms +x /usr/share/${PN}/resources/app/apm/bin/node
fperms +x /usr/share/${PN}/resources/app/apm/node_modules/npm/bin/node-gyp-bin/node-gyp
# Symlinking to /usr/bin
dosym ../share/${PN}/resources/app/atom.sh /usr/bin/atom
dosym ../share/${PN}/resources/app/apm/bin/apm /usr/bin/apm
make_desktop_entry "/usr/bin/atom %U" "Atom" "atom" "GNOME;GTK;Utility;TextEditor;Development;" "MimeType=text/plain;\nStartupNotify=true\nStartupWMClass=Atom"
}

View file

@ -1,103 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit git-r3 flag-o-matic python-any-r1 eutils
DESCRIPTION="A hackable text editor for the 21st Century"
HOMEPAGE="https://atom.io"
SRC_URI=""
EGIT_REPO_URI="git://github.com/atom/atom"
LICENSE="MIT"
SLOT="0"
if [[ ${PV} == *9999 ]];then
KEYWORDS=""
else
KEYWORDS="~amd64"
EGIT_COMMIT="v${PV}"
fi
IUSE=""
DEPEND="
${PYTHON_DEPS}
dev-util/atom-shell:0/21
|| ( net-libs/nodejs[npm] net-libs/iojs[npm] )
media-fonts/inconsolata
"
RDEPEND="${DEPEND}"
QA_PRESTRIPPED="/usr/share/atom/resources/app/node_modules/symbols-view/vendor/ctags-linux"
pkg_setup() {
python-any-r1_pkg_setup
npm config set python $PYTHON
}
src_unpack() {
git-r3_src_unpack
}
src_prepare() {
# Skip atom-shell & atom-shell-chromedriver download
sed -i -e "s/defaultTasks = \['download-atom-shell', 'download-atom-shell-chromedriver', /defaultTasks = [/g" \
./build/Gruntfile.coffee \
|| die "Failed to fix Gruntfile"
# Skip atom-shell copy
epatch "${FILESDIR}/0002-skip-atom-shell-copy.patch"
# Fix atom location guessing
sed -i -e 's/ATOM_PATH="$USR_DIRECTORY\/share\/atom/ATOM_PATH="$USR_DIRECTORY\/../g' \
./atom.sh \
|| die "Fail fixing atom-shell directory"
# Make bootstrap process more verbose
sed -i -e 's@node script/bootstrap@node script/bootstrap --no-quiet@g' \
./script/build \
|| die "Fail fixing verbosity of script/build"
}
src_compile() {
./script/build --verbose --build-dir "${T}" || die "Failed to compile"
"${T}/Atom/resources/app/apm/bin/apm" rebuild || die "Failed to rebuild native module"
# Setup python path to builtin npm
echo "python = $PYTHON" >> "${T}/Atom/resources/app/apm/.apmrc"
}
src_install() {
into /usr
insinto /usr/share/applications
insinto /usr/share/${PN}/resources/app
exeinto /usr/bin
cd "${T}/Atom/resources/app"
doicon resources/atom.png
dodoc LICENSE.md
# Installs everything in Atom/resources/app
doins -r .
# Fixes permissions
fperms +x /usr/share/${PN}/resources/app/atom.sh
fperms +x /usr/share/${PN}/resources/app/apm/bin/apm
fperms +x /usr/share/${PN}/resources/app/apm/bin/node
fperms +x /usr/share/${PN}/resources/app/apm/node_modules/npm/bin/node-gyp-bin/node-gyp
# Symlinking to /usr/bin
dosym ../share/${PN}/resources/app/atom.sh /usr/bin/atom
dosym ../share/${PN}/resources/app/apm/bin/apm /usr/bin/apm
make_desktop_entry "/usr/bin/atom %U" "Atom" "atom" "GNOME;GTK;Utility;TextEditor;Development;" "MimeType=text/plain;\nStartupNotify=true\nStartupWMClass=Atom"
}

View file

@ -1,110 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit git-r3 flag-o-matic python-any-r1 eutils
DESCRIPTION="A hackable text editor for the 21st Century"
HOMEPAGE="https://atom.io"
SRC_URI=""
EGIT_REPO_URI="git://github.com/atom/atom"
LICENSE="MIT"
SLOT="0"
if [[ ${PV} == *9999 ]];then
KEYWORDS=""
else
KEYWORDS="~amd64"
EGIT_COMMIT="v${PV}"
fi
IUSE=""
DEPEND="
${PYTHON_DEPS}
dev-util/atom-shell:0/22
|| ( net-libs/nodejs[npm] net-libs/iojs[npm] )
media-fonts/inconsolata
"
RDEPEND="${DEPEND}"
QA_PRESTRIPPED="
/usr/share/atom/resources/app.asar.unpacked/node_modules/symbols-view/vendor/ctags-linux
"
pkg_setup() {
python-any-r1_pkg_setup
npm config set python $PYTHON
}
src_unpack() {
git-r3_src_unpack
}
src_prepare() {
# Skip atom-shell & atom-shell-chromedriver download
sed -i -e "s/defaultTasks = \['download-atom-shell', 'download-atom-shell-chromedriver', /defaultTasks = [/g" \
./build/Gruntfile.coffee \
|| die "Failed to fix Gruntfile"
# Skip atom-shell copy
epatch "${FILESDIR}/0002-skip-atom-shell-copy.patch"
# Fix atom location guessing
sed -i -e 's/ATOM_PATH="$USR_DIRECTORY\/share\/atom/ATOM_PATH="$USR_DIRECTORY\/../g' \
./atom.sh \
|| die "Fail fixing atom-shell directory"
# Make bootstrap process more verbose
sed -i -e 's@node script/bootstrap@node script/bootstrap --no-quiet@g' \
./script/build \
|| die "Fail fixing verbosity of script/build"
}
src_compile() {
./script/build --verbose --build-dir "${T}" || die "Failed to compile"
"${T}/Atom/resources/app/apm/bin/apm" rebuild || die "Failed to rebuild native module"
# Setup python path to builtin npm
echo "python = $PYTHON" >> "${T}/Atom/resources/app/apm/.apmrc"
}
src_install() {
into /usr
insinto /usr/share/applications
insinto /usr/share/${PN}/resources
exeinto /usr/bin
cd "${S}/resources"
doicon atom.png
cd "${T}/Atom/resources"
dodoc LICENSE.md
# Installs everything in Atom/resources/app
doins -r .
# Fixes permissions
fperms +x /usr/share/${PN}/resources/app/atom.sh
fperms +x /usr/share/${PN}/resources/app/apm/bin/apm
fperms +x /usr/share/${PN}/resources/app/apm/bin/node
fperms +x /usr/share/${PN}/resources/app/apm/node_modules/npm/bin/node-gyp-bin/node-gyp
# Symlinking to /usr/bin
dosym ../share/${PN}/resources/app/atom.sh /usr/bin/atom
dosym ../share/${PN}/resources/app/apm/bin/apm /usr/bin/apm
make_desktop_entry "/usr/bin/atom %U" "Atom" "atom" \
"GNOME;GTK;Utility;TextEditor;Development;" \
"GenericName=Text Editor\nMimeType=text/plain;\nStartupNotify=true\nStartupWMClass=Atom"
}

View file

@ -1,107 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit git-r3 flag-o-matic python-any-r1 eutils
DESCRIPTION="A hackable text editor for the 21st Century"
HOMEPAGE="https://atom.io"
SRC_URI=""
EGIT_REPO_URI="git://github.com/atom/atom"
LICENSE="MIT"
SLOT="0"
if [[ ${PV} == *9999 ]];then
KEYWORDS=""
else
KEYWORDS="~amd64"
EGIT_COMMIT="v${PV}"
fi
IUSE=""
DEPEND="
${PYTHON_DEPS}
dev-util/atom-shell:0/22
|| ( net-libs/nodejs[npm] net-libs/iojs[npm] )
media-fonts/inconsolata
"
RDEPEND="${DEPEND}"
QA_PRESTRIPPED="/usr/share/atom/resources/app.asar.unpacked/node_modules/symbols-view/vendor/ctags-linux"
pkg_setup() {
python-any-r1_pkg_setup
npm config set python $PYTHON
}
src_unpack() {
git-r3_src_unpack
}
src_prepare() {
# Skip atom-shell & atom-shell-chromedriver download
sed -i -e "s/defaultTasks = \['download-atom-shell', 'download-atom-shell-chromedriver', /defaultTasks = [/g" \
./build/Gruntfile.coffee \
|| die "Failed to fix Gruntfile"
# Skip atom-shell copy
epatch "${FILESDIR}/0002-skip-atom-shell-copy.patch"
# Fix atom location guessing
sed -i -e 's/ATOM_PATH="$USR_DIRECTORY\/share\/atom/ATOM_PATH="$USR_DIRECTORY\/../g' \
./atom.sh \
|| die "Fail fixing atom-shell directory"
# Make bootstrap process more verbose
sed -i -e 's@node script/bootstrap@node script/bootstrap --no-quiet@g' \
./script/build \
|| die "Fail fixing verbosity of script/build"
}
src_compile() {
./script/build --verbose --build-dir "${T}" || die "Failed to compile"
"${T}/Atom/resources/app/apm/bin/apm" rebuild || die "Failed to rebuild native module"
# Setup python path to builtin npm
echo "python = $PYTHON" >> "${T}/Atom/resources/app/apm/.apmrc"
}
src_install() {
into /usr
insinto /usr/share/applications
insinto /usr/share/${PN}/resources
exeinto /usr/bin
cd "${S}/resources"
doicon atom.png
cd "${T}/Atom/resources"
dodoc LICENSE.md
# Installs everything in Atom/resources/app
doins -r .
# Fixes permissions
fperms +x /usr/share/${PN}/resources/app/atom.sh
fperms +x /usr/share/${PN}/resources/app/apm/bin/apm
fperms +x /usr/share/${PN}/resources/app/apm/bin/node
fperms +x /usr/share/${PN}/resources/app/apm/node_modules/npm/bin/node-gyp-bin/node-gyp
# Symlinking to /usr/bin
dosym ../share/${PN}/resources/app/atom.sh /usr/bin/atom
dosym ../share/${PN}/resources/app/apm/bin/apm /usr/bin/apm
make_desktop_entry "/usr/bin/atom %U" "Atom" "atom" \
"GNOME;GTK;Utility;TextEditor;Development;" \
"GenericName=Text Editor\nMimeType=text/plain;\nStartupNotify=true\nStartupWMClass=Atom"
}

View file

@ -1,107 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit git-r3 flag-o-matic python-any-r1 eutils
DESCRIPTION="A hackable text editor for the 21st Century"
HOMEPAGE="https://atom.io"
SRC_URI=""
EGIT_REPO_URI="git://github.com/atom/atom"
LICENSE="MIT"
SLOT="0"
if [[ ${PV} == *9999 ]];then
KEYWORDS=""
else
KEYWORDS="~amd64"
EGIT_COMMIT="v${PV}"
fi
IUSE=""
DEPEND="
${PYTHON_DEPS}
dev-util/atom-shell:0/22
|| ( net-libs/nodejs[npm] net-libs/iojs[npm] )
media-fonts/inconsolata
"
RDEPEND="${DEPEND}"
QA_PRESTRIPPED="/usr/share/atom/resources/app.asar.unpacked/node_modules/symbols-view/vendor/ctags-linux"
pkg_setup() {
python-any-r1_pkg_setup
npm config set python $PYTHON
}
src_unpack() {
git-r3_src_unpack
}
src_prepare() {
# Skip atom-shell & atom-shell-chromedriver download
sed -i -e "s/defaultTasks = \['download-atom-shell', 'download-atom-shell-chromedriver', /defaultTasks = [/g" \
./build/Gruntfile.coffee \
|| die "Failed to fix Gruntfile"
# Skip atom-shell copy
epatch "${FILESDIR}/0002-skip-atom-shell-copy.patch"
# Fix atom location guessing
sed -i -e 's/ATOM_PATH="$USR_DIRECTORY\/share\/atom/ATOM_PATH="$USR_DIRECTORY\/../g' \
./atom.sh \
|| die "Fail fixing atom-shell directory"
# Make bootstrap process more verbose
sed -i -e 's@node script/bootstrap@node script/bootstrap --no-quiet@g' \
./script/build \
|| die "Fail fixing verbosity of script/build"
}
src_compile() {
./script/build --verbose --build-dir "${T}" || die "Failed to compile"
"${T}/Atom/resources/app/apm/bin/apm" rebuild || die "Failed to rebuild native module"
# Setup python path to builtin npm
echo "python = $PYTHON" >> "${T}/Atom/resources/app/apm/.apmrc"
}
src_install() {
into /usr
insinto /usr/share/applications
insinto /usr/share/${PN}/resources
exeinto /usr/bin
cd "${S}/resources"
doicon atom.png
cd "${T}/Atom/resources"
dodoc LICENSE.md
# Installs everything in Atom/resources/app
doins -r .
# Fixes permissions
fperms +x /usr/share/${PN}/resources/app/atom.sh
fperms +x /usr/share/${PN}/resources/app/apm/bin/apm
fperms +x /usr/share/${PN}/resources/app/apm/bin/node
fperms +x /usr/share/${PN}/resources/app/apm/node_modules/npm/bin/node-gyp-bin/node-gyp
# Symlinking to /usr/bin
dosym ../share/${PN}/resources/app/atom.sh /usr/bin/atom
dosym ../share/${PN}/resources/app/apm/bin/apm /usr/bin/apm
make_desktop_entry "/usr/bin/atom %U" "Atom" "atom" \
"GNOME;GTK;Utility;TextEditor;Development;" \
"GenericName=Text Editor\nMimeType=text/plain;\nStartupNotify=true\nStartupWMClass=Atom"
}

View file

@ -1,108 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit git-r3 flag-o-matic python-any-r1 eutils
DESCRIPTION="A hackable text editor for the 21st Century"
HOMEPAGE="https://atom.io"
SRC_URI=""
EGIT_REPO_URI="git://github.com/atom/atom"
LICENSE="MIT"
SLOT="0"
if [[ ${PV} == *9999 ]];then
KEYWORDS=""
else
KEYWORDS="~amd64"
EGIT_COMMIT="v${PV}"
fi
IUSE="rebuild"
DEPEND="
${PYTHON_DEPS}
dev-util/atom-shell:0/22
|| ( net-libs/nodejs[npm] net-libs/iojs[npm] )
media-fonts/inconsolata
"
RDEPEND="${DEPEND}"
QA_PRESTRIPPED="/usr/share/atom/resources/app.asar.unpacked/node_modules/symbols-view/vendor/ctags-linux"
pkg_setup() {
python-any-r1_pkg_setup
npm config set python $PYTHON
}
src_unpack() {
git-r3_src_unpack
}
src_prepare() {
# Skip atom-shell & atom-shell-chromedriver download
sed -i -e "s/defaultTasks = \['download-atom-shell', 'download-atom-shell-chromedriver', /defaultTasks = [/g" \
./build/Gruntfile.coffee \
|| die "Failed to fix Gruntfile"
# Skip atom-shell copy
epatch "${FILESDIR}/0002-skip-atom-shell-copy.patch"
# Fix atom location guessing
sed -i -e 's/ATOM_PATH="$USR_DIRECTORY\/share\/atom/ATOM_PATH="$USR_DIRECTORY\/../g' \
./atom.sh \
|| die "Fail fixing atom-shell directory"
# Make bootstrap process more verbose
sed -i -e 's@node script/bootstrap@node script/bootstrap --no-quiet@g' \
./script/build \
|| die "Fail fixing verbosity of script/build"
}
src_compile() {
./script/build --verbose --build-dir "${T}" || die "Failed to compile"
# Setup python path to builtin npm
echo "python = $PYTHON" >> "${T}/Atom/resources/app/apm/.apmrc"
if use rebuild; then
"${T}/Atom/resources/app/apm/bin/apm" rebuild || die "Failed to rebuild native module"
fi
}
src_install() {
into /usr
insinto /usr/share/applications
insinto /usr/share/${PN}/resources
exeinto /usr/bin
cd "${S}/resources"
doicon atom.png
cd "${T}/Atom/resources"
dodoc LICENSE.md
# Installs everything in Atom/resources/app
doins -r .
# Fixes permissions
fperms +x /usr/share/${PN}/resources/app/atom.sh
fperms +x /usr/share/${PN}/resources/app/apm/bin/apm
fperms +x /usr/share/${PN}/resources/app/apm/bin/node
fperms +x /usr/share/${PN}/resources/app/apm/node_modules/npm/bin/node-gyp-bin/node-gyp
# Symlinking to /usr/bin
dosym ../share/${PN}/resources/app/atom.sh /usr/bin/atom
dosym ../share/${PN}/resources/app/apm/bin/apm /usr/bin/apm
make_desktop_entry "/usr/bin/atom %U" "Atom" "atom" \
"GNOME;GTK;Utility;TextEditor;Development;" \
"GenericName=Text Editor\nMimeType=text/plain;\nStartupNotify=true\nStartupWMClass=Atom"
}

View file

@ -1,106 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit git-r3 flag-o-matic python-any-r1 eutils
DESCRIPTION="A hackable text editor for the 21st Century"
HOMEPAGE="https://atom.io"
SRC_URI=""
EGIT_REPO_URI="https://github.com/atom/atom.git"
LICENSE="MIT"
SLOT="0"
if [[ ${PV} == *9999 ]];then
KEYWORDS=""
else
KEYWORDS="~amd64"
EGIT_COMMIT="v${PV}"
fi
IUSE=""
DEPEND="
${PYTHON_DEPS}
dev-util/atom-shell:0/22
|| ( net-libs/nodejs[npm] net-libs/iojs[npm] )
media-fonts/inconsolata
"
RDEPEND="${DEPEND}"
QA_PRESTRIPPED="/usr/share/atom/resources/app.asar.unpacked/node_modules/symbols-view/vendor/ctags-linux"
pkg_setup() {
python-any-r1_pkg_setup
npm config set python $PYTHON
}
src_unpack() {
git-r3_src_unpack
}
src_prepare() {
# Skip atom-shell & atom-shell-chromedriver download
sed -i -e "s/defaultTasks = \['download-atom-shell', 'download-atom-shell-chromedriver', /defaultTasks = [/g" \
./build/Gruntfile.coffee \
|| die "Failed to fix Gruntfile"
# Skip atom-shell copy
epatch "${FILESDIR}/0002-skip-atom-shell-copy.patch"
# Fix atom location guessing
sed -i -e 's/ATOM_PATH="$USR_DIRECTORY\/share\/atom/ATOM_PATH="$USR_DIRECTORY\/../g' \
./atom.sh \
|| die "Fail fixing atom-shell directory"
# Make bootstrap process more verbose
sed -i -e 's@node script/bootstrap@node script/bootstrap --no-quiet@g' \
./script/build \
|| die "Fail fixing verbosity of script/build"
}
src_compile() {
./script/build --verbose --build-dir "${T}" || die "Failed to compile"
"${T}/Atom/resources/app/apm/bin/apm" rebuild || die "Failed to rebuild native module"
# Setup python path to builtin npm
echo "python = $PYTHON" >> "${T}/Atom/resources/app/apm/.apmrc"
}
src_install() {
into /usr
insinto /usr/share/applications
insinto /usr/share/${PN}/resources
exeinto /usr/bin
cd "${S}/resources"
doicon atom.png
cd "${T}/Atom/resources"
dodoc LICENSE.md
# Installs everything in Atom/resources/app
doins -r .
# Fixes permissions
fperms +x /usr/share/${PN}/resources/app/atom.sh
fperms +x /usr/share/${PN}/resources/app/apm/bin/apm
fperms +x /usr/share/${PN}/resources/app/apm/bin/node
fperms +x /usr/share/${PN}/resources/app/apm/node_modules/npm/bin/node-gyp-bin/node-gyp
# Symlinking to /usr/bin
dosym ../share/${PN}/resources/app/atom.sh /usr/bin/atom
dosym ../share/${PN}/resources/app/apm/bin/apm /usr/bin/apm
make_desktop_entry "/usr/bin/atom %U" "Atom" "atom" \
"GNOME;GTK;Utility;TextEditor;Development;" \
"GenericName=Text Editor\nMimeType=text/plain;\nStartupNotify=true\nStartupWMClass=Atom"
}

View file

@ -1,86 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit flag-o-matic python-any-r1 eutils
DESCRIPTION="A hackable text editor for the 21st Century"
HOMEPAGE="https://atom.io"
SRC_URI="https://github.com/atom/atom/archive/v${PV}.tar.gz -> ${PV}.tar.gz"
RESTRICT="mirror"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="
${PYTHON_DEPS}
|| ( net-libs/nodejs[npm] net-libs/iojs[npm] )
media-fonts/inconsolata
gnome-base/gconf
x11-libs/gtk+:2
gnome-base/libgnome-keyring
x11-libs/libnotify
x11-libs/libXtst
dev-libs/nss
media-libs/alsa-lib
"
RDEPEND="${DEPEND}"
pkg_setup() {
python-any-r1_pkg_setup
npm config set python $PYTHON
}
src_prepare(){
epatch "${FILESDIR}/${PN}-python.patch"
sed -i -e "/exception-reporting/d" \
-e "/metrics/d" package.json
sed -e "s/<%= description %>/$pkgdesc/" \
-e "s|<%= installDir %>/share/<%= appFileName %>/atom|/usr/bin/atom|"\
-e "s|<%= iconPath %>|atom|"\
-e "s|<%= appName %>|Atom|" \
resources/linux/atom.desktop.in > resources/linux/Atom.desktop
# Fix atom location guessing
sed -i -e 's/ATOM_PATH="$USR_DIRECTORY\/share\/atom/ATOM_PATH="$USR_DIRECTORY\/../g' \
./atom.sh \
|| die "Fail fixing atom-shell directory"
# Make bootstrap process more verbose
sed -i -e 's@node script/bootstrap@node script/bootstrap --no-quiet@g' \
./script/build \
|| die "Fail fixing verbosity of script/build"
}
src_compile(){
./script/build --verbose --build-dir "${T}" || die "Failed to compile"
"${T}/Atom/resources/app/apm/bin/apm" rebuild || die "Failed to rebuild native module"
echo "python = $PYTHON" >> "${T}/Atom/resources/app/apm/.apmrc"
}
src_install(){
insinto ${EPREFIX}/usr/share/${PN}
doins -r ${T}/Atom/*
insinto ${EPREFIX}/usr/share/applications
newins resources/linux/Atom.desktop atom.desktop
insinto ${EPREFIX}/usr/share/pixmaps
newins resources/app-icons/stable/png/128.png atom.png
insinto ${EPREFIX}/usr/share/licenses/${PN}
doins LICENSE.md
# Fixes permissions
fperms +x ${EPREFIX}/usr/share/${PN}/${PN}
fperms +x ${EPREFIX}/usr/share/${PN}/libgcrypt.so.11
fperms +x ${EPREFIX}/usr/share/${PN}/libnotify.so.4
fperms +x ${EPREFIX}/usr/share/${PN}/resources/app/atom.sh
fperms +x ${EPREFIX}/usr/share/${PN}/resources/app/apm/bin/apm
fperms +x ${EPREFIX}/usr/share/${PN}/resources/app/apm/bin/node
fperms +x ${EPREFIX}/usr/share/${PN}/resources/app/apm/node_modules/npm/bin/node-gyp-bin/node-gyp
# Symlinking to /usr/bin
dosym ${EPREFIX}/usr/share/${PN}/resources/app/atom.sh /usr/bin/atom
dosym ${EPREFIX}/usr/share/${PN}/resources/app/apm/bin/apm /usr/bin/apm
}

View file

@ -1,14 +0,0 @@
diff --git a/build/tasks/build-task.coffee b/build/tasks/build-task.coffee
index c9964b4..74d8881 100644
--- a/build/tasks/build-task.coffee
+++ b/build/tasks/build-task.coffee
@@ -15,8 +15,6 @@ module.exports = (grunt) ->
if process.platform is 'darwin'
cp 'atom-shell/Atom.app', shellAppDir, filter: /default_app/
- else
- cp 'atom-shell', shellAppDir, filter: /default_app/
mkdir appDir

View file

@ -1,11 +0,0 @@
--- ~atom.sh 2015-10-30 11:41:20.090417736 +0100
+++ atom.sh 2015-10-30 11:42:19.707553644 +0100
@@ -92,6 +92,7 @@
fi
ATOM_HOME="${ATOM_HOME:-$HOME/.atom}"
+ export PYTHON=python2
mkdir -p "$ATOM_HOME"
: ${TMPDIR:=/tmp}

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>aegypius@github.com</email>
<name>aegypius</name>
</maintainer>
</pkgmetadata>

View file

@ -1,3 +0,0 @@
DIST granite-0.4.1.tar.xz 303248 SHA256 8bb411523e6cd5685c928dbfe08893892189cedf9fad5f537aa76182032cf09c SHA512 f07ba2e4dd130b03cf3c0f29cb176bcd5adfb19c02b4cf25c8a11d2ec2ebe178a54f9e2de9300f8075066712b2154a0529498355433f259041aa4e36c662c869 WHIRLPOOL bb854f8c58685c1475d2f19c124a972baeefc87614b9f0f868e2327aa99affeaa1342ca8bcf8551b4c6c2fd47f66e2456ebbdac20d617bdeb9c7a0661d859721
EBUILD granite-0.4.1.ebuild 1122 SHA256 2b6b961195b39a0e730b5b0e22ad3c03e25d41f3d70ddcd47615aa6872f3bd89 SHA512 99beb55b3326c697052c40a9570b1f988a2c78973adc74ba33ac58067d25a3de344234ea4472472450bd468828e940ce7f5f58af9e5e2e89c4832baa73daa132 WHIRLPOOL 245a5d505ba009e0554b21a7fe1d0aecfdc4151de1e1157ede414584f76fc07bdc82f2b986492a5ae0bbabc2b8cf9fe192b96113fe9fbabab44fcca6e1d60c74
MISC metadata.xml 214 SHA256 922fd4048dade8049d8a795670d3528355af05c2caf6b808fddce9e569151059 SHA512 bec672c74ddfb91f6939258681767ad87123c2e9c750a2166a101e2a2326619625c92c53a6516e7b4af642194c3b59be1cbe6e952c814768912b9222fc2673a2 WHIRLPOOL 49a0feacecae5648b989013fd730f1b6d9c257d996ae09affa52a66c3a52b6690dd15764b58b88e44f6a2ff01e03b200cc8aad22de0e3ec8dbc694ade3bb7989

View file

@ -1,60 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
VALA_MIN_API_VERSION="0.24"
inherit cmake-utils gnome2-utils multilib vala versionator
DESCRIPTION="A development library for elementary development"
HOMEPAGE="https://launchpad.net/granite"
SRC_URI="https://launchpad.net/${PN}/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.xz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
RDEPEND="
>=dev-libs/glib-2.32:2
dev-libs/gobject-introspection:=
dev-libs/libgee:0.8[introspection]
>=x11-libs/gtk+-3.11.6:3
"
DEPEND="${RDEPEND}
$(vala_depend)
sys-devel/gettext
virtual/pkgconfig
"
DOCS=( AUTHORS )
src_prepare() {
vala_src_prepare
sed -i -e "/NAMES/s:valac:${VALAC}:" cmake/FindVala.cmake || die
cmake-utils_src_prepare
}
src_configure() {
mycmakeargs=(
-DLIB_INSTALL_DIR=$(get_libdir)
)
cmake-utils_src_configure
}
src_install() {
HTML_DOCS=( doc/. )
cmake-utils_src_install
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

View file

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="launchpad">granite</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1,5 +0,0 @@
AUX 0001-fix-atom-shell-linking.patch 539 SHA256 2a3ebdf366b6f617cd1d15d198fc889e115af34312725223e73d53a440712961 SHA512 c81af4a4e440588c1a48814e25d5558d4927fa5113844b7fed2c2fd0222ec9f6c904930c6fd168c4b45c1fd0031664c32b4de43f23f59a2de0a9d6cab71588a1 WHIRLPOOL 030f24d797f0c1b94909b5d40319941cff6a69af99a2fbbe85f0c6b47ea0346406b8641faa4f8cdc60b89c4749856b35a83db67a6077e17dbd64033a4334b1c9
AUX 0002-fix-brightray-linking.patch 888 SHA256 6a3e551942059db631d439b9ea5210dda2c0c034296b1fcc190b2b7b3c8f231a SHA512 a965f1fbeec418ba16437f93fbe0937b3f3150e67945e129f01d2dc367e8c6c0e8380f6cb3581f085ad510f336c2f4eadba5d2183682217ec30211540189caec WHIRLPOOL 45dd54119e5a294834d1cd517c83ed5fcb12e042998bf22ac94162ca0ced37685edb5802b667dafb5670edc27dea5125948218a1441cd0d6e5e611ac503a7224
EBUILD atom-shell-0.21.3.ebuild 2309 SHA256 e05e98db6ad431018f33a143f0f7828b556faca3674a6b9e11e95eabf1b08a75 SHA512 4a0c00084d57def4a62b6f40509e62a1d30106575af2cf3bd3c468c01835756eba9d750ab22fff77646b71c305e57a6402ef4eecd1f713595bd8111d3f163cae WHIRLPOOL 890a15d9d8a78694898345a9bcd77bcffa301b3db7cec07fc12719c6af1fbbe6e5557a864679131fa55fdb2e1098230a19616628a61731e527586b4215ebb60f
EBUILD atom-shell-0.22.3-r2.ebuild 2384 SHA256 e0ae9dfa04427478e63a52c42efcc7d135235566d188733a50f362d90cd0bb69 SHA512 c0412255cd8e552ec7e74702415f1df653dedb73dec0b45af3cb0f3fcf55400c41455078f6d43f071f122fad26449f140c6724af0a67881101edde767a838f07 WHIRLPOOL da8bbe5f33ae226afad494d1e4c014ac9a6ea81faf993f8faea61df822901c72eb5ae0051d362c90e6e8fa9708f8064530381c4d9919bb71efd546916f4476a2
MISC metadata.xml 229 SHA256 49bb8cd6398798946a34277c6d2e012a6ae6370c2af278e0ef7f08bb95efd8b1 SHA512 d6173592dc3414e5bb0ca4bbd6cab74fecf77f95d3bef226ae5fd3ab584dd4a1fa32d58d7493d9a41504f2ff2903a975da99861bc02ef11980689d7943e9203b WHIRLPOOL 8ae331b2041b5ec3dc730ae03bd266e89ee7de52a7d1d22d7cac94e6934c013854e9100340f7175e4ec6afdbc611213c46048c48d5268d2219f27c27ee4975da

View file

@ -1,116 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit git-r3 flag-o-matic python-any-r1
DESCRIPTION="Cross-platform desktop application shell"
HOMEPAGE="https://github.com/atom/atom-shell"
SRC_URI=""
EGIT_REPO_URI="git://github.com/atom/atom-shell"
LICENSE="MIT"
SLOT="0/21"
if [[ ${PV} == *9999 ]];then
KEYWORDS=""
else
KEYWORDS="~amd64"
EGIT_COMMIT="v${PV}"
fi
IUSE="debug"
DEPEND="
${PYTHON_DEPS}
sys-devel/llvm:0/3.5[clang]
dev-lang/python:2.7
net-libs/nodejs[npm]
x11-libs/gtk+:2
x11-libs/libnotify
gnome-base/libgnome-keyring
dev-libs/nss
dev-libs/nspr
gnome-base/gconf
media-libs/alsa-lib
net-print/cups
sys-libs/libcap
x11-libs/libXtst
x11-libs/pango
dev-util/ninja
"
RDEPEND="${DEPEND}
!<app-editors/atom-0.120.0
"
QA_PRESTRIPPED="
/usr/share/atom/libffmpegsumo.so
/usr/share/atom/libchromiumcontent.so
"
src_unpack() {
git-r3_src_unpack
}
pkg_setup() {
python-any-r1_pkg_setup
# Update npm config to use python 2
npm config set python $PYTHON
}
src_prepare() {
einfo "Bootstrap atom-shell source"
# Fix util.execute function to be more verbose
sed -i -e 's/def execute(argv):/def execute(argv):\n print " - bootstrap: " + " ".join(argv)/g' \
./script/lib/util.py \
|| die "Failed to sed lib/util.py"
# Bootstrap
./script/bootstrap.py \
|| die "bootstrap failed"
# Fix libudev.so.0 link
sed -i -e 's/libudev.so.0/libudev.so.1/g' \
./vendor/brightray/vendor/download/libchromiumcontent/Release/libchromiumcontent.so \
|| die "libudev fix failed"
# Make every subprocess calls fatal
sed -i -e 's/subprocess.call(/subprocess.check_call(/g' \
./script/build.py \
|| die "build fix failed"
# Update ninja files
./script/update.py || die "update failed"
}
src_compile() {
OUT=out/$(usex debug Debug Release)
./script/build.py --configuration $(usex debug Debug Release) || die "Compilation failed"
echo "v$PV" > "${OUT}/version"
cp LICENSE "$OUT"
}
src_install() {
into /usr/share/atom
insinto /usr/share/atom
exeinto /usr/share/atom
cd "${OUT}"
doexe atom libchromiumcontent.so libffmpegsumo.so
doins -r resources
doins -r locales
doins version
doins LICENSE
doins icudtl.dat
doins content_shell.pak
}

View file

@ -1,117 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit git-r3 flag-o-matic python-any-r1
DESCRIPTION="Cross-platform desktop application shell"
HOMEPAGE="https://github.com/atom/atom-shell"
SRC_URI=""
EGIT_REPO_URI="git://github.com/atom/atom-shell"
LICENSE="MIT"
SLOT="0/22"
if [[ ${PV} == *9999 ]];then
KEYWORDS=""
else
KEYWORDS="~amd64"
EGIT_COMMIT="v${PV}"
fi
IUSE="debug"
DEPEND="
${PYTHON_DEPS}
>=sys-devel/llvm-3.5.0[clang]
dev-lang/python:2.7
|| ( net-libs/nodejs[npm] net-libs/iojs[npm] )
x11-libs/gtk+:2
x11-libs/libnotify
gnome-base/libgnome-keyring
dev-libs/nss
dev-libs/nspr
gnome-base/gconf
media-libs/alsa-lib
net-print/cups
sys-libs/libcap
x11-libs/libXtst
x11-libs/pango
dev-util/ninja
"
RDEPEND="${DEPEND}
!<app-editors/atom-0.120.0
"
QA_PRESTRIPPED="
/usr/share/atom/libffmpegsumo.so
/usr/share/atom/libchromiumcontent.so
"
src_unpack() {
git-r3_src_unpack
}
pkg_setup() {
python-any-r1_pkg_setup
# Update npm config to use python 2
npm config set python $PYTHON
}
src_prepare() {
einfo "Bootstrap atom-shell source"
# Fix util.execute function to be more verbose
sed -i -e 's/def execute(argv):/def execute(argv):\n print " - bootstrap: " + " ".join(argv)/g' \
./script/lib/util.py \
|| die "Failed to sed lib/util.py"
# Bootstrap
./script/bootstrap.py || die "bootstrap failed"
# Fix libudev.so.0 link
sed -i -e 's/libudev.so.0/libudev.so.1/g' \
./vendor/brightray/vendor/download/libchromiumcontent/Release/libchromiumcontent.so \
|| die "libudev fix failed"
# Make every subprocess calls fatal
sed -i -e 's/subprocess.call(/subprocess.check_call(/g' \
./script/build.py \
|| die "build fix failed"
# Update ninja files
./script/update.py || die "update failed"
}
src_compile() {
OUT=out/$(usex debug Debug Release)
./script/build.py --configuration $(usex debug Debug Release) || die "Compilation failed"
echo "v$PV" > "${OUT}/version"
cp LICENSE "$OUT"
}
src_install() {
into /usr/share/atom
insinto /usr/share/atom
exeinto /usr/share/atom
cd "${OUT}"
doexe atom libchromiumcontent.so libffmpegsumo.so
doins -r resources
doins -r locales
doins version
doins LICENSE
doins icudtl.dat
doins content_shell.pak
doins natives_blob.bin
doins snapshot_blob.bin
}

View file

@ -1,15 +0,0 @@
diff --git a/atom.gyp b/atom.gyp
index 9805db8..ab27cb7 100644
--- a/atom.gyp
+++ b/atom.gyp
@@ -587,10 +587,6 @@
'-rpath \$$ORIGIN',
# Make native module dynamic loading work.
'-rdynamic',
- '<!@(pkg-config --libs-only-L --libs-only-other dbus-1 x11 xrandr xext gconf-2.0)',
- ],
- 'libraries': [
- '<!@(pkg-config --libs-only-l dbus-1 x11 xrandr xext gconf-2.0)',
],
},
# Required settings of using breakpad.

View file

@ -1,20 +0,0 @@
diff --git a/vendor/brightray/brightray.gyp b/vendor/brightray/brightray.gyp
index c00db15..dbcfa3c 100644
--- a/vendor/brightray/brightray.gyp
+++ b/vendor/brightray/brightray.gyp
@@ -101,11 +101,14 @@
'-fno-rtti',
],
'link_settings': {
+ 'ld-flags': [
+ '<!@(pkg-config --libs-only-L --libs-only-other gtk+-2.0 libnotify dbus-1 x11 xrandr xext gconf-2.0)',
+ ],
'libraries': [
'<(brightray_source_root)/<(libchromiumcontent_library_dir)/libchromiumcontent.so',
'<(brightray_source_root)/<(libchromiumcontent_library_dir)/libchromiumviews.a',
'-lpthread',
- '<!@(pkg-config --libs gtk+-2.0 libnotify)',
+ '<!@(pkg-config --libs-only-l gtk+-2.0 libnotify dbus-1 x11 xrandr xext gconf-2.0)',
],
},
}],

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>aegypius@github.com</email>
<name>aegypius</name>
</maintainer>
</pkgmetadata>

View file

@ -1,5 +0,0 @@
AUX teamspeak3 258 BLAKE2B a70cae413c2392b601f69f9ab4196c06b711beb35822be9cb9621325472fef7caea06bee183f6b73f1d4cb8122be15712ba53dd3b148f6bc5ddd5a98ab7f108f SHA512 b587b3991e927922854f155ac61e8d923a6b84a1da88a040277d670203be7dc11b5fbf79508d3894e94a2686da1758781b158c7598c8a61b151798c6a7b1880e
DIST TeamSpeak3-Client-linux_amd64-3.1.8.run 76052606 BLAKE2B 7d69c964b4d5adf2fd566fb6a0245e80cf93ca8f6a281ba41162fa87e23e9b072c4a2f73f7ffc7cf6d8050dc98bb62f1d735c7a9d04ea023e7834db320af04df SHA512 a3bb7ec87995ef61de3b010c3c125b6f1c05fc456966e7ac95b872a97cebcd2235204cd3d0bb9f9d32f66ae3b773467075f8e48650553541771b4216fbc5db89
DIST TeamSpeak3-Client-linux_x86-3.1.8.run 75780927 BLAKE2B 1de77d23de56bf9530ae2eb124c4b6f1466a48d567ed0d37eaedbf26f7eb84cdb0822f92db9c0665d094b82022b436ec9f2f01ebcd92f3f604af16a8db2b0fc9 SHA512 b6fa5a9bc48cc71834b12b39f8746085419359875d00a07c238938e00c7bd837e6eb0da756c09593536a7036f5b2bc2ac43eb3c6a33bf5e797c38ff93bb5a7b8
EBUILD teamspeak-client-bin-3.1.8.ebuild 2750 BLAKE2B c273df08df81386a84106b5245de619fb5259fb3fbae2e57193d2a4941736c1218ce96497f38a95e186bf1de707d3304078e95228a4a10b689492197fe3c6a33 SHA512 d45269a58d7588f71e56ee9a2c4e5c1744ba68ae49fe9752d7db145c27f852133540bf8b8610149aff847e0a83a513d926586094733bc646a6bbcbe0b0e3c10b
MISC metadata.xml 322 BLAKE2B f0a2c2121f7fe670baeef2f1c1c01e8339c45ddbcfcd4864bb8ff60934ca73bc3336184adce8e79449a2c1fe326e3a6ba9fb1df0d6a224c6d9599e4170e67f2b SHA512 38e2e61efda46569f53464bcf6a2ced93a3a9a7e1345e74b5f458d393ec0a7b1ee9d06b265cc68260654cfc20e7b5701f123589abdf7b8ad8bcd908f8e3c2294

View file

@ -1,10 +0,0 @@
#! /bin/sh
BASEDIR="/opt/teamspeak3-client"
export LD_LIBRARY_PATH="${BASEDIR}${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"
# work around DT_RPATH (.) security issue by chdir'ing into expected $LD_LIBRARY_PATH
cd "${BASEDIR}"
exec "${BASEDIR}/ts3client" "$@"

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ischluff@mailbox.org</email>
<name>Anton Schubert</name>
</maintainer>
<use>
<flag name="system-openssl">Use system OpenSSL.</flag>
</use>
</pkgmetadata>

View file

@ -1,97 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils unpacker multilib
DESCRIPTION="TeamSpeak Client - Voice Communication Software"
HOMEPAGE="http://www.teamspeak.com/"
SRC_URI="
amd64? ( http://teamspeak.gameserver.gamed.de/ts3/releases/${PV}/TeamSpeak3-Client-linux_amd64-${PV}.run )
x86? ( http://teamspeak.gameserver.gamed.de/ts3/releases/${PV}/TeamSpeak3-Client-linux_x86-${PV}.run )"
LICENSE="teamspeak3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="alsa pulseaudio +system-openssl"
REQUIRED_USE="|| ( alsa pulseaudio )"
RDEPEND="
dev-libs/quazip[-qt4,qt5]
>=dev-qt/qtcore-5.6:5
>=dev-qt/qtgui-5.6:5[accessibility,xcb,dbus]
>=dev-qt/qtnetwork-5.6:5
>=dev-qt/qtsql-5.6:5[sqlite]
>=dev-qt/qtwidgets-5.6:5
>=dev-qt/qtwebchannel-5.6:5
>=dev-qt/qtwebengine-5.6:5[geolocation,widgets]
>=dev-qt/qtdeclarative-5.6:5
system-openssl? (
>=dev-libs/openssl-1.0.2k:0
!>=dev-libs/openssl-1.1
)
sys-libs/glibc
sys-libs/zlib
alsa? ( media-libs/alsa-lib )
pulseaudio? ( media-sound/pulseaudio )"
RESTRICT="mirror strip"
S="${WORKDIR}"
src_prepare() {
# Remove the qt-libraries as they just cause trouble with the system's Qt, see bug #328807.
rm libQt* || die "Couldn't remove bundled Qt libraries."
rm -r platforms sqldrivers qt.conf qtwebengine_locales xcbglintegrations || die "Couldn't remove bundle Qt files."
# Remove unwanted soundbackends.
if ! use alsa ; then
rm soundbackends/libalsa* || die
fi
if ! use pulseaudio ; then
rm soundbackends/libpulseaudio* || die
fi
# Remove quazip
rm libquazip.so || die
# Remove libudev (previously needed for libQt5XcbQpa)
rm libudev.so.0 || die
# Remove libsrtp and libsnappy (previously needed for libQt5WebEngineCore and libQt5WebEngineWidgets)
rm libsrtp.so.0 libsnappy.so.1 || die
# Replace QtWebEngineProcess with a link to our own version.
# See src_install.
rm QtWebEngineProcess || die
if use system-openssl; then
rm libssl.so.1.0.0 libcrypto.so.1.0.0 || die
fi
# Rename the tsclient to its shorter version, required by the teamspeak3 script we install.
mv ts3client_linux_* ts3client || die "Couldn't rename ts3client to its shorter version."
default
}
src_install() {
insinto /opt/teamspeak3-client
doins -r *
fperms +x /opt/teamspeak3-client/ts3client
dobin "${FILESDIR}/teamspeak3"
make_desktop_entry teamspeak3 TeamSpeak3 \
"/opt/teamspeak3-client/pluginsdk/docs/client_html/images/logo.png" \
Network
# Might not work if this is on a separate partition and that partition is not mounted,
# but there is nothing we can do in this situation.
dosym /usr/$(get_libdir)/qt5/libexec/QtWebEngineProcess /opt/teamspeak3-client/QtWebEngineProcess || die
}