Skip to content

Commit

Permalink
kde-misc/plasma-applet-window-title: new package
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com>
Bug: https://bugs.gentoo.org/703298
  • Loading branch information
fedeliallalinea committed Dec 24, 2019
1 parent 0458951 commit 7c7c1d6
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 0 deletions.
1 change: 1 addition & 0 deletions kde-misc/plasma-applet-window-title/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST plasma-applet-window-title-0.5.2.tar.gz 20031 BLAKE2B 7e51cd930c3fb4663dbecba0b06d7ac421565acd91830aad3df53d7884b82b04f29a0d67d44545463c408e0c666747a41d1489fb75f93634b95169d402f37a2d SHA512 4183ed614263156709cdf9cd8f581782dbf3b53734783701c69b6a7f125a1a2f65488caded801708299a143ac54b5412caa8fede826a7188f3019ff7901885d4
12 changes: 12 additions & 0 deletions kde-misc/plasma-applet-window-title/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>fedeliallalinea@gmail.com</email>
<name>Marco Genasci</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

MY_PN="${PN/plasma-/}"

if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/psifidotos/${MY_PN}"
else
SRC_URI="https://github.com/psifidotos/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${MY_PN}-${PV}"
fi

DESCRIPTION="Plasma 5 applet that shows the application title and icon for active window"
HOMEPAGE="https://github.com/psifidotos/applet-window-title"

LICENSE="GPL-2+"
SLOT="0"
IUSE=""

DEPEND="
kde-frameworks/kdeclarative:5
kde-plasma/plasma-workspace:5
"
RDEPEND="${DEPEND}"

DOCS=( CHANGELOG.md LICENSE README.md )

src_install() {
default
insinto /usr/share/plasma/plasmoids/org.kde.windowtitle
doins metadata.desktop
doins -r contents
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

MY_PN="${PN/plasma-/}"

if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/psifidotos/${MY_PN}"
else
SRC_URI="https://github.com/psifidotos/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${MY_PN}-${PV}"
fi

DESCRIPTION="Plasma 5 applet that shows the application title and icon for active window"
HOMEPAGE="https://github.com/psifidotos/applet-window-title"

LICENSE="GPL-2+"
SLOT="0"
IUSE=""

DEPEND="
kde-frameworks/kdeclarative:5
kde-plasma/plasma-workspace:5
"
RDEPEND="${DEPEND}"

DOCS=( CHANGELOG.md LICENSE README.md )

src_install() {
default
insinto /usr/share/plasma/plasmoids/org.kde.windowtitle
doins metadata.desktop
doins -r contents
}

0 comments on commit 7c7c1d6

Please sign in to comment.