1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-01-11 00:44:12 +01:00

Added gtk2 version of easytag

This commit is contained in:
2019-04-15 17:26:02 +02:00
parent 8f8ca2c45c
commit 404716ea2c
6 changed files with 112 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
AUX easytag-2.1.8-desktop.patch 476 BLAKE2B f66ffc053de79bad4e9e61a60fcd4d0afe79470ce915ca29a46740f6b85e6e3785249a5ce76ee4322f41625d4042ffba761e8c2db192dcaeb71053ab04d091a6 SHA512 82bdc8af5958150037e344f90c06384dfca0597e044a7ad24cf8138fde8212af0d4b2448a1f10f7c78a4bf2324fb5618110763c7ad632578744edd7410129f08
AUX easytag-2.1.8-docs.patch 270 BLAKE2B 5f8eb00d9ce7c0b97fe523035de4f8535ba4b4f1e37cc24dd546464253430d3cd14cc56e4b54432528f94c6020ed49126635acb2a11f2fb6bb83ac90f2fad928 SHA512 282f0eda4ea992833c8869040b914505bf079408739727e148f32e800f9b95b412d034f92462030760aaa30224f3241f549eefb6bb6ac07038b089f4974e9bb5
AUX easytag-2.1.8-taglib.patch 398 BLAKE2B 1019cd65b2814ebfa069cbec329e9a389a43d4d5c816b4eeddf4634afeeebbf725c1584cf0887dab7b4092c625e150b2b592ce00fff9d7b20d96ee113bb3fb25 SHA512 eb9c80664c61cf4974b198c4800ffbf5252c5765c1b7069bf442408c89522c86fc272df22d2ac0b1758e0070b4bb2fd1fa9cee8374445d2db34ef37d08386ec2
AUX easytag-2.1.8-werror.patch 547 BLAKE2B 5b3a07bae07084ba9e73660052cb78332d8230a273ec2e1fde01278a08ff777b67fc4561431731870fd8c2f0ccb8b197ce0b56b9d8bce1348aa8c023d80152c7 SHA512 0367944be501f741e75c61872840282fddbd2503b3bc25f5d5f392a9cb05fa451623acc157dad2f3b415af0f6c396aab23f4927306c15fea5f1b10435a200e2c
DIST easytag-2.1.8.tar.xz 2459496 BLAKE2B 4ba27728071a3a87af72a37cd0337d361ae690c42a70690ef935d4a0fdf27904c0928b448f64fac61194e02f18e04ea26c600f65365e8ea7aa4d76128f7a5d82 SHA512 cf5d92902276b8d462c695aaa0d1072684d60cbfc45d07fb2ac7b345907a775b94665612088b33f3272db22d4b4eb78f4a4e36f2caf6e151a08f640841208e48
EBUILD easytag-2.1.8.ebuild 1443 BLAKE2B d28fbf450809d7ab418e9174f19c06edf7a3cfcf11e21d5ddab52f3f91e36240e26e2f3acaded51856eebf9fd2590efdded6a2f407bc78f5ffac4e916c128c97 SHA512 e16f8e13afa0eab9e453ff5a0db26c70cd757bb177669a15eab725f13798142eb5263224bef68c25393e4df8ca646a9052e6599c385b405fa557a0a0c53eecc7

View File

@@ -0,0 +1,59 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils autotools gnome.org xdg-utils
DESCRIPTION="GTK+ utility for editing MP2, MP3, MP4, FLAC, Ogg and other media tags"
HOMEPAGE="https://projects.gnome.org/easytag/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE="flac mp3 mp4 nls speex vorbis wavpack"
RDEPEND=">=x11-libs/gtk+-2.24:2
mp3? (
>=media-libs/id3lib-3.8.3-r7
media-libs/libid3tag
)
flac? (
media-libs/flac
media-libs/libvorbis
)
mp4? ( media-libs/taglib[mp4(+)] )
vorbis? ( media-libs/libvorbis )
wavpack? ( media-sound/wavpack )
speex? (
media-libs/speex
media-libs/libvorbis
)"
DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig
nls? ( sys-devel/gettext )"
src_prepare() {
epatch "${FILESDIR}"/${P}-desktop.patch
epatch "${FILESDIR}"/${P}-werror.patch
epatch "${FILESDIR}"/${P}-taglib.patch
epatch "${FILESDIR}"/${P}-docs.patch
eautoreconf
}
DOCS=( AUTHORS ChangeLog HACKING NEWS README THANKS TODO )
src_configure() {
econf \
$(use_enable nls) \
$(use_enable mp3) \
$(use_enable mp3 id3v23) \
$(use_enable vorbis ogg) \
$(use_enable speex) \
$(use_enable flac) \
$(use_enable mp4) \
$(use_enable wavpack)
}
pkg_postinst() { xdg_desktop_database_update; }
pkg_postrm() { xdg_desktop_database_update; }

View File

@@ -0,0 +1,11 @@
--- easytag.desktop.in
+++ easytag.desktop.in
@@ -6,7 +6,7 @@
Type=Application
Icon=easytag
Categories=GTK;AudioVideo;AudioVideoEditing;
-MimeType=x-directory/normal;inode/directory;audio/x-mp3;audio/x-mpeg;audio/mpeg;application/ogg;audio/x-vorbis+ogg;audio/x-flac;audio/x-musepack;audio/x-ape;
+MimeType=audio/x-mp3;audio/x-mpeg;audio/mpeg;application/ogg;audio/x-vorbis+ogg;audio/x-flac;audio/x-musepack;audio/x-ape;
Exec=easytag %F
Terminal=false
StartupNotify=true

View File

@@ -0,0 +1,14 @@
--- Makefile.am
+++ Makefile.am
@@ -197,11 +197,6 @@
$(AM_V_at)$(POST_UNINSTALL)
test -n "$(DESTDIR)" || $(UPDATE_ICON_CACHE) "$(iconthemedir)"
-dist_doc_DATA = \
- HACKING \
- THANKS \
- TODO
-
dist_noinst_DATA = \
$(desktop_in_files) \
$(easytag_headers) \

View File

@@ -0,0 +1,11 @@
--- easytag-2.1.8/configure.ac
+++ easytag-2.1.8/configure.ac
@@ -202,7 +202,7 @@
TAGLIB_DEPS="taglib_c >= 1.6.0"
AS_IF([test "x$enable_mp4" != "xno"],
[PKG_CHECK_EXISTS([$TAGLIB_DEPS], [have_taglib=yes], [have_taglib=no])],
- [have_wavpack=no])
+ [have_taglib=no])
AS_IF([test "x$have_taglib" != "xno"],
[AC_DEFINE([ENABLE_MP4], [], [Define for taglib MP4 support])],

View File

@@ -0,0 +1,11 @@
--- configure.ac
+++ configure.ac
@@ -239,7 +239,7 @@
AC_MSG_RESULT([$have_ws2])])
dnl Check that the compiler accepts the given warning flags.
-warning_flags="-Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -Werror=declaration-after-statement"
+warning_flags="-Wall -Wstrict-prototypes -Wnested-externs"
realsave_CFLAGS="$CFLAGS"
for option in $warning_flags; do