Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
#18: bump deadbeef-fb to last snapshot (20170214) with >=3.22 gtk sup…
Browse files Browse the repository at this point in the history
…port
  • Loading branch information
damex committed Feb 9, 2018
1 parent f74c594 commit 5dd2595
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-plugins/deadbeef-fb/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
DIST deadbeef-fb-0.87_p20160106.tar.gz 68354 SHA256 b108004b3bdd966c393f75eddfd24f89fcd5aa5cad554b6daa70256b4c2639a1 SHA512 6a744a7765558ce71c63d1aab81b4d0bcc736bb13a3f0e8c14aa7fbbf783026f28875bc382f41cf3dd77db685346d5f4dc182080fa0cde3ee72d3a74e88a7371 WHIRLPOOL caddf59a820144385ff75f1ed3fcf54c62806cf0fec4e8c4e43b92aa80ab5b1ccb13d4c33a856b5aeeac0c5011a1c4fe24bb71b0cf474c156983dbfadebded57
DIST deadbeef-fb-0.92_p20160216.tar.gz 70791 SHA256 7c000eb2ae5d1c679d405b44bc247894a70e2bc6bdd5ce1a3eacd6770b19b52a SHA512 b158284a9b3814707ab15ecebe95f6ba024f22837a03598ae18240aedba85065e36c44f5b43d134849bf0016a953dcdb9bc2426dc8cb1d3bb26c6b61b3203e93 WHIRLPOOL 4ee022c1c7bcfbfd0878e5066d6567793b90dea32026c96c6efe533b381613d25d4bdfa49bbe913fc1a40247a8d702d58bb050a939df7972c072fd07d927cea0
DIST deadbeef-fb-20170214.tar.gz 71809 SHA256 db8390046d7456c09dae3d42aa7639f8c54cfa0544350f367ef84b72e10aeb9d SHA512 f3aaa387c8d85ff250893b0d07bee17c515cb7ffa174809021d9584fda2d9fac50d7eee70bf26fd7617c7661bb8c2f75a920f5606b9cd6945ce48b4a23357994 WHIRLPOOL fdfeaf335ad471f69165baa02327924b73458a3b89cefac452885f2a8bcd0d2120b15a7b68579e63d4d8a863ee4fa4e5c3024a88433927fdb661790f57f598b4
39 changes: 39 additions & 0 deletions media-plugins/deadbeef-fb/deadbeef-fb-20170214.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="6"

DEADBEEF_GUI="yes"

inherit autotools deadbeef-plugins

GITLAB_COMMIT="47bc3fe0fe151dfbb75f90f9e4d5e9a7affd280a"

DESCRIPTION="DeaDBeeF filebrowser plugin"
HOMEPAGE="https://gitlab.com/zykure/deadbeef-fb"
SRC_URI="https://gitlab.com/zykure/deadbeef-fb/repository/archive.tar.gz?ref=${GITLAB_COMMIT} -> ${P}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"

IUSE+=" debug"

RDEPEND+=" !media-plugins/deadbeef-librarybrowser:0"

DEPEND="${RDEPEND}"

S="${WORKDIR}/deadbeef-fb-${GITLAB_COMMIT}-${GITLAB_COMMIT}"

PATCHES=( -p0 "${FILESDIR}/${PN}-avoid-version-${PV}.patch" )

src_prepare() {
default
eautoreconf
}

src_configure() {
econf --disable-static \
$(use_enable debug) \
$(use_enable gtk2) \
$(use_enable gtk3)
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
--- Makefile.am.orig 2017-12-11 05:18:17.319419283 +0200
+++ Makefile.am 2017-12-11 05:16:37.384425387 +0200
@@ -46,13 +46,13 @@

if HAVE_GTK2
ddb_misc_filebrowser_GTK2_la_SOURCES = $(filebrowser_SOURCES)
-ddb_misc_filebrowser_GTK2_la_LDFLAGS = -module
+ddb_misc_filebrowser_GTK2_la_LDFLAGS = -module -avoid-version
ddb_misc_filebrowser_GTK2_la_LIBADD = $(LDADD) $(GTK2_DEPS_LIBS)
ddb_misc_filebrowser_GTK2_la_CFLAGS = -pipe -std=c99 $(GTK2_DEPS_CFLAGS) $(EXTRA_FLAGS) $(VERSION_FLAGS)
endif
if HAVE_GTK3
ddb_misc_filebrowser_GTK3_la_SOURCES = $(filebrowser_SOURCES)
-ddb_misc_filebrowser_GTK3_la_LDFLAGS = -module
+ddb_misc_filebrowser_GTK3_la_LDFLAGS = -module -avoid-version
ddb_misc_filebrowser_GTK3_la_LIBADD = $(LDADD) $(GTK3_DEPS_LIBS)
ddb_misc_filebrowser_GTK3_la_CFLAGS = -pipe -std=c99 $(GTK3_DEPS_CFLAGS) $(EXTRA_FLAGS) $(VERSION_FLAGS)
endif

0 comments on commit 5dd2595

Please sign in to comment.