summaryrefslogtreecommitdiff
path: root/media-sound/quark
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/quark
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/quark')
-rw-r--r--media-sound/quark/Manifest6
-rw-r--r--media-sound/quark/files/quark-3.24-build.patch107
-rw-r--r--media-sound/quark/metadata.xml11
-rw-r--r--media-sound/quark/quark-3.24.ebuild65
4 files changed, 189 insertions, 0 deletions
diff --git a/media-sound/quark/Manifest b/media-sound/quark/Manifest
new file mode 100644
index 000000000000..cedea1b026fe
--- /dev/null
+++ b/media-sound/quark/Manifest
@@ -0,0 +1,6 @@
+AUX quark-3.24-build.patch 2865 SHA256 5fa4d91b9fec0ea65e96379f5cf9b7a2923a972f2978eb143b47a527beab8156 SHA512 11212f9ff12f192645fc41a7f1cb17e94c649db03dfe46fdbcc7cc2ff3f40826954b603d1b1aedb97f8a5443e7d3a1d9b9103ad2d7eca7fee6ac395ee554e132 WHIRLPOOL 0995ded70e4e25154703f83ef7b210d76eeeb3132e37cb803233f211ad7f2b47c8e1248473580ba16450e3fa97bcdab959cdd95925ea5a9034d92d1a997ba662
+DIST quark-3.24.tar.gz 215417 SHA256 afac7b03082fd581412cf701187a21a4d6f6eea75c207b366f4b1dc939fff04c SHA512 a34a3160ab4cfe976cbabd6b2d94cc21ca263c069c53ad6244ed23674e17bf713dc759af998d4ae74720c91ba5e452e3996408d6ae11305bf581eb9a71876a01 WHIRLPOOL bb90b6087cc48ef7333332b77f183f222a9cc85260a972694f145ad28a0ae80e377d0533d8719bed8d087f2532b52859858755f6426c81d11fa5e46d6c7751da
+EBUILD quark-3.24.ebuild 1379 SHA256 85e96be6e0daa0cf8a600c3c54d9adfa80e6e023f20e99e896e56950c408c87f SHA512 f4544169c56260c373a96684d114cb9e9d71c78e7b873fc79e3d61cd6e271a415adc5cbbb94edc3bd378a315b6d1b4754bc9320c358fd1e5c23e7bd9e985548b WHIRLPOOL fbd1a637074ca919c803f77ab7f16b49df56e107ed4bbe373d41cd1d6b8ccd5f4459991953007d2e71b3789ddd79dd7ad8e9c3418e0b1c0f55f877709aa019c6
+MISC ChangeLog 2858 SHA256 622ecd2709f797e2030d13e1b812fa980475388dd6baa7cbc96dcc580d73c636 SHA512 b5291640b7e52dd694953309282a35405715c2e3fe390d79590a94736a0a839f19a6a2cf0648b60963f32dcafac29e62d1bf501ce990998ec1b59f60ded2a8ea WHIRLPOOL 456323d64f8eda8143498f1b7c3c34a90a04f432e1c73ca8b606499f72968a8e822beebe30f0bbe06fdb0b8e44f8df07ff1e9eaf270f75f7c0588206ccabfe6a
+MISC ChangeLog-2015 2641 SHA256 a3b40f956b269eeb2e3c37eb23d7c3ee7190c52e66aba4717e2cc1b2eb922e2c SHA512 c0786c2ab229d78fbc4bdcf75e154a385c3d0b826010c6cf7cba4c4adced87759203e177676ef5fd015212e29fee4ee47eff83cc4664a921537fb311f1e24357 WHIRLPOOL 51b22b4acc1e43bdbfcbdd28ab11c841b597c9c8db126ecb0d18e333e9769905f4792d5a79ff75ff8841c819beeb7f7445422873bcbbe6121b2385ff9dea007f
+MISC metadata.xml 341 SHA256 84106bee0b9b0834b4c13a5f44abeb653eeb5bcb038be4d437be06a42a5a415d SHA512 acf7dab27e45ec4a03cfc7db8c8728f64830e5b715203f810fc10ad942c1f9b7f1fe149ff8909e842f095bb15334a2665922c2b1430930691e1eec309107abec WHIRLPOOL 209ea596eaecd78888e4433d7b650e55ddcc394e10767bf7c2bcf0db722847a00267f9f3a94e387fa0a2cf97029e69ce316ae0864a3897633db5b07af9dc3580
diff --git a/media-sound/quark/files/quark-3.24-build.patch b/media-sound/quark/files/quark-3.24-build.patch
new file mode 100644
index 000000000000..479af4b11fac
--- /dev/null
+++ b/media-sound/quark/files/quark-3.24-build.patch
@@ -0,0 +1,107 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Thu May 31 13:46:18 UTC 2012
+Subject: build system
+
+fix underlinking ( https://bugs.gentoo.org/show_bug.cgi?id=367859 )
+remove DEPRECATED flags ( https://bugs.gentoo.org/show_bug.cgi?id=387823 )
+fix permissions on schema files
+make icondir modifiable
+
+--- configure.ac
++++ configure.ac
+@@ -41,6 +41,10 @@
+ AC_SUBST(GTHREAD_CFLAGS)
+ AC_SUBST(GTHREAD_LIBS)
+
++PKG_CHECK_MODULES(X11, [x11])
++AC_SUBST(X11_CFLAGS)
++AC_SUBST(X11_LIBS)
++
+ AC_ARG_ENABLE(gconf,
+ [ --disable-gconf disable use of gconf (for embedded targets)],
+ [], [enable_gconf="yes"])
+@@ -64,6 +68,13 @@
+ fi
+ AM_CONDITIONAL(USE_GCONF, test "$enable_gconf" = "yes")
+
++AC_ARG_WITH([icondir],
++ [AC_HELP_STRING([--with-icondir=DIR],
++ [where icon gets installed to (default: datadir/pixmaps)])],
++ [icondir="$withval"],
++ [icondir="$datadir/pixmaps"])
++AC_SUBST(icondir)
++
+ AC_CONFIG_HEADERS([config.h])
+ AC_CONFIG_FILES([
+ Makefile
+--- quark/Makefile.am
++++ quark/Makefile.am
+@@ -1,7 +1,6 @@
+ localedir=$(datadir)/locale
+
+ AM_CPPFLAGS=$(GLIB_CFLAGS) $(GTHREAD_CFLAGS) $(GNOMEVFS_CFLAGS) $(GCONF_CFLAGS) $(XINE_CFLAGS) \
+- -DG_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED \
+ -DLOCALEDIR=\"$(localedir)\"
+
+ bin_PROGRAMS = quark
+@@ -30,7 +29,7 @@
+ gconftool-2 --makefile-install-rule $<
+ endif
+ $(INSTALL) -d $(DESTDIR)$(GCONF_SCHEMA_FILE_DIR)
+- $(INSTALL) $< $(DESTDIR)$(GCONF_SCHEMA_FILE_DIR)
++ $(INSTALL_DATA) $< $(DESTDIR)$(GCONF_SCHEMA_FILE_DIR)
+
+ uninstall-local:
+ $(RM) $(DESTDIR)$(GCONF_SCHEMA_FILE_DIR)/quark.schemas
+--- strange-quark/Makefile.am
++++ strange-quark/Makefile.am
+@@ -6,14 +6,13 @@
+ $(GTK_CFLAGS) \
+ $(GCONF_CFLAGS) \
+ $(GDK_PIXBUF_CFLAGS) \
+- -DG_DISABLE_DEPRECATED \
+ -DG_LOG_DOMAIN=\"strange-quark\" \
+- -DPIXMAPDIR=\"$(pixmapdir)\" \
++ -DPIXMAPDIR=\"$(icondir)\" \
+ -DLOCALEDIR=\"$(localedir)\"
+
+ bin_PROGRAMS = strange-quark
+
+-strange_quark_LDADD = $(GTK_LIBS) $(GCONF_LIBS)
++strange_quark_LDADD = $(GTK_LIBS) $(GCONF_LIBS) $(X11_LIBS)
+ strange_quark_SOURCES = \
+ gettext.h \
+ main.c \
+@@ -43,7 +42,7 @@
+ gconftool-2 --makefile-install-rule $<
+ endif
+ $(INSTALL) -d $(DESTDIR)$(GCONF_SCHEMA_FILE_DIR)
+- $(INSTALL) $< $(DESTDIR)$(GCONF_SCHEMA_FILE_DIR)
++ $(INSTALL_DATA) $< $(DESTDIR)$(GCONF_SCHEMA_FILE_DIR)
+
+ uninstall-local:
+ $(RM) $(DESTDIR)$(GCONF_SCHEMA_FILE_DIR)/strange-quark.schemas
+--- pixmaps/Makefile.am
++++ pixmaps/Makefile.am
+@@ -1,8 +1,5 @@
+-pixmapdir = $(datadir)/pixmaps
+-
+-pixmap_DATA = \
+- quark.png \
+- quark48.png
++icon_DATA = \
++ quark.png
+
+ EXTRA_DIST = \
+ quark.png \
+--- strange-quark/quark.desktop
++++ strange-quark/quark.desktop
+@@ -3,7 +3,7 @@
+ Name=Quark Music Player
+ Comment=Play music from the system tray
+ Exec=strange-quark
+-Icon=quark48.png
++Icon=quark.png
+ Terminal=false
+ Type=Application
+ Categories=Application;AudioVideo;
diff --git a/media-sound/quark/metadata.xml b/media-sound/quark/metadata.xml
new file mode 100644
index 000000000000..5d2ab12cccea
--- /dev/null
+++ b/media-sound/quark/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+ <use>
+ <flag name="gnome">Provides tray-icon and enables gconf support</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-sound/quark/quark-3.24.ebuild b/media-sound/quark/quark-3.24.ebuild
new file mode 100644
index 000000000000..71a2a4351eeb
--- /dev/null
+++ b/media-sound/quark/quark-3.24.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+# I don't want gnome2 eclass
+inherit autotools eutils fdo-mime gnome2-utils
+
+DESCRIPTION="Quark is the Anti-GUI Music Player with a cool Docklet!"
+HOMEPAGE="https://hsgg.github.com/quark/"
+SRC_URI="https://hsgg.github.com/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="gnome"
+
+RDEPEND="dev-libs/glib:2
+ gnome-base/gnome-vfs:2
+ media-libs/xine-lib
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2
+ gnome? ( gnome-base/gconf:2 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS="AUTHORS README"
+
+src_prepare() {
+ # sandbox violations
+ gnome2_environment_reset
+ export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
+
+ # fix underlinking wrt #367859
+ # remove DEPRECATED flags wrt #387823
+ epatch "${FILESDIR}"/${P}-build.patch
+ eautoreconf
+}
+
+src_configure() {
+ # debug switch only provides cflags
+ econf \
+ --disable-debug \
+ --with-icondir=/usr/share/icons/hicolor/48x48/apps \
+ $(use_enable gnome gconf)
+}
+
+pkg_preinst() {
+ use gnome && gnome2_gconf_savelist
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ if use gnome ; then
+ gnome2_gconf_install
+ gnome2_schemas_update
+ fi
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ use gnome && gnome2_schemas_update
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}